Skip to main content
Create an API key in gigstack settings. Send the literal Bearer prefix followed by the key:
Keep keys on your server. Do not put them in browser JavaScript, public repositories, screenshots, or prompts shared with other people. API access is included at no cost on Pricing v3 accounts. An account still on a legacy plan also needs API access on its billing account, including in test mode: a 403 message beginning La API se encuentra disponible para un plan más grande means that legacy plan lacks API access; generating another key does not fix that. Ask the account owner to check the plan. A different message, Tu plan no incluye múltiples cuentas emisoras, means the requested cross-team operation needs gigstack Connect (Pricing v3) or the multipleIssuerAccounts feature (legacy plan). See authentication errors to distinguish these from an invalid or revoked key.

Environments

Staging is a separate deployment and data store. livemode: false is a data mode within an environment, not a staging hostname. A staging key was verified against the staging gateway; the public API rejected that same key with 403 API Key inválida.

Live and test data

Both modes use https://api.gigstack.io/v2. The key determines the mode; a request-body livemode field does not turn a live API key into a test key. Lists and searches return data for the key’s mode. Operations across modes can be rejected. For draft stamping, check the stored draft’s livemode: the handler stamps in the draft’s mode. Start with a draft created by your test key; do not use an existing live draft. Some operations, including creating teams and running end-of-month invoicing, require live keys. See API fundamentals for the current limitations. Test mode also does not disable every notification workflow. Before creating test records, confirm the account’s notification recipients and webhook destinations. Invoice email flags and payment automation flags are not universal switches; see the invoice test instructions and refund automation checks.

Working with multiple teams

A gigstack Connect master team can use ?team=TEAM_ID for eligible teams sharing its billing account. This requires the multipleIssuerAccounts feature. OAuth access tokens are bound to one team and cannot use this parameter to switch teams. User-scoped MCP tokens use current team membership and are exempt from these API-access and multiple-issuer plan gates. With an MCP token, send an explicit ?team=TEAM_ID for the team you intend to operate on; membership is still checked. The record-only refund test used this token type. Follow gigstack Connect for setup and errors.

Authentication errors

Authentication failures can return a plain {message, error, error_description} object, rather than the standard API error envelope. Check the HTTP status first and preserve the response body when diagnosing a failed call.

Internal partner provisioning

Partner signup and its operation readback are restricted internal endpoints, excluded from this public API and agent reference. Ordinary bearer credentials do not grant partner authority. Their separate handler-enforced internal credential remains required; removing documentation is not an authorization control. For authorized existing partners, credential delivery has changed: only the first successful creator response can contain keys. Replays and operation reads return safe receipts with no secrets. Preserve the original operation reference after uncertainty; do not repeat provisioning with a new reference to recover credentials. Obtain the current internal contract and migration guide through your existing partner channel. Ordinary account users should use credential approvals.