The Piriod API uses API tokens combined with a workspace header.Documentation Index
Fetch the complete documentation index at: https://piriod-d406ac55.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
API tokens
Tokens are obtained from the Piriod dashboard (Settings → API tokens). Pass the token on every request:Workspace header
Piriod is multi-workspace: a single user can belong to several accounts. Every request must declare which workspace it operates on:400 or 403.
Test mode
Setx-piriod-test-mode: true to operate against test data — separate from your
production data. Resources created in test mode are returned only when this
header is true.
Publishable keys (payment links)
Hosted payment-link endpoints under/publishable/payment_links/... are
designed to be called from the browser using the link’s publishable_key.
These endpoints do not require Authorization: Token. They are read-only
or limited to payment-intent operations.
