Skip to main content

Creating a Sandbox API Key

Sandbox keys are created using the production createsandboxapikey endpoint with a production API key:
Response:
The returned API key must be saved immediately; it is shown only once.

Using a Sandbox API Key

Include the key in the x-api-key header on every request to the sandbox:

Validation Behavior

The sandbox validates the full API key against the sandboxApiKeys stored key. Keys that:
  • Are missing or do not start with sandbox_
  • Are not registered in our datastore
  • Have been revoked or expired
will receive a 401 Unauthorized response.