Skip to content

Authentication

You can authenticate with the Lithos ID REST API using bearer token authentication.

You can generate your secret key in the API tab of the Customer Portal. The key is displayed only once, so be sure to copy it and store it securely. If you lose it, you will need to generate a new one.

Environments

In addition to the production environment, Lithos ID also provides a test environment. You can use it to test your integration with Lithos ID. The test environment is free to use, and the only available credential issuer is the Sandbox Issuer.

The test environment has its own secret keys.

Example Authenticated Request

The following example uses the cURL command-line tool.

bash
curl \
--header "Authorization: Bearer YOUR_SECRET_KEY" \
--header "Content-Type: application/json" \
http://api.lithosid.com/health