> This page is for BaaS.

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

# Start a biometry capture round

POST https://tenant.api.corpx.com/v1/accreditations/capture/{token}/start

Returns the SDK parameters and a short session token. The app relays the SDK; it does not call the biometry provider.

Reference: https://en.docs.api.corpx.com/baas/referencia/accreditations/start-accreditation-capture

## Request

### Path parameters

- `token` (string, required) — Opaque capture token from the accreditation link or from the issue endpoint.

### Headers

- `X-Tenant-Id` (string, required) — Tenant context used for authorization and routing.
- `Idempotency-Key` (string, optional) — Optional client-generated idempotency token (recommended for safe retries).

## Response

### 200

SDK parameters and a short session token.

- `sessionToken` (string, optional)
- `expiresAt` (string, optional)
- `sdk` (V1AccreditationsCaptureTokenStartPostResponsesContentApplicationJsonSchemaSdk, optional)

## Errors

### 410 Gone Error

Capture link expired.

- `any`

### 413 Content Too Large Error

Body larger than 5 MB.

- `any`

### 429 Too Many Requests Error

Too many capture calls on this link.

- `any`

## Types

### V1AccreditationsCaptureTokenStartPostResponsesContentApplicationJsonSchemaSdk

- `version` (string, optional)
- `key` (string, optional)

## Examples

**Response**

```json
{
  "sessionToken": "eyJraWQiOiJ...redacted",
  "expiresAt": "2026-02-20T08:33:39Z",
  "sdk": {
    "version": "string",
    "key": "db5c2a29-243e-42a2-862b-89737c0213aa"
  }
}
```

**SDK Code**

```python Accreditations_startAccreditationCapture_example
import requests

url = "https://tenant.api.corpx.com/v1/accreditations/capture/token/start"

headers = {"X-Tenant-Id": "X-Tenant-Id"}

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

print(response.json())
```

```javascript Accreditations_startAccreditationCapture_example
const url = 'https://tenant.api.corpx.com/v1/accreditations/capture/token/start';
const options = {method: 'POST', headers: {'X-Tenant-Id': 'X-Tenant-Id'}};

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

```go Accreditations_startAccreditationCapture_example
package main

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

func main() {

	url := "https://tenant.api.corpx.com/v1/accreditations/capture/token/start"

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

	req.Header.Add("X-Tenant-Id", "X-Tenant-Id")

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

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

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

}
```

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

url = URI("https://tenant.api.corpx.com/v1/accreditations/capture/token/start")

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

request = Net::HTTP::Post.new(url)
request["X-Tenant-Id"] = 'X-Tenant-Id'

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

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

HttpResponse<String> response = Unirest.post("https://tenant.api.corpx.com/v1/accreditations/capture/token/start")
  .header("X-Tenant-Id", "X-Tenant-Id")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://tenant.api.corpx.com/v1/accreditations/capture/token/start', [
  'headers' => [
    'X-Tenant-Id' => 'X-Tenant-Id',
  ],
]);

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

```csharp Accreditations_startAccreditationCapture_example
using RestSharp;

var client = new RestClient("https://tenant.api.corpx.com/v1/accreditations/capture/token/start");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Tenant-Id", "X-Tenant-Id");
IRestResponse response = client.Execute(request);
```

```swift Accreditations_startAccreditationCapture_example
import Foundation

let headers = ["X-Tenant-Id": "X-Tenant-Id"]

let request = NSMutableURLRequest(url: NSURL(string: "https://tenant.api.corpx.com/v1/accreditations/capture/token/start")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
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()
```