Skip to main content
GET
Current key information

Authorizations

Authorization
string
header
default:sk_test_DEMO0000_replace_with_your_sandbox_key
required

API key authentication. Issued by the Safariat admin or via the partner portal. The secret is shown only once at generation.

Production sk_live_* keys must additionally sign every write request (POST/PUT/DELETE) with the X-Timestamp and X-Signature headers. Sandbox sk_test_* keys are exempt from request signing: X-Signature and X-Timestamp are not required for writes in the sandbox (so the developer-portal "Try it" playground works end to end). The Idempotency-Key header remains required on writes in both environments.

Response

Key metadata

partner
object
required
api_key
object
required
scopes
enum<string>[]
required

Scopes granted to the key. See the Scope enum for the full list.

Authoritative list of API-key scopes (least-privilege; a key is granted a subset).

Available options:
catalog:read,
quote:create,
booking:read,
booking:write,
booking:cancel,
settlement:read,
webhook:manage,
apikey:manage,
team:read,
team:manage,
reviews:read,
reviews:write,
audit:read,
config:manage
environment
enum<string>
required
Available options:
LIVE,
TEST
rate_limit
object
required