> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vlenseg.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vlenseg.com/_mcp/server.

# List business requests (admin)

GET https://api.vlenseg.com/api/BusinessRequest/GetRequests

Paged list of the tenant's business requests, as shown on the portal's Business Requests page. Requires `ApiKey` and an admin bearer token.

Filter by signing date with `CustomerSignedFrom` / `CustomerSignedTo` (when the customer signed) and `ServiceProviderSignedFrom` / `ServiceProviderSignedTo` (when the service provider signed).

Reference: https://docs.vlenseg.com/api-reference/vlens-api/business-requests/get-business-request-get-requests

## Authentication

- `ApiKey` header (required) — Static API key issued to your tenant. Required on every request.
- `Authorization` header (bearer token, required) — Admin JWT from /api/credentials/Login. Required for admin operations.

## Servers

- `https://api.vlenseg.com` (Production, default)
- `https://api.vlens.co` (Staging)

## Request

### Query parameters

- `RequestType` (integer, optional)
- `FilterText` (string, optional) — Free-text search.
- `CreatorUserId` (long, optional)
- `CreatedFrom` (datetime, optional) — Created on or after this date.
- `CreatedTo` (datetime, optional) — Created on or before this date.
- `ModifiedFrom` (datetime, optional) — Last modified on or after this date.
- `ModifiedTo` (datetime, optional) — Last modified on or before this date.
- `CustomerSignedFrom` (datetime, optional) — Customer signed on or after this date.
- `CustomerSignedTo` (datetime, optional) — Customer signed on or before this date.
- `ServiceProviderSignedFrom` (datetime, optional) — Service provider signed on or after this date.
- `ServiceProviderSignedTo` (datetime, optional) — Service provider signed on or before this date.
- `RequestStatuses` (list of integer, optional) — One or more request status IDs. See [Request statuses](/e-contracting#request-statuses).
- `ApiKeyIds` (list of integer, optional)
- `IsFlattened` (boolean, optional)
- `Sorting` (string, optional)
- `MaxResultCount` (integer, optional)
- `SkipCount` (integer, optional)

## Response

### 200

A page of business requests.

- `data` (ApiBusinessRequestGetRequestsGetResponsesContentApplicationJsonSchemaData, optional)
- `error_code` (integer, optional, nullable)
- `error_message` (string, optional, nullable)
- `error_descriptions` (list of ApiBusinessRequestGetRequestsGetResponsesContentApplicationJsonSchemaErrorDescriptionsItems, optional, nullable)

## Types

### ApiBusinessRequestGetRequestsGetResponsesContentApplicationJsonSchemaData

- `totalCount` (integer, optional)
- `items` (list of ApiBusinessRequestGetRequestsGetResponsesContentApplicationJsonSchemaDataItemsItems, optional)

### ApiBusinessRequestGetRequestsGetResponsesContentApplicationJsonSchemaErrorDescriptionsItems

### ApiBusinessRequestGetRequestsGetResponsesContentApplicationJsonSchemaDataItemsItems

- `id` (string, optional)
- `idNumber` (string, optional, nullable)
- `requestNumber` (string, optional, nullable)
- `fullName` (string, optional, nullable)
- `requestStatusName` (string, optional, nullable)
- `creationTime` (datetime, optional)
- `lastModificationTime` (datetime, optional, nullable)
- `creatorUserFullName` (string, optional, nullable)
- `businessRequestType` (integer, optional)
- `parentId` (string, optional, nullable)
- `typeName` (string, optional, nullable)
- `contractTypeId` (integer, optional)
- `contractTypeName` (string, optional, nullable)
- `groupedId` (string, optional)
- `children` (list of ApiBusinessRequestGetRequestsGetResponsesContentApplicationJsonSchemaDataItemsItemsChildrenItems, optional) — Child requests grouped under this row.

### ApiBusinessRequestGetRequestsGetResponsesContentApplicationJsonSchemaDataItemsItemsChildrenItems

- `id` (string, optional)
- `idNumber` (string, optional, nullable)
- `requestNumber` (string, optional, nullable)
- `fullName` (string, optional, nullable)
- `requestStatusName` (string, optional, nullable)
- `creationTime` (datetime, optional)
- `lastModificationTime` (datetime, optional, nullable)
- `creatorUserFullName` (string, optional, nullable)
- `businessRequestType` (integer, optional)
- `parentId` (string, optional, nullable)
- `typeName` (string, optional, nullable)
- `contractTypeId` (integer, optional)
- `contractTypeName` (string, optional, nullable)
- `groupedId` (string, optional)

## Examples

**Response**

```json
{
  "data": {
    "totalCount": 1,
    "items": [
      {
        "id": "string",
        "idNumber": "string",
        "requestNumber": "string",
        "fullName": "string",
        "requestStatusName": "string",
        "creationTime": "2024-01-15T09:30:00Z",
        "lastModificationTime": "2024-01-15T09:30:00Z",
        "creatorUserFullName": "string",
        "businessRequestType": 1,
        "parentId": "string",
        "typeName": "string",
        "contractTypeId": 1,
        "contractTypeName": "string",
        "groupedId": "string",
        "children": [
          {
            "id": "string",
            "idNumber": "string",
            "requestNumber": "string",
            "fullName": "string",
            "requestStatusName": "string",
            "creationTime": "2024-01-15T09:30:00Z",
            "lastModificationTime": "2024-01-15T09:30:00Z",
            "creatorUserFullName": "string",
            "businessRequestType": 1,
            "parentId": "string",
            "typeName": "string",
            "contractTypeId": 1,
            "contractTypeName": "string",
            "groupedId": "string"
          }
        ]
      }
    ]
  },
  "error_code": 1,
  "error_message": "string",
  "error_descriptions": [
    {}
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.vlenseg.com/api/BusinessRequest/GetRequests"

headers = {"ApiKey": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.vlenseg.com/api/BusinessRequest/GetRequests';
const options = {method: 'GET', headers: {ApiKey: '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.vlenseg.com/api/BusinessRequest/GetRequests"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("ApiKey", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.vlenseg.com/api/BusinessRequest/GetRequests")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["ApiKey"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.vlenseg.com/api/BusinessRequest/GetRequests")
  .header("ApiKey", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.vlenseg.com/api/BusinessRequest/GetRequests', [
  'headers' => [
    'ApiKey' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.vlenseg.com/api/BusinessRequest/GetRequests");
var request = new RestRequest(Method.GET);
request.AddHeader("ApiKey", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["ApiKey": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.vlenseg.com/api/BusinessRequest/GetRequests")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```