Credential

Create a credential without a recipient Creates a standalone credential without specifying a recipient

post

Create a standalone credential

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

Request containing credential type and subject data

typestring · min: 1Required

Type of credential to be created

Example: ProofOfPurchasePattern: ^[a-zA-Z0-9_]+$
Responses
post
/api/v1/credentials

Get a credential by its ID Gets a credential by its ID for the authenticated holder

get

Retrieve a credential by ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The unique identifier of the credential

Responses
200

OK

application/json
get
/api/v1/credentials/{id}

Update a single credential’s status bit

post

Mark a credential’s status (e.g. revoke)

Authorizations
x-client-secretstringRequired
Path parameters
idstringRequired

The credential ID to update

Responses
200

OK

No content

post
/api/v1/credentials/{id}/revoke

No content

Last updated