Session search
You can retrieve specific metrics of all sessions that have been created using your API keys for error handling by calling the endpoint below:
Headers
Header | Description |
|---|---|
Authorization | API Key to call the Yoti Age API. Should be sent as a |
Yoti-Sdk-Id | Your unique SDK ID (uuid). |
Query parameters
Parameter | Description | Type | Example Value(s) |
|---|---|---|---|
createdAfter | Metrics will be returned for all session created after this date. Metrics will fetch data for up to six months. | dateTime |
|
createdBefore | Metrics will be returned for all session created before this date. Metrics will fetch data for up to six months. | dateTime |
|
checkId | Metrics will be returned for this session ID only | string |
|
status | Metrics will be returned for all session that ends with this status
| string |
|
method | Metrics will be returned for sessions using this method
| string |
|
Example response
Field | Type | Description |
|---|---|---|
id | string | Session ID |
account_id | string | Account ID |
method | string | Method that has been used for the Age Verification session
|
status | string | Session status
|
type | string | Type of check performed
|
error_code | string | Please refer to the list of error code page for details |
created_at | dateTime | Session creation time |