AY Developer docs
ApiIdentity

Token Status List of BusinessVerificationCredentials

Same format and values as `/identity/status-list`, with its own indexes, for the verification credentials of business twins. Every issuance gets a new index; a superseded or expired credential stays `1` INVALID forever. Served bare, `application/statuslist+json`, `Cache-Control: public, max-age=300`, `ETag`.

GET
/identity/status-list/businesses

Same format and values as /identity/status-list, with its own indexes, for the verification credentials of business twins. Every issuance gets a new index; a superseded or expired credential stays 1 INVALID forever. Served bare, application/statuslist+json, Cache-Control: public, max-age=300, ETag.

Response Body

Status list

application/statuslist+json
  1. response
status_list*string

Compressed (DEFLATE, zlib), base64url-encoded bit array (IETF Token Status List §4.1), 2 bits per index packed least-significant-bit first. Values: 0 VALID, 1 INVALID, 2 SUSPENDED.

bits*2
Value in2
total*integer

Number of indexes in the list.

Example Request
curl -X GET 'https://api.aytwin.ai/api/v1/identity/status-list/businesses'
Example Response
{  "status_list": "string",  "bits": 2,  "total": 0}