Obsidian API Download OpenAPI spec (v1)

Staging documentation. Requests go to https://staging.obsidian.cards. Use test data only.

Authentication

API token

Every request carries your company's API token:

Authorization: Bearer <token>

A missing or invalid token returns:

{
  "message": "Unauthenticated.",
  "error": { "code": "unauthenticated", "message": "Unauthenticated." }
}

with status 401.

IP allowlist

Requests are only accepted from IP addresses on your company's allowlist, including requests with a valid token. A request from any other address returns 403:

{
  "message": "Your IP address (203.0.113.9) is not whitelisted.",
  "error": { "code": "ip_not_allowed", "message": "Your IP address (203.0.113.9) is not whitelisted." }
}

To add or change addresses, send support the public IPs your servers call from.

Sub-accounts

If your company has sub-accounts, each can have its own token.

To place an order on behalf of a sub-account from your main token, pass sub_company_id when creating the order.

Request format