Obsidian API Download OpenAPI spec (v1)

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

Rate limits and retries

Limits

Requests Limit
POST, PUT and DELETE 120 per minute, shared across all write endpoints for your token
GET Not limited in v1. Please keep polling reasonable: a few requests per second at most

Going over the limit returns 429 with error.code: rate_limited and a Retry-After header with the number of seconds to wait.

Avoiding the limit

Retrying safely

Some requests move money. Retry them carefully:

Request Safe to retry?
Any GET Yes
POST /v1/esim/orders, POST /v1/esim/webhooks Yes, with the same Idempotency-Key and the same body. A replayed key returns the stored response for 24 hours, including stored errors, so use a new key after an error
POST /v1/orders No. A retry places and charges a second order. v1 can't look orders up without their id, so if a create request times out, don't retry automatically: check with support first
POST /v1/cards/{uuid}/load, /unload Only one can run per card; a duplicate returns 409 with the pending reload_id, so retrying is safe but returns 409 if the first got through
POST /v1/orders/{id}/cancel, card status changes, close Yes. A repeat has no extra effect; it may return 400 or 409 saying it's already done

Retry 5xx and 429 responses with increasing delays (for example 1s, 2s, 4s, up to a minute). Don't retry other 4xx responses without changing the request.