Skip to main content
You can interact with the API through HTTP requests from any language.

Authentication

All API requests should include your API key in an Authorization HTTP header as follows:
You can obtain your API key from the settings. Keep your API key confidential! Avoid sharing it with others or exposing it in client-side code (such as browsers or apps). For production requests, ensure they are routed through your backend server, where the API key can be securely accessed from an environment variable or key management service.

Making a request

You can paste the command below into your terminal to run your first API request. Make sure to replace API_KEY with your secret API key, TEAM_ID with your team ID, and VERIFIER_ID with the verifier ID.
You should get a response that is similar to this:

API errors

The API uses standard HTTP status codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted), and codes in the 5xx range indicate an error with the API server.