Finding Your API Key
In Didit, API keys are scoped to a specific Application within your account. An Application is a workspace where you can configure workflows and manage verifications for a particular project or environment. An API key is generated automatically for each Application you create. To find your key:Log in to the Business Console
Go to the Didit Business Console and sign in.
Select your Application
Choose the Application you want to work with from the dropdown menu at the top.
Making Authenticated Requests
To authenticate an API request, include your secret API key in thex-api-key HTTP header.
Here is an example of an authenticated request to the Create Session endpoint:
cURL
Error Handling
If your API key is missing or invalid, the API returns a401 Unauthorized response:
| Status Code | Meaning |
|---|---|
| 401 | API key is missing, invalid, or revoked |
| 403 | API key does not have access to the requested resource |