Delete mDoc metadata
Deletes all stored data for an existing mDoc that matches the provided ID.
Removed credential data cannot be recovered.
Analytic events
- USER_CREDENTIAL_DELETE_START
- USER_CREDENTIAL_DELETE_SUCCESS
- USER_CREDENTIAL_DELETE_FAIL
mDoc metadata deleted
Invalid id parameter format
mDoc not found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 400
- 404
{- "code": "string",
- "message": "string",
- "details": [
- {
- "value": "string",
- "msg": "Invalid value",
- "param": "id",
- "location": "body"
}
]
}
Update mDoc status
Sets the status of an existing mDoc by providing its credentialId
and the new status. Status can only be valid, suspended or invalid.
Once an mDoc's status is updated to invalid, it cannot be updated again to any other value.
Analytic events
- MOBILE_CREDENTIAL_STATUS_SET_START
- MOBILE_CREDENTIAL_STATUS_SET_SUCCESS
- MOBILE_CREDENTIAL_STATUS_SET_FAIL
Credential status updated
Bad Request
Not Found
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
{- "status": "valid"
}
- 201
- 400
- 404
{- "status": "valid"
}
Retrieve mDoc status
Retrieves the status of an existing mDoc by providing its credentialId
.
Analytic events
- MOBILE_CREDENTIAL_STATUS_RETRIEVE_START
- MOBILE_CREDENTIAL_STATUS_RETRIEVE_SUCCESS
- MOBILE_CREDENTIAL_STATUS_RETRIEVE_FAIL
Credential status retrieved
Bad Request
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
- 404
{- "status": "valid"
}
Create a Status list configuration
Creates a Status list configuration, which defines a status list validity periods. mDocs can then be assigned to a specific Status list configuration.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_CREATE_START
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_CREATE_SUCCESS
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_CREATE_FAIL
Request Body schema: application/jsonrequired
The Status list configuration payload
docType required | string [ 1 .. 1024 ] characters Status list configurations are unique per docType on your tenant. This value must match the type set when creating an mDoc credential configuration. |
timeToLiveDuration required | object Defines how long relying parties can cache Status list tokens of this docType before it is recommended to retrieve a new Status list token from the tenant. Cannot exceed |
expiryDuration required | object Defines how long relying parties can cache Status list tokens of this docType before they expire. Once a Status list token expires, relying parties can no longer use it to check credentials status and must retrieve a new one from the tenant. Regardless of the value of this parameter, Status list tokens expiry cannot exceed the validity of the IACA that is used to sign the Status list token. |
Status list configuration created
Bad Request
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
{- "docType": "DriverLicense",
- "timeToLiveDuration": {
- "days": 1
}, - "expiryDuration": {
- "days": 2
}
}
- 201
- 400
{- "id": "983c0a86-204f-4431-9371-f5a22e506599",
- "docType": "Drivers LIcense",
- "timeToLiveDuration": {
- "days": 1
}, - "expiryDuration": {
- "days": 2
}
}
Retrieve all Status list configurations
Retrieves all Status list configurations from your tenant.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_RETRIEVE_LIST_START
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_RETRIEVE_LIST_
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_RETRIEVE_LIST_FAIL
Status list configurations retrieved
Bad Request
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
{- "nextCursor": "Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1hNjZmZmVhNS04NDhlLTQzOWQtODBhNC1kZGE1NWY1M2UzNmM",
- "data": [
- {
- "id": "983c0a86-204f-4431-9371-f5a22e506599",
- "docType": "Drivers LIcense",
- "timeToLiveDuration": {
- "days": 1
}, - "expiryDuration": {
- "days": 2
}
}
]
}
Retrieve a Status list configuration
Retrieves an existing Status list configuration by providing its ID.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_RETRIEVE_START
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_RETRIEVE_SUCCESS
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_RETRIEVE_FAIL
Status list configuration retrieved
Bad Request
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
- 404
{- "docType": "DriverLicense",
- "timeToLiveDuration": {
- "days": 1
}, - "expiryDuration": {
- "days": 2
}
}
Update a Status list configuration
Updates an existing Status list configuration, allowing you to adjust the expiry and TTL (Time To Live) settings.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_UPDATE_START
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_UPDATE_SUCCESS
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_UPDATE_FAIL
path Parameters
Request Body schema: application/jsonrequired
The Status list configuration payload
Status list configuration updated
Bad Request
Not Found
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
{- "timeToLiveDuration": {
- "days": 1
}, - "expiryDuration": {
- "days": 2
}
}
- 200
- 400
- 404
{- "id": "983c0a86-204f-4431-9371-f5a22e506599",
- "docType": "Drivers LIcense",
- "timeToLiveDuration": {
- "days": 1
}, - "expiryDuration": {
- "days": 2
}
}
Delete a Status list configuration
Permanently deletes an existing Status list configuration.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_DELETE_START
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_DELETE_SUCCESS
- MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_DELETE_FAIL
Status list configuration deleted
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 404
{- "code": "BadRequest",
- "message": "Status list configuration is in use by at least one status list"
}
Retrieve all Status lists
Retrieves all existing status lists from your tenant.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_RETRIEVE_LIST_START
- MOBILE_CREDENTIAL_STATUS_LIST_RETRIEVE_LIST_SUCCESS
- MOBILE_CREDENTIAL_STATUS_LIST_RETRIEVE_LIST_FAIL
Status lists retrieved
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "iacaId": "080c670a-2e90-4023-b79f-b706e55e9bc6",
- "statusListConfigurationId": "0bd642d3-4a3b-4ce2-9f8f-151a73becaae",
- "listSize": 100000,
- "list": "0oRZAu6jEHRtYXR0ci1zdGF0dXNs..."
}
]
}
Retrieve a Status list
Retrieves an existing Status list and its signed token by providing its ID.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_RETRIEVE_START
- MOBILE_CREDENTIAL_STATUS_LIST_RETRIEVE_SUCCESS
- MOBILE_CREDENTIAL_STATUS_LIST_RETRIEVE_FAIL
Status list retrieved
Bad Request
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "iacaId": "080c670a-2e90-4023-b79f-b706e55e9bc6",
- "statusListConfigurationId": "0bd642d3-4a3b-4ce2-9f8f-151a73becaae",
- "listSize": 100000,
- "list": "0oRZAu6jEHRtYXR0ci1zdGF0dXNs..."
}
Retrieve a Status list token
Retrieves the Status list token in CWT format. This public end point returns a token which contains a compressed, signed list of credential statuses. Relying parties can use this token to check the revocation status of an mDoc that references this Status list.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_TOKEN_RETRIEVE_START
- MOBILE_CREDENTIAL_STATUS_LIST_TOKEN_RETRIEVE_SUCCESS
- MOBILE_CREDENTIAL_STATUS_LIST_TOKEN_RETRIEVE_FAIL
Status list token retrieved
Not Found
Status list expired
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 404
- 410
{- "code": "string",
- "message": "string",
- "details": [
- {
- "value": "string",
- "msg": "Invalid value",
- "param": "id",
- "location": "body"
}
]
}
Status list distribution
Retrieves an object that details all existing Status lists tokens on the tenant. This public endpoint allows a relying party to consume and cache status lists. Each list in the response includes a URL where its token can be retrieved. Status list tokens that were signed by expired IACAs are excluded from the response.
Analytic events
- MOBILE_CREDENTIAL_STATUS_LIST_DISTRIBUTION_START
- MOBILE_CREDENTIAL_STATUS_LIST_DISTRIBUTION_SUCCESS
- MOBILE_CREDENTIAL_STATUS_LIST_DISTRIBUTION_FAIL
Status lists retrieved
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
{- "data": [
- {
- "status_lists": {
}
}
]
}