Skip to main content
Both keys work on every endpoint, except GET /v1/checkout/sessions/{id}: secret key only. Note: You can always find your keys in Baag App → Settings → Developers section.

Key errors

Returned with status 401 when there’s no Authorization header.
Returned with status 401 when the key is wrong, or it was regenerated in Baag App.
Returned with status 403 when the store’s plan doesn’t include API access. The keys work again once the store is back on the Basic plan.
Returned with status 429 when the key sent too many requests in a short time. Wait a moment, then retry.