Environments

Sardine provides the following two environments, each of which requires it own credentials:

Sandbox

https://api.sandbox.sardine.ai


This environment is design for integration and testing. This environment does not connect to our data partners production data sources.

Production

US: https://api.sardine.ai


EU: https://api.eu.sardine.ai


This environment is designed to handle real production data and live traffic volumes.

Authentication

Sardine uses basic authentication. Before starting your integration, you should generate your sandbox API credentials as instructed in the Getting Started with Risk page.

The API credentials include the following two keys:

  1. clientID: This is your unqiue Sardine account identifier. This is safe to be exposed to the public internet. This is needed for both the Risk SDK and API authentication.
  2. clientSecret: This is your Sardine password. It must be kept secret and it will be used to sign the API requests.

Example curl request

curl --location --request POST 'https://api.sandbox.sardine.ai/v2/devices' \
  --user "${CLIENT_ID}:${SECRET_KEY}" \
  --header 'Content-Type: application/json' \
  --data-raw '{
      "sessionKey": "SESSION_KEY"
  }'