- Introduction
- Getting Started with our APIs
- Pagination
- Authorization
- Access control
- Ecosystems
- Participants
- Credential types
- Policy
- Issuer assignment
- Verifier assignment
- Certificates
- postCreate a DTS root CA certificate
- getRetrieve all DTS root CA certificates
- delDelete a DTS root CA certificate
- putUpdate a DTS root CA certificate
- getRetrieve a DTS root CA certificate
- getRetrieve a DTS root CA certificate revocation list
- getRetrieve all public DTS root CA certificates
- getRetrieve DTS root CA certificate
- getRetrieve DTS root CA certificate revocation list
- Authentication provider
- Interaction hook
- Claims source
- Issuance
- getRequest authorization for access to resources
- postExchange authorization code for access token
- postIssue a verifiable credential
- postCreate an Authorization Code credential offer
- getRetrieve OpenID4VCI issuer metadata
- postCreate a Pre-Authorized Code credential offer
- delDelete a Pre-authorized Code credential offer
- Users
Create API Auth Token
Authorization endpoint for gaining token used for API requests requiring bearerAuth
.
You will be provided the required client_id
and client_secret
as part of onboarding.
The returned bearer token will only enable access to endpoints as per your client's defined role. Refer to Access Control for more information.
Request
Request Body schema: application/json
Responses
200
Successful response
401
Unauthorized
post/oauth/token
Request samples
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
application/json
{- "client_id": "htf792W4p4MedZbnoWAs51EfqUt4d2",
- "client_secret": "d3fYDX7FjPg1D1h2viARXsolPByQ9vMfg8LHylBy8F4s5KJLB4HhHGOxxqJnSj3G",
- "grant_type": "client_credentials"
}
Response samples
- 200
- 401
application/json
{- "access_token": "s2dgbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6s2dcaEROemRDf5gbRVEwTTVSVFE0TmtZME9UZzVNVEpDTlVJNFJqRTBPREExTmpZMk1qazFPQSJ9",
- "expires_in": 86400,
- "token_type": "Bearer"
}