Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers: clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.
Errors: credential failures are answered by the authentication layer with a raw
{ "message": … } body, not the standardized envelope — 401 for a missing, malformed or
expired token, 403 for a revoked key or a plan without API access. See the Unauthorized
and AuthForbidden responses.
Query Parameters
team
string
gigstack Connect: Target team ID for multi-team access.
Requires gigstack Connect enabled on your team and shared billing account.
Also requires the multipleIssuerAccounts feature on your plan. Requests targeting a
team other than the one your API key belongs to return 403 without it.
Only API keys can use it: an OAuth access token sent with another team's id is rejected with
403 Team mismatch with OAuth token.
Optional — omit it entirely unless you are acting on another team. It deliberately
carries no example value so generated snippets do not emit ?team=undefined; when the
parameter is absent, the team is derived from your API key.
Example:?team=team_xyz789
Body
application/json
url
string<uri>
required
Maximum string length: 4096
events
enum<string>[]
required
Maximum array length: 27
Available options:
payment.created,
payment.updated,
payment.succeeded,
payment.canceled,
payment.deleted,
payment.upcoming_due_date,
invoice.created,
invoice.canceled,
invoice.failed,
invoice_batch.completed,
payment_batch.completed,
receipt.created,
receipt.updated,
receipt.completed,
receipt.deleted,
customer.created,
customer.updated,
customer.deleted,
service.created,
service.updated,
service.deleted,
sat.invoice.synced,
teams.created,
teams.sat.completed,
teams.stripe.completed,
teams.openpay.completed,
teams.sat.manifest.signed
operation_id
string<uuid>
expected_revision
string
Pattern: ^[0-9a-f]{64}$
description
string | null
Maximum string length: 1000
status
enum<string>
Available options:
active,
inactive
version
enum<string>
Available options:
v1,
v2
type
enum<string> | null
Available options:
gigstack_connect,
null
security
object
Show child attributes
signing
object
Show child attributes
Callbacks
POST
{$request.body#/url}webhookEvent
Body
application/json
Option 1
Option 2
Option 3
Option 4
Option 5
Body of a webhook delivery (Content-Type: application/json). There are three formats:
Resource events (payment.*, invoice.*, receipt.*, customer.*, service.*) use the
webhook's payload version:
WebhookPayloadV1: the default for webhooks created with POST /webhooks.
WebhookPayloadV2: for webhooks created or last saved in the gigstack dashboard, or on teams
whose default is v2.
The SAT and batch events have event and created_at; read event to tell them apart.
event
enum<string>
required
Event type a webhook can subscribe to.
Available options:
payment.created,
payment.updated,
payment.succeeded,
payment.canceled,
payment.deleted,
payment.upcoming_due_date,
invoice.created,
invoice.canceled,
invoice.failed,
invoice_batch.completed,
payment_batch.completed,
receipt.created,
receipt.updated,
receipt.completed,
receipt.deleted,
customer.created,
customer.updated,
customer.deleted,
service.created,
service.updated,
service.deleted,
sat.invoice.synced,
teams.created,
teams.sat.completed,
teams.stripe.completed,
teams.openpay.completed,
teams.sat.manifest.signed
Example:
"sat.invoice.synced"
team
string
required
Team that owns the webhook.
Example:
"team_1234567890"
webhook
string
required
ID of the webhook receiving this delivery.
Example:
"wh_dyS2ZVTj"
livemode
boolean
required
false for test-mode resources.
Example:
true
data
object
required
The resource at the moment of the event, in gigstack's internal (camelCase) format.
metadata values are sent as strings.
connectedTeam
string
Only on deliveries to a gigstack Connect master team. The connected team the event came from.
connectedTeamMetadata
object
Only with connectedTeam, when that team has metadata. Values are strings.
Show child attributes
Response
200
Any 2xx acknowledges the delivery.
For resource events, 408, 429 and 5xx trigger a retry, and any other 4xx is final.
For sat.invoice.synced, invoice_batch.completed and payment_batch.completed the response is ignored.
Response
Configuration completed; key values are never replayed.
success
boolean
required
data
object | null
required
Show child attributes
operation
object
required
Show child attributes
signing_secret
string
New signing key, only on first successful authenticated-browser response. Never replayed.
credential_delivery
enum<string>
Available options:
first_response
error
object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"gigstack","description":"Build invoicing and payment integrations with the gigstack API.","colors":{"primary":"#527A16","light":"#B4E44B","dark":"#527A16"},"logo":{"light":"https://mintcdn.com/gigstack-736714cc/n52DA3e1uZaES4AD/logo/light.svg?fit=max\u0026auto=format\u0026n=n52DA3e1uZaES4AD\u0026q=85\u0026s=c2a76374f23410e1b668aa0f9c87e282","dark":"https://mintcdn.com/gigstack-736714cc/n52DA3e1uZaES4AD/logo/dark.svg?fit=max\u0026auto=format\u0026n=n52DA3e1uZaES4AD\u0026q=85\u0026s=4943719d5ca8657f1121e499d7c7e64b"},"favicon":"https://mintcdn.com/gigstack-736714cc/n52DA3e1uZaES4AD/logo/favicon.svg?fit=max\u0026auto=format\u0026n=n52DA3e1uZaES4AD\u0026q=85\u0026s=06d40fd65140bc9023b235ed1b456268","api":{"playground":{"display":"interactive"},"examples":{"languages":["bash","javascript","python"]}},"background":{"color":{"light":"#FFFFFF","dark":"#0A0A0A"}},"navbar":{"links":[{"href":"mailto:support@gigstack.io","label":"Support"}],"primary":{"type":"button","label":"Open gigstack","href":"https://app.gigstack.pro"}},"fonts":{"family":"Geist"},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gigstack-736714cc","hasAudioNarration":false,"actualSubdomain":"gigstack-736714cc","customDomains":["docs.gigstack.io"],"gitSource":{"type":"github","owner":"disruptive-learning","repo":"backend","deployBranch":"main","contentDirectory":"docs/api","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b011d7213bcca0e1928b2ef","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API reference","count":351},{"language":"default","tag":"Core resources","count":95},{"language":"default","tag":"Teams and access","count":88},{"language":"default","tag":"Account settings and integrations","count":76},{"language":"default","tag":"Guides","count":57},{"language":"default","tag":"Automation and data","count":55},{"language":"default","tag":"Teams","count":43},{"language":"default","tag":"Integrations","count":36},{"language":"default","tag":"SAT and fiscal tools","count":35},{"language":"default","tag":"Invoices","count":33}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"reference/createWebhooks","slug":"/reference/createWebhooks","pageMetadata":{"openapi":"openapi.json POST /webhooks","title":"Create webhook","description":"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:{} clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.","href":"/reference/createWebhooks"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:\", \" clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"openapi.json POST /webhooks","title":"Create webhook","description":"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:{} clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.","href":"/reference/createWebhooks"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createWebhooks","tags":["Webhooks"],"summary":"Create webhook","description":"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:{} clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.","security":["a94c0195-c2ad-4a06-898f-b9c1ea1240da"],"parameters":["0e448559-217a-432a-9e3e-465868344fcb"],"requestBody":"dbbfc94b-a9cf-4cdd-b1ee-9273fdd197e7","responses":{"201":"7396fa58-c5e8-4e1f-8d1a-6c460d67bc57","400":"0e0c8d7a-542d-469a-9121-ab56dc3c572f","401":"3d5c8c04-1361-4958-8a85-8fbff8ccb139","403":"4347a473-4ef7-4865-a2c1-9d2871d1375d","409":"55107014-d441-4a32-9393-76fce23b9afe","500":"295f5b18-11f9-4cd1-a8b5-9470a3a73624","503":"ab124369-872e-49e5-8e8d-00296fa35737"},"callbacks":{"webhookEvent":"b957aa58-c38a-4980-8d6b-7b597749a259"},"method":"post","type":"path","servers":["87059d0e-ccc8-43e7-97f3-afea666258e3"],"path":"/webhooks","baseUrlOptions":["https://api.gigstack.io/v2"],"title":"Create webhook","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0e448559-217a-432a-9e3e-465868344fcb":{"name":"team","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"**gigstack Connect:** Target team ID for multi-team access.\n\nRequires gigstack Connect enabled on your team and shared billing account.\n\nAlso requires the `multipleIssuerAccounts` feature on your plan. Requests targeting a\nteam other than the one your API key belongs to return `403` without it.\n\nOnly API keys can use it: an OAuth access token sent with another team's id is rejected with\n`403 Team mismatch with OAuth token`.\n\n**Optional — omit it entirely** unless you are acting on another team. It deliberately\ncarries no example value so generated snippets do not emit `?team=undefined`; when the\nparameter is absent, the team is derived from your API key.\n\n**Example:** `?team=team_xyz789`\n","uniqueKey":"","typeLabel":"string"},"description":"**gigstack Connect:** Target team ID for multi-team access.\n\nRequires gigstack Connect enabled on your team and shared billing account.\n\nAlso requires the `multipleIssuerAccounts` feature on your plan. Requests targeting a\nteam other than the one your API key belongs to return `403` without it.\n\nOnly API keys can use it: an OAuth access token sent with another team's id is rejected with\n`403 Team mismatch with OAuth token`.\n\n**Optional — omit it entirely** unless you are acting on another team. It deliberately\ncarries no example value so generated snippets do not emit `?team=undefined`; when the\nparameter is absent, the team is derived from your API key.\n\n**Example:** `?team=team_xyz789`\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["url","events"],"properties":{"url":{"type":"string","maxLength":4096,"format":"uri","isRequired":true,"uniqueKey":"url","typeLabel":"string\u003curi>"},"events":{"type":"array","items":{"type":"string","enum":["payment.created","payment.updated","payment.succeeded","payment.canceled","payment.deleted","payment.upcoming_due_date","invoice.created","invoice.canceled","invoice.failed","invoice_batch.completed","payment_batch.completed","receipt.created","receipt.updated","receipt.completed","receipt.deleted","customer.created","customer.updated","customer.deleted","service.created","service.updated","service.deleted","sat.invoice.synced","teams.created","teams.sat.completed","teams.stripe.completed","teams.openpay.completed","teams.sat.manifest.signed"],"uniqueKey":"events.items.[INDEX]","typeLabel":"enum\u003cstring>"},"maxItems":27,"isRequired":true,"uniqueKey":"events","typeLabel":"enum\u003cstring>[]"},"operation_id":{"type":"string","format":"uuid","uniqueKey":"operation_id","typeLabel":"string\u003cuuid>"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{64}$","uniqueKey":"expected_revision","typeLabel":"string"},"description":{"oneOf":[{"type":"string","maxLength":1000,"uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1000,"uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"status":{"type":"string","enum":["active","inactive"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"version":{"type":"string","enum":["v1","v2"],"uniqueKey":"version","typeLabel":"enum\u003cstring>"},"type":{"oneOf":[{"type":"string","enum":["gigstack_connect",null],"uniqueKey":"type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["gigstack_connect",null],"uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"enum\u003cstring> | null"},"security":{"type":"object","additionalProperties":false,"required":["headers"],"properties":{"headers":{"type":"object","additionalProperties":true,"properties":{},"isRequired":true,"uniqueKey":"security.headers","typeLabel":"object"}},"uniqueKey":"security","typeLabel":"object"},"signing":{"type":"object","additionalProperties":false,"required":["enabled"],"properties":{"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"signing.enabled","typeLabel":"boolean"},"rotate":{"type":"boolean","uniqueKey":"signing.rotate","typeLabel":"boolean"}},"uniqueKey":"signing","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"url":"https://your-domain.com/webhooks/gigstack","events":["payment.created","payment.succeeded"],"description":"Production webhook for payment events","status":"active","operation_id":"ae7388d2-79d2-4333-9eb8-33b1a1e21b58","version":"v2"},"examples":{"Example":{"title":"Example","value":{"url":"https://your-domain.com/webhooks/gigstack","events":["payment.created","payment.succeeded"],"description":"Production webhook for payment events","status":"active","operation_id":"ae7388d2-79d2-4333-9eb8-33b1a1e21b58","version":"v2"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"7396fa58-c5e8-4e1f-8d1a-6c460d67bc57":{"description":"Configuration completed; key values are never replayed.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["success","data","operation"],"properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"oneOf":[{"type":"object","additionalProperties":false,"required":["id","url","events","status","owner","created_at","version","type","revision","effect_scope","security","signing"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.0.id","typeLabel":"string"},"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"data.oneOf.0.url","typeLabel":"string\u003curi>"},"events":{"type":"array","items":{"type":"string","description":"Event type a webhook can subscribe to.","enum":["payment.created","payment.updated","payment.succeeded","payment.canceled","payment.deleted","payment.upcoming_due_date","invoice.created","invoice.canceled","invoice.failed","invoice_batch.completed","payment_batch.completed","receipt.created","receipt.updated","receipt.completed","receipt.deleted","customer.created","customer.updated","customer.deleted","service.created","service.updated","service.deleted","sat.invoice.synced","teams.created","teams.sat.completed","teams.stripe.completed","teams.openpay.completed","teams.sat.manifest.signed"],"example":"sat.invoice.synced","uniqueKey":"data.oneOf.0.events.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"data.oneOf.0.events","typeLabel":"enum\u003cstring>[]"},"status":{"type":"string","enum":["active","inactive"],"isRequired":true,"uniqueKey":"data.oneOf.0.status","typeLabel":"enum\u003cstring>"},"owner":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.0.owner","typeLabel":"string"},"created_at":{"type":"number","isRequired":true,"uniqueKey":"data.oneOf.0.created_at","typeLabel":"number"},"version":{"oneOf":[{"type":"string","enum":["v1","v2",null],"isRequired":true,"uniqueKey":"data.oneOf.0.version.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["v1","v2",null],"isRequired":true,"uniqueKey":"data.oneOf.0.version.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.version","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"type":"string","enum":["gigstack_connect",null],"isRequired":true,"uniqueKey":"data.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["gigstack_connect",null],"isRequired":true,"uniqueKey":"data.oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"revision":{"type":"string","pattern":"^[0-9a-f]{64}$","isRequired":true,"uniqueKey":"data.oneOf.0.revision","typeLabel":"string"},"effect_scope":{"type":"string","enum":["shared_team_webhooks"],"isRequired":true,"uniqueKey":"data.oneOf.0.effect_scope","typeLabel":"enum\u003cstring>"},"security":{"type":"object","additionalProperties":false,"required":["header_names","configured","status"],"properties":{"header_names":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.security.header_names.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.oneOf.0.security.header_names","typeLabel":"string[]"},"configured":{"type":"boolean","isRequired":true,"uniqueKey":"data.oneOf.0.security.configured","typeLabel":"boolean"},"status":{"type":"string","enum":["not_configured","configured","pending","failed"],"isRequired":true,"uniqueKey":"data.oneOf.0.security.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.0.security","typeLabel":"object"},"signing":{"type":"object","additionalProperties":false,"required":["enabled","configured","status"],"properties":{"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"data.oneOf.0.signing.enabled","typeLabel":"boolean"},"configured":{"type":"boolean","isRequired":true,"uniqueKey":"data.oneOf.0.signing.configured","typeLabel":"boolean"},"status":{"type":"string","enum":["disabled","configured","pending","failed"],"isRequired":true,"uniqueKey":"data.oneOf.0.signing.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.0.signing","typeLabel":"object"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.description","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"required":["id","url","events","status","owner","created_at","version","type","revision","effect_scope","security","signing"],"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string","description":"Event type a webhook can subscribe to.","enum":["payment.created","payment.updated","payment.succeeded","payment.canceled","payment.deleted","payment.upcoming_due_date","invoice.created","invoice.canceled","invoice.failed","invoice_batch.completed","payment_batch.completed","receipt.created","receipt.updated","receipt.completed","receipt.deleted","customer.created","customer.updated","customer.deleted","service.created","service.updated","service.deleted","sat.invoice.synced","teams.created","teams.sat.completed","teams.stripe.completed","teams.openpay.completed","teams.sat.manifest.signed"],"example":"sat.invoice.synced"}},"status":{"type":"string","enum":["active","inactive"]},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"owner":{"type":"string"},"created_at":{"type":"number"},"version":{"oneOf":[{"type":"string","enum":["v1","v2",null]},{"type":"null","enum":["v1","v2",null]}]},"type":{"oneOf":[{"type":"string","enum":["gigstack_connect",null]},{"type":"null","enum":["gigstack_connect",null]}]},"revision":{"type":"string","pattern":"^[0-9a-f]{64}$"},"effect_scope":{"type":"string","enum":["shared_team_webhooks"]},"security":{"type":"object","additionalProperties":false,"required":["header_names","configured","status"],"properties":{"header_names":{"type":"array","items":{"type":"string"}},"configured":{"type":"boolean"},"status":{"type":"string","enum":["not_configured","configured","pending","failed"]}}},"signing":{"type":"object","additionalProperties":false,"required":["enabled","configured","status"],"properties":{"enabled":{"type":"boolean"},"configured":{"type":"boolean"},"status":{"type":"string","enum":["disabled","configured","pending","failed"]}}}},"isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"object | null"},"operation":{"type":"object","additionalProperties":false,"required":["operation_id","team_id","webhook_id","action","status","created_at","effect_scope","secret_attempts","error","credential_delivery"],"properties":{"operation_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"operation.operation_id","typeLabel":"string\u003cuuid>"},"team_id":{"type":"string","isRequired":true,"uniqueKey":"operation.team_id","typeLabel":"string"},"webhook_id":{"type":"string","isRequired":true,"uniqueKey":"operation.webhook_id","typeLabel":"string"},"action":{"type":"string","enum":["create","update"],"isRequired":true,"uniqueKey":"operation.action","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["processing","completed","outcome_unknown","conflict"],"isRequired":true,"uniqueKey":"operation.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"number","isRequired":true,"uniqueKey":"operation.created_at","typeLabel":"number"},"effect_scope":{"type":"string","enum":["shared_team_webhooks"],"isRequired":true,"uniqueKey":"operation.effect_scope","typeLabel":"enum\u003cstring>"},"secret_attempts":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"operation.secret_attempts","typeLabel":"integer"},"error":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"operation.error.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"operation.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"operation.error","typeLabel":"string | null"},"credential_delivery":{"type":"string","enum":["not_replayed"],"isRequired":true,"uniqueKey":"operation.credential_delivery","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"operation","typeLabel":"object"},"signing_secret":{"type":"string","description":"New signing key, only on first successful authenticated-browser response. Never replayed.","uniqueKey":"signing_secret","typeLabel":"string"},"credential_delivery":{"type":"string","enum":["first_response"],"uniqueKey":"credential_delivery","typeLabel":"enum\u003cstring>"},"error":{"type":"object","additionalProperties":false,"required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"id":"wh_example","url":"https://receiver.example/webhook","events":["payment.succeeded"],"status":"inactive","owner":"user_example","created_at":1709090576567,"version":"v2","type":null,"revision":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","effect_scope":"shared_team_webhooks","security":{"header_names":[],"configured":false,"status":"not_configured"},"signing":{"enabled":false,"configured":false,"status":"disabled"}},"operation":{"operation_id":"ae7388d2-79d2-4333-9eb8-33b1a1e21b58","team_id":"team_example","webhook_id":"wh_example","action":"create","status":"completed","created_at":1709090576567,"effect_scope":"shared_team_webhooks","secret_attempts":0,"error":null,"credential_delivery":"not_replayed"}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":"wh_example","url":"https://receiver.example/webhook","events":["payment.succeeded"],"status":"inactive","owner":"user_example","created_at":1709090576567,"version":"v2","type":null,"revision":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","effect_scope":"shared_team_webhooks","security":{"header_names":[],"configured":false,"status":"not_configured"},"signing":{"enabled":false,"configured":false,"status":"disabled"}},"operation":{"operation_id":"ae7388d2-79d2-4333-9eb8-33b1a1e21b58","team_id":"team_example","webhook_id":"wh_example","action":"create","status":"completed","created_at":1709090576567,"effect_scope":"shared_team_webhooks","secret_attempts":0,"error":null,"credential_delivery":"not_replayed"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0e0c8d7a-542d-469a-9121-ab56dc3c572f":{"description":"Invalid webhook data","content":{"application/json":{"schema":{"type":"object","description":"Standardized error envelope.","required":["success","error","timestamp"],"example":{"success":false,"error":{"code":"invalid_request_body","message":"An error occurred"},"timestamp":1767225600000},"properties":{"success":{"type":"boolean","enum":[false],"example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code. Values emitted by the shared helpers:\n`unauthorized`, `forbidden`, `invalid_token`, `validation_failed`,\n`invalid_request_body`, `missing_required_field`, `invalid_field_value`,\n`resource_not_found`, `resource_already_exists`, `resource_conflict`,\n`business_rule_violation`, `operation_not_allowed`,\n`insufficient_permissions`, `external_service_error`,\n`payment_processor_error`, `cfdi_service_error`,\n`internal_server_error`, `service_unavailable`, `rate_limit_exceeded`,\n`database_error`, `data_integrity_error`, `file_not_found`,\n`file_upload_error`, `invalid_file_format`. Individual handlers may\nemit additional endpoint-specific codes, documented per operation.\n","example":"validation_failed","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"error.details.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"error.details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"error.details.oneOf.1","typeLabel":"string[]"},{"type":"object","description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"error.details.oneOf.2","typeLabel":"object"}],"uniqueKey":"error.details","typeLabel":"string | string[] | object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"timestamp":{"type":"integer","format":"int64","description":"Server time in epoch milliseconds.","example":1767225600000,"isRequired":true,"uniqueKey":"timestamp","typeLabel":"integer\u003cint64>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"invalid_request_body","message":"An error occurred"},"timestamp":1767225600000}}},"exampleType":"generated"}},"exampleType":"generated"},"3d5c8c04-1361-4958-8a85-8fbff8ccb139":{"description":"Authentication failed. Two different bodies can come back with a `401`:\n\n1. **From the authentication layer**, before the endpoint runs: a raw object with\n `message` and — for OAuth access tokens only — `error` / `error_description`. It does\n **not** use the standardized envelope (`success` and `timestamp` are absent). Messages:\n `Unauthorized` (missing header, missing `Bearer ` prefix, unparseable token),\n `Unauthorized, missing team in token`, `Unauthorized, not a master team` and\n `Unauthorized, no matched teams` (gigstack Connect), `Invalid access token`,\n `Access token has expired. Please refresh your token.`, `Access token has been revoked`.\n2. **From the endpoint itself**: the standardized envelope with `error.code: unauthorized`.\n\nBranch on the HTTP status, not on the body shape.\n","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Raw error body produced by the authentication layer (before any endpoint runs). It is not\nthe standardized envelope: there is no `success` and no `timestamp`.\n","required":["message"],"properties":{"message":{"type":"string","description":"Human-readable reason. Some messages are in Spanish; branch on the HTTP status, not on this text.","example":"Unauthorized","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"error":{"type":"string","description":"OAuth error code. Present only when an OAuth access token was presented.","enum":["invalid_token","token_expired","token_revoked","server_error"],"example":"token_expired","uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"error_description":{"type":"string","description":"Same text as `message`. Present only alongside `error`.","example":"Access token has expired. Please refresh your token.","uniqueKey":"oneOf.0.error_description","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Extra detail, e.g. `Invalid API Key` when a revoked key is rejected with `403`.","example":"Invalid API Key","uniqueKey":"oneOf.0.details.oneOf.0","typeLabel":"string"},{"type":"object","description":"Extra detail, e.g. `Invalid API Key` when a revoked key is rejected with `403`.","example":"Invalid API Key","uniqueKey":"oneOf.0.details.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.details","typeLabel":"string | object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Standardized error envelope emitted by `sendErrorResponse` and its helpers\n(`sendValidationError`, `sendNotFoundError`, `sendUnauthorizedError`,\n`sendForbiddenError`, `sendConflictError`, `sendBadRequestError`,\n`sendInternalServerError`).\n","required":["success","error","timestamp"],"example":{"success":false,"error":{"code":"unauthorized","message":"Unauthorized access"},"timestamp":1767225600000},"properties":{"success":{"type":"boolean","enum":[false],"example":false,"isRequired":true,"uniqueKey":"oneOf.1.success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code. Values emitted by the shared helpers:\n`unauthorized`, `forbidden`, `invalid_token`, `validation_failed`,\n`invalid_request_body`, `missing_required_field`, `invalid_field_value`,\n`resource_not_found`, `resource_already_exists`, `resource_conflict`,\n`business_rule_violation`, `operation_not_allowed`,\n`insufficient_permissions`, `external_service_error`,\n`payment_processor_error`, `cfdi_service_error`,\n`internal_server_error`, `service_unavailable`, `rate_limit_exceeded`,\n`database_error`, `data_integrity_error`, `file_not_found`,\n`file_upload_error`, `invalid_file_format`. Individual handlers may\nemit additional endpoint-specific codes, documented per operation.\n","example":"validation_failed","isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"string"},"message":{"type":"string","example":"Request validation failed","isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"oneOf.1.error.details.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.error.details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"oneOf.1.error.details.oneOf.1","typeLabel":"string[]"},{"type":"object","description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"oneOf.1.error.details.oneOf.2","typeLabel":"object"}],"uniqueKey":"oneOf.1.error.details","typeLabel":"string | string[] | object"}},"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"},"timestamp":{"type":"integer","format":"int64","description":"Server time in epoch milliseconds.","example":1767225600000,"isRequired":true,"uniqueKey":"oneOf.1.timestamp","typeLabel":"integer\u003cint64>"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"missing_or_invalid_key":{"title":"missing_or_invalid_key","summary":"Authentication layer — missing or unparseable API key","value":{"message":"Unauthorized"}},"oauth_token_expired":{"title":"oauth_token_expired","summary":"Authentication layer — expired OAuth access token","value":{"message":"Access token has expired. Please refresh your token.","error":"token_expired","error_description":"Access token has expired. Please refresh your token."}},"connect_not_master_team":{"title":"connect_not_master_team","summary":"Authentication layer — `team` sent by a team without gigstack Connect","value":{"message":"Unauthorized, not a master team"}},"endpoint_envelope":{"title":"endpoint_envelope","summary":"Endpoint — standardized envelope","value":{"success":false,"error":{"code":"unauthorized","message":"Unauthorized access"},"timestamp":1767225600000}}},"exampleType":"examples"}},"exampleType":"examples"},"4347a473-4ef7-4865-a2c1-9d2871d1375d":{"description":"Rejected by the authentication layer after the credential was recognised. The body is a raw\nobject (`message`, sometimes `details`), **not** the standardized envelope. Causes:\n\n- The API key was revoked or disabled: `message: \"API Key inválida.\"`, `details: \"Invalid API Key\"`.\n- Legacy plans only: the billing account's plan does not include API access. `message` is a\n Spanish sentence containing an HTML link to `https://app.gigstack.pro/memberships`. Branch on\n the status code; do not display or match the text. Pricing v3 accounts always have API access.\n- gigstack Connect: the account lacks gigstack Connect (Pricing v3) or its legacy plan lacks the\n `multipleIssuerAccounts` feature (Spanish message; on Pricing v3 it starts `Tu cuenta no\n tiene gigstack Connect`, on legacy plans `Tu plan no incluye múltiples cuentas emisoras.`), or\n an OAuth access token was\n sent with a `team` other than its own (`Team mismatch with OAuth token`).\n\nAn endpoint may also answer `403` for its own reasons; those are documented on the\noperation when they exist.\n","content":{"application/json":{"schema":{"type":"object","description":"Raw error body produced by the authentication layer (before any endpoint runs). It is not\nthe standardized envelope: there is no `success` and no `timestamp`.\n","required":["message"],"properties":{"message":{"type":"string","description":"Human-readable reason. Some messages are in Spanish; branch on the HTTP status, not on this text.","example":"Unauthorized","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"OAuth error code. Present only when an OAuth access token was presented.","enum":["invalid_token","token_expired","token_revoked","server_error"],"example":"token_expired","uniqueKey":"error","typeLabel":"enum\u003cstring>"},"error_description":{"type":"string","description":"Same text as `message`. Present only alongside `error`.","example":"Access token has expired. Please refresh your token.","uniqueKey":"error_description","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Extra detail, e.g. `Invalid API Key` when a revoked key is rejected with `403`.","example":"Invalid API Key","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"object","description":"Extra detail, e.g. `Invalid API Key` when a revoked key is rejected with `403`.","example":"Invalid API Key","uniqueKey":"details.oneOf.1","typeLabel":"object"}],"uniqueKey":"details","typeLabel":"string | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"revoked_api_key":{"title":"revoked_api_key","summary":"API key revoked or disabled","value":{"message":"API Key inválida.","details":"Invalid API Key"}},"plan_without_api_access":{"title":"plan_without_api_access","summary":"Plan does not include API access","value":{"message":"La API se encuentra disponible para un plan más grande, por favor actualiza tu plan \u003ca href='https://app.gigstack.pro/memberships'>aquí\u003c/a> o ponte en contacto con soporte."}},"connect_plan_without_multiple_issuers":{"title":"connect_plan_without_multiple_issuers","summary":"gigstack Connect — plan lacks multipleIssuerAccounts","value":{"message":"Tu plan no incluye múltiples cuentas emisoras. Actualiza tu plan en https://app.gigstack.pro/memberships o ponte en contacto con soporte para operar sobre otros equipos."}},"connect_v3_without_connect":{"title":"connect_v3_without_connect","summary":"gigstack Connect — Pricing v3 account without gigstack Connect","value":{"message":"Tu cuenta no tiene gigstack Connect, que incluye múltiples cuentas emisoras. Actívalo en Ajustes > General > Facturación (https://app.gigstack.pro/settings?tab=general\u0026subtab=billing) o ponte en contacto con soporte para operar sobre otros equipos."}},"oauth_team_mismatch":{"title":"oauth_team_mismatch","summary":"gigstack Connect — OAuth token used for another team","value":{"message":"Team mismatch with OAuth token"}}},"exampleType":"examples"}},"exampleType":"examples"},"55107014-d441-4a32-9393-76fce23b9afe":{"description":"An operation may remain processing, conflicted or uncertain. Read the same operation; never automatically repeat secret entry. Other pre-reservation conflicts return only success:false and error.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["success","data","operation"],"properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.success","typeLabel":"boolean"},"data":{"oneOf":[{"type":"object","additionalProperties":false,"required":["id","url","events","status","owner","created_at","version","type","revision","effect_scope","security","signing"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.id","typeLabel":"string"},"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.url","typeLabel":"string\u003curi>"},"events":{"type":"array","items":{"type":"string","description":"Event type a webhook can subscribe to.","enum":["payment.created","payment.updated","payment.succeeded","payment.canceled","payment.deleted","payment.upcoming_due_date","invoice.created","invoice.canceled","invoice.failed","invoice_batch.completed","payment_batch.completed","receipt.created","receipt.updated","receipt.completed","receipt.deleted","customer.created","customer.updated","customer.deleted","service.created","service.updated","service.deleted","sat.invoice.synced","teams.created","teams.sat.completed","teams.stripe.completed","teams.openpay.completed","teams.sat.manifest.signed"],"example":"sat.invoice.synced","uniqueKey":"oneOf.0.data.oneOf.0.events.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.events","typeLabel":"enum\u003cstring>[]"},"status":{"type":"string","enum":["active","inactive"],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.status","typeLabel":"enum\u003cstring>"},"owner":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.owner","typeLabel":"string"},"created_at":{"type":"number","isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.created_at","typeLabel":"number"},"version":{"oneOf":[{"type":"string","enum":["v1","v2",null],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.version.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["v1","v2",null],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.version.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.version","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"type":"string","enum":["gigstack_connect",null],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["gigstack_connect",null],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"revision":{"type":"string","pattern":"^[0-9a-f]{64}$","isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.revision","typeLabel":"string"},"effect_scope":{"type":"string","enum":["shared_team_webhooks"],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.effect_scope","typeLabel":"enum\u003cstring>"},"security":{"type":"object","additionalProperties":false,"required":["header_names","configured","status"],"properties":{"header_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.data.oneOf.0.security.header_names.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.security.header_names","typeLabel":"string[]"},"configured":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.security.configured","typeLabel":"boolean"},"status":{"type":"string","enum":["not_configured","configured","pending","failed"],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.security.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.security","typeLabel":"object"},"signing":{"type":"object","additionalProperties":false,"required":["enabled","configured","status"],"properties":{"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.signing.enabled","typeLabel":"boolean"},"configured":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.signing.configured","typeLabel":"boolean"},"status":{"type":"string","enum":["disabled","configured","pending","failed"],"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.signing.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0.signing","typeLabel":"object"},"description":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.data.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.data.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.data.oneOf.0.description","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"required":["id","url","events","status","owner","created_at","version","type","revision","effect_scope","security","signing"],"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string","description":"Event type a webhook can subscribe to.","enum":["payment.created","payment.updated","payment.succeeded","payment.canceled","payment.deleted","payment.upcoming_due_date","invoice.created","invoice.canceled","invoice.failed","invoice_batch.completed","payment_batch.completed","receipt.created","receipt.updated","receipt.completed","receipt.deleted","customer.created","customer.updated","customer.deleted","service.created","service.updated","service.deleted","sat.invoice.synced","teams.created","teams.sat.completed","teams.stripe.completed","teams.openpay.completed","teams.sat.manifest.signed"],"example":"sat.invoice.synced"}},"status":{"type":"string","enum":["active","inactive"]},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"owner":{"type":"string"},"created_at":{"type":"number"},"version":{"oneOf":[{"type":"string","enum":["v1","v2",null]},{"type":"null","enum":["v1","v2",null]}]},"type":{"oneOf":[{"type":"string","enum":["gigstack_connect",null]},{"type":"null","enum":["gigstack_connect",null]}]},"revision":{"type":"string","pattern":"^[0-9a-f]{64}$"},"effect_scope":{"type":"string","enum":["shared_team_webhooks"]},"security":{"type":"object","additionalProperties":false,"required":["header_names","configured","status"],"properties":{"header_names":{"type":"array","items":{"type":"string"}},"configured":{"type":"boolean"},"status":{"type":"string","enum":["not_configured","configured","pending","failed"]}}},"signing":{"type":"object","additionalProperties":false,"required":["enabled","configured","status"],"properties":{"enabled":{"type":"boolean"},"configured":{"type":"boolean"},"status":{"type":"string","enum":["disabled","configured","pending","failed"]}}}},"isRequired":true,"uniqueKey":"oneOf.0.data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.data","typeLabel":"object | null"},"operation":{"type":"object","additionalProperties":false,"required":["operation_id","team_id","webhook_id","action","status","created_at","effect_scope","secret_attempts","error","credential_delivery"],"properties":{"operation_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.0.operation.operation_id","typeLabel":"string\u003cuuid>"},"team_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.operation.team_id","typeLabel":"string"},"webhook_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.operation.webhook_id","typeLabel":"string"},"action":{"type":"string","enum":["create","update"],"isRequired":true,"uniqueKey":"oneOf.0.operation.action","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["processing","completed","outcome_unknown","conflict"],"isRequired":true,"uniqueKey":"oneOf.0.operation.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"number","isRequired":true,"uniqueKey":"oneOf.0.operation.created_at","typeLabel":"number"},"effect_scope":{"type":"string","enum":["shared_team_webhooks"],"isRequired":true,"uniqueKey":"oneOf.0.operation.effect_scope","typeLabel":"enum\u003cstring>"},"secret_attempts":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"oneOf.0.operation.secret_attempts","typeLabel":"integer"},"error":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.operation.error.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.operation.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.operation.error","typeLabel":"string | null"},"credential_delivery":{"type":"string","enum":["not_replayed"],"isRequired":true,"uniqueKey":"oneOf.0.operation.credential_delivery","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.0.operation","typeLabel":"object"},"signing_secret":{"type":"string","description":"New signing key, only on first successful authenticated-browser response. Never replayed.","uniqueKey":"oneOf.0.signing_secret","typeLabel":"string"},"credential_delivery":{"type":"string","enum":["first_response"],"uniqueKey":"oneOf.0.credential_delivery","typeLabel":"enum\u003cstring>"},"error":{"type":"object","additionalProperties":false,"required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"}},"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"oneOf.1.success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"data":null,"operation":{"operation_id":"ae7388d2-79d2-4333-9eb8-33b1a1e21b58","team_id":"team_example","webhook_id":"wh_example","action":"create","status":"outcome_unknown","created_at":1709090576567,"effect_scope":"shared_team_webhooks","secret_attempts":1,"error":"webhook_secret_write_unconfirmed","credential_delivery":"not_replayed"},"error":{"code":"webhook_configuration_unconfirmed","message":"Read this operation before any new change."}},"examples":{"Example":{"title":"Example","value":{"success":false,"data":null,"operation":{"operation_id":"ae7388d2-79d2-4333-9eb8-33b1a1e21b58","team_id":"team_example","webhook_id":"wh_example","action":"create","status":"outcome_unknown","created_at":1709090576567,"effect_scope":"shared_team_webhooks","secret_attempts":1,"error":"webhook_secret_write_unconfirmed","credential_delivery":"not_replayed"},"error":{"code":"webhook_configuration_unconfirmed","message":"Read this operation before any new change."}}}},"exampleType":"examples"}},"exampleType":"examples"},"295f5b18-11f9-4cd1-a8b5-9470a3a73624":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","description":"Standardized error envelope emitted by `sendErrorResponse` and its helpers\n(`sendValidationError`, `sendNotFoundError`, `sendUnauthorizedError`,\n`sendForbiddenError`, `sendConflictError`, `sendBadRequestError`,\n`sendInternalServerError`).\n","required":["success","error","timestamp"],"example":{"success":false,"error":{"code":"internal_server_error","message":"An internal server error occurred"},"timestamp":1767225600000},"properties":{"success":{"type":"boolean","enum":[false],"example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code. Values emitted by the shared helpers:\n`unauthorized`, `forbidden`, `invalid_token`, `validation_failed`,\n`invalid_request_body`, `missing_required_field`, `invalid_field_value`,\n`resource_not_found`, `resource_already_exists`, `resource_conflict`,\n`business_rule_violation`, `operation_not_allowed`,\n`insufficient_permissions`, `external_service_error`,\n`payment_processor_error`, `cfdi_service_error`,\n`internal_server_error`, `service_unavailable`, `rate_limit_exceeded`,\n`database_error`, `data_integrity_error`, `file_not_found`,\n`file_upload_error`, `invalid_file_format`. Individual handlers may\nemit additional endpoint-specific codes, documented per operation.\n","example":"validation_failed","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"error.details.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"error.details.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"error.details.oneOf.1","typeLabel":"string[]"},{"type":"object","description":"Present only when the handler supplies detail. Validation failures\nemit an array of `\"\u003cfield path>: \u003cmessage>\"` strings. An object only\nwhere an operation documents its keys: account billing answers `409`\n`billing_operation_pending` with `{ \"operation_id\": \"\u003cid>\" }`, the\noperation holding the account lock, to reconcile\n(`POST /teams/{id}/billing/operations/{operationId}/reconcile`).\n","example":["currency: Field is required"],"uniqueKey":"error.details.oneOf.2","typeLabel":"object"}],"uniqueKey":"error.details","typeLabel":"string | string[] | object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"timestamp":{"type":"integer","format":"int64","description":"Server time in epoch milliseconds.","example":1767225600000,"isRequired":true,"uniqueKey":"timestamp","typeLabel":"integer\u003cint64>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"internal_server_error","message":"An internal server error occurred"},"timestamp":1767225600000}}},"exampleType":"generated"}},"exampleType":"generated"},"ab124369-872e-49e5-8e8d-00296fa35737":{"description":"Current credential or configuration result could not be confirmed; recover by reading the known operation.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"callbacks":[{"callbackName":"webhookEvent","expression":"{$request.body#/url}","method":"post","resolved":{"operation":{"summary":"Event delivery (sent by gigstack to your URL)","description":"gigstack sends a `POST` for each event to every **active** webhook subscribed to it.\nThe body formats are described in `WebhookEventPayload`.\n\n**Resource events** (`payment.*`, `invoice.*`, `receipt.*`, `customer.*`, `service.*`)\n- Body: `WebhookPayloadV1` or `WebhookPayloadV2`, depending on the webhook's payload version.\n- Headers: `Content-Type: application/json`, plus any custom headers configured on the\n webhook in the gigstack dashboard (for example `Authorization`). When configured, the delivery worker sends Webhook-Id, Webhook-Timestamp and Webhook-Signature.\n- Each attempt times out after 10 seconds.\n- `408`, `429`, `5xx`, timeouts and network errors are retried with exponential backoff,\n up to 16 attempts in total. Any other `4xx` is final.\n- Webhooks are never disabled automatically because of failed deliveries.\n\n**`sat.invoice.synced`**\n- Body: `SatInvoiceSyncedWebhookEvent`.\n- Headers: `Content-Type: application/json`, `X-Gigstack-Event`, and `X-Gigstack-Signature`.\n The signature is `sha256=` + hex HMAC-SHA256 of the raw body, keyed with the webhook's\n `secret`. It is present only on existing endpoints that still hold a legacy signing secret. New endpoint creation does not generate this legacy secret. Configured canonical signing adds the separate Webhook-Id, Webhook-Timestamp and Webhook-Signature headers; configured custom headers also apply. Unresolved configured credentials stop delivery.\n- One attempt with a 10-second timeout. It is never retried, and the response is ignored.\n\n**`invoice_batch.completed`**\n- Sent once when every accepted item of a `POST /invoices/income/batch` batch has a final\n status. Body: `InvoiceBatchCompletedWebhookEvent`.\n- Headers, signature and delivery are the same as for `sat.invoice.synced`: signed, one\n attempt, never retried. Poll `GET /invoices/income/batch/{id}` as a fallback.\n\n**`payment_batch.completed`**\n- Sent once when every accepted item of a `POST /payments/register/batch` batch has a\n final status. Body: `PaymentBatchCompletedWebhookEvent`.\n- Delivered exactly like `invoice_batch.completed`. Poll\n `GET /payments/register/batch/{id}` as a fallback.\n\nOrder across events is not guaranteed, and the same event can arrive more than once.\nDe-duplicate, and respond with a `2xx` quickly.\n","parameters":["0d7ee769-ddd7-4fd6-b48a-12e13c73a751","ccef8cdf-9b61-457c-9ee6-83ceac221e18"],"requestBody":"93938bec-3318-4ef0-a218-e06ac988148c","responses":{"200":"0ebac94c-ab84-49c8-b706-e6a4e10aac4e"},"method":"post","type":"path"},"dependencies":{"parameters":{"0d7ee769-ddd7-4fd6-b48a-12e13c73a751":{"name":"X-Gigstack-Event","in":"header","required":false,"description":"`sat.invoice.synced`, `invoice_batch.completed` and `payment_batch.completed` deliveries only: the event type.","schema":{"type":"string","description":"`sat.invoice.synced`, `invoice_batch.completed` and `payment_batch.completed` deliveries only: the event type.\nEvent type a webhook can subscribe to.","enum":["payment.created","payment.updated","payment.succeeded","payment.canceled","payment.deleted","payment.upcoming_due_date","invoice.created","invoice.canceled","invoice.failed","invoice_batch.completed","payment_batch.completed","receipt.created","receipt.updated","receipt.completed","receipt.deleted","customer.created","customer.updated","customer.deleted","service.created","service.updated","service.deleted","sat.invoice.synced","teams.created","teams.sat.completed","teams.stripe.completed","teams.openpay.completed","teams.sat.manifest.signed"],"example":"sat.invoice.synced","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"ccef8cdf-9b61-457c-9ee6-83ceac221e18":{"name":"X-Gigstack-Signature","in":"header","required":false,"description":"`sat.invoice.synced`, `invoice_batch.completed` and `payment_batch.completed` deliveries only: `sha256=\u003chex HMAC-SHA256 of the raw body, keyed with the webhook secret>`","schema":{"type":"string","pattern":"^sha256=[0-9a-f]{64}$","isRequired":false,"description":"`sat.invoice.synced`, `invoice_batch.completed` and `payment_batch.completed` deliveries only: `sha256=\u003chex HMAC-SHA256 of the raw body, keyed with the webhook secret>`","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Body of a webhook delivery (`Content-Type: application/json`). There are three formats:\n\n- **Resource events** (`payment.*`, `invoice.*`, `receipt.*`, `customer.*`, `service.*`) use the\n webhook's payload version:\n - `WebhookPayloadV1`: the default for webhooks created with `POST /webhooks`.\n - `WebhookPayloadV2`: for webhooks created or last saved in the gigstack dashboard, or on teams\n whose default is v2.\n- **`sat.invoice.synced`** always uses `SatInvoiceSyncedWebhookEvent`.\n- **`invoice_batch.completed`** always uses `InvoiceBatchCompletedWebhookEvent`.\n- **`payment_batch.completed`** always uses `PaymentBatchCompletedWebhookEvent`.\n\nTell them apart by shape:\n- v2 has `type` and `data.object`.\n- v1 has `event`, `team` and `webhook`.\n- The SAT and batch events have `event` and `created_at`; read `event` to tell them apart.\n","required":["event","team","webhook","livemode","data"],"properties":{"event":{"type":"string","description":"Event type a webhook can subscribe to.","enum":["payment.created","payment.updated","payment.succeeded","payment.canceled","payment.deleted","payment.upcoming_due_date","invoice.created","invoice.canceled","invoice.failed","invoice_batch.completed","payment_batch.completed","receipt.created","receipt.updated","receipt.completed","receipt.deleted","customer.created","customer.updated","customer.deleted","service.created","service.updated","service.deleted","sat.invoice.synced","teams.created","teams.sat.completed","teams.stripe.completed","teams.openpay.completed","teams.sat.manifest.signed"],"example":"sat.invoice.synced","isRequired":true,"uniqueKey":"oneOf.0.event","typeLabel":"enum\u003cstring>"},"team":{"type":"string","description":"Team that owns the webhook.","example":"team_1234567890","isRequired":true,"uniqueKey":"oneOf.0.team","typeLabel":"string"},"webhook":{"type":"string","description":"ID of the webhook receiving this delivery.","example":"wh_dyS2ZVTj","isRequired":true,"uniqueKey":"oneOf.0.webhook","typeLabel":"string"},"livemode":{"type":"boolean","description":"`false` for test-mode resources.","example":true,"isRequired":true,"uniqueKey":"oneOf.0.livemode","typeLabel":"boolean"},"data":{"type":"object","description":"The resource at the moment of the event, in gigstack's internal (camelCase) format.\n`metadata` values are sent as strings.\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.0.data","typeLabel":"object"},"connectedTeam":{"type":"string","description":"Only on deliveries to a gigstack Connect master team. The connected team the event came from.","uniqueKey":"oneOf.0.connectedTeam","typeLabel":"string"},"connectedTeamMetadata":{"type":"object","description":"Only with `connectedTeam`, when that team has metadata. Values are strings.","additionalProperties":{"type":"string","uniqueKey":"oneOf.0.connectedTeamMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.0.connectedTeamMetadata","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Body of a webhook delivery (`Content-Type: application/json`). There are three formats:\n\n- **Resource events** (`payment.*`, `invoice.*`, `receipt.*`, `customer.*`, `service.*`) use the\n webhook's payload version:\n - `WebhookPayloadV1`: the default for webhooks created with `POST /webhooks`.\n - `WebhookPayloadV2`: for webhooks created or last saved in the gigstack dashboard, or on teams\n whose default is v2.\n- **`sat.invoice.synced`** always uses `SatInvoiceSyncedWebhookEvent`.\n- **`invoice_batch.completed`** always uses `InvoiceBatchCompletedWebhookEvent`.\n- **`payment_batch.completed`** always uses `PaymentBatchCompletedWebhookEvent`.\n\nTell them apart by shape:\n- v2 has `type` and `data.object`.\n- v1 has `event`, `team` and `webhook`.\n- The SAT and batch events have `event` and `created_at`; read `event` to tell them apart.\n","required":["id","type","created","livemode","data"],"properties":{"id":{"type":"string","description":"Unique per event and webhook. Stays the same across every retry and resend of that delivery,\nso use it to de-duplicate.\n","example":"log_4GqT7mZx9LpR2vWc8NdK--wh_dyS2ZVTj","isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string"},"type":{"type":"string","description":"Event type a webhook can subscribe to.","enum":["payment.created","payment.updated","payment.succeeded","payment.canceled","payment.deleted","payment.upcoming_due_date","invoice.created","invoice.canceled","invoice.failed","invoice_batch.completed","payment_batch.completed","receipt.created","receipt.updated","receipt.completed","receipt.deleted","customer.created","customer.updated","customer.deleted","service.created","service.updated","service.deleted","sat.invoice.synced","teams.created","teams.sat.completed","teams.stripe.completed","teams.openpay.completed","teams.sat.manifest.signed"],"example":"sat.invoice.synced","isRequired":true,"uniqueKey":"oneOf.1.type","typeLabel":"enum\u003cstring>"},"created":{"type":"integer","format":"int64","description":"When the delivery was queued, Unix epoch **milliseconds**.","example":1767225600000,"isRequired":true,"uniqueKey":"oneOf.1.created","typeLabel":"integer\u003cint64>"},"livemode":{"type":"boolean","description":"`false` for test-mode resources.","example":true,"isRequired":true,"uniqueKey":"oneOf.1.livemode","typeLabel":"boolean"},"data":{"type":"object","required":["object"],"properties":{"object":{"type":"object","description":"The resource in the same format the API returns. It is read when the delivery is sent,\nso a retried delivery can show a newer state than the event. For `*.deleted` events it\nis the last known state.\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.data.object","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.1.data","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","description":"Body of a webhook delivery (`Content-Type: application/json`). There are three formats:\n\n- **Resource events** (`payment.*`, `invoice.*`, `receipt.*`, `customer.*`, `service.*`) use the\n webhook's payload version:\n - `WebhookPayloadV1`: the default for webhooks created with `POST /webhooks`.\n - `WebhookPayloadV2`: for webhooks created or last saved in the gigstack dashboard, or on teams\n whose default is v2.\n- **`sat.invoice.synced`** always uses `SatInvoiceSyncedWebhookEvent`.\n- **`invoice_batch.completed`** always uses `InvoiceBatchCompletedWebhookEvent`.\n- **`payment_batch.completed`** always uses `PaymentBatchCompletedWebhookEvent`.\n\nTell them apart by shape:\n- v2 has `type` and `data.object`.\n- v1 has `event`, `team` and `webhook`.\n- The SAT and batch events have `event` and `created_at`; read `event` to tell them apart.\n","required":["id","event","created_at","data"],"properties":{"id":{"type":"string","description":"Unique event id, `evt_` followed by 16 hexadecimal characters. Use it to de-duplicate.","example":"evt_4f1c9a7e2b3d5c6a","isRequired":true,"uniqueKey":"oneOf.2.id","typeLabel":"string"},"event":{"type":"string","enum":["sat.invoice.synced"],"example":"sat.invoice.synced","isRequired":true,"uniqueKey":"oneOf.2.event","typeLabel":"enum\u003cstring>"},"created_at":{"type":"integer","description":"When the event was dispatched, Unix epoch **seconds**.","example":1767225600,"isRequired":true,"uniqueKey":"oneOf.2.created_at","typeLabel":"integer"},"data":{"type":"object","description":"`data` of a `sat.invoice.synced` delivery. Sent when the XML of an invoice downloaded from the\nSAT (Descarga Masiva) has been fetched and stored, either by the automatic download or by\n`POST /invoices/sat/{uuid}/retry-xml`.\n","required":["uuid","resource_status","team"],"properties":{"uuid":{"type":"string","description":"Folio fiscal (UUID) of the CFDI.","example":"9D9B0E5B-0341-4C2B-8F3A-6E1D2C4B5A70","isRequired":true,"uniqueKey":"oneOf.2.data.uuid","typeLabel":"string"},"resource_status":{"type":"string","enum":["ready"],"description":"Always `ready` — the XML is stored and the invoice can be read.","example":"ready","isRequired":true,"uniqueKey":"oneOf.2.data.resource_status","typeLabel":"enum\u003cstring>"},"team":{"type":"string","description":"Team that owns the invoice.","example":"team_1234567890","isRequired":true,"uniqueKey":"oneOf.2.data.team","typeLabel":"string"},"direction":{"type":"string","enum":["issued","received"],"description":"Whether your team issued or received the CFDI.","example":"received","uniqueKey":"oneOf.2.data.direction","typeLabel":"enum\u003cstring>"},"issuer":{"type":"object","description":"Issuer of the CFDI, as stored for the SAT invoice.","additionalProperties":true,"example":{"rfc":"EKU9003173C9","name":"ESCUELA KEMPER URGATE"},"uniqueKey":"oneOf.2.data.issuer","typeLabel":"object"},"receiver":{"type":"object","description":"Receiver of the CFDI, as stored for the SAT invoice.","additionalProperties":true,"example":{"rfc":"MEE200101ABC","name":"MI EMPRESA EJEMPLO"},"uniqueKey":"oneOf.2.data.receiver","typeLabel":"object"},"total":{"type":"number","description":"CFDI total.","example":1160,"uniqueKey":"oneOf.2.data.total","typeLabel":"number"},"currency":{"type":"string","example":"MXN","uniqueKey":"oneOf.2.data.currency","typeLabel":"string"},"issue_date":{"type":"string","description":"CFDI issue date as stored for the SAT invoice.","example":"2026-01-15T10:30:00","uniqueKey":"oneOf.2.data.issue_date","typeLabel":"string"},"invoice_type":{"type":"string","enum":["I","E","P","N","T"],"description":"SAT comprobante type.","example":"I","uniqueKey":"oneOf.2.data.invoice_type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"SAT status of the CFDI.","example":"Vigente","uniqueKey":"oneOf.2.data.status","typeLabel":"string"},"credit_charged":{"type":"boolean","description":"Whether a Descarga Masiva credit was charged for this XML.","example":true,"uniqueKey":"oneOf.2.data.credit_charged","typeLabel":"boolean"},"retried":{"type":"boolean","description":"Present and `true` only when the delivery was triggered by `POST /invoices/sat/{uuid}/retry-xml`.","example":true,"uniqueKey":"oneOf.2.data.retried","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"oneOf.2.data","typeLabel":"object"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","description":"Body of a webhook delivery (`Content-Type: application/json`). There are three formats:\n\n- **Resource events** (`payment.*`, `invoice.*`, `receipt.*`, `customer.*`, `service.*`) use the\n webhook's payload version:\n - `WebhookPayloadV1`: the default for webhooks created with `POST /webhooks`.\n - `WebhookPayloadV2`: for webhooks created or last saved in the gigstack dashboard, or on teams\n whose default is v2.\n- **`sat.invoice.synced`** always uses `SatInvoiceSyncedWebhookEvent`.\n- **`invoice_batch.completed`** always uses `InvoiceBatchCompletedWebhookEvent`.\n- **`payment_batch.completed`** always uses `PaymentBatchCompletedWebhookEvent`.\n\nTell them apart by shape:\n- v2 has `type` and `data.object`.\n- v1 has `event`, `team` and `webhook`.\n- The SAT and batch events have `event` and `created_at`; read `event` to tell them apart.\n","required":["id","event","created_at","data"],"properties":{"id":{"type":"string","description":"Unique event id, `evt_` followed by 16 hexadecimal characters. Use it to de-duplicate.","example":"evt_9a2b7c4d1e6f3a8b","isRequired":true,"uniqueKey":"oneOf.3.id","typeLabel":"string"},"event":{"type":"string","enum":["invoice_batch.completed"],"example":"invoice_batch.completed","isRequired":true,"uniqueKey":"oneOf.3.event","typeLabel":"enum\u003cstring>"},"created_at":{"type":"integer","description":"When the event was dispatched, Unix epoch **seconds**.","example":1790784000,"isRequired":true,"uniqueKey":"oneOf.3.created_at","typeLabel":"integer"},"data":{"type":"object","description":"Summary of the finished batch. It carries counts only: to see each invoice, page through\n`GET /invoices/income/batch/{id}/items`; for the rejected items' reasons, read `rejected` on\n`GET /invoices/income/batch/{id}`.\n","required":["id","livemode","total","accepted","rejected","counts","result"],"properties":{"id":{"type":"string","description":"Batch id, as returned by `POST /invoices/income/batch`.","example":"ibatch_5d41402abc4b2a76b9719d911017c592","isRequired":true,"uniqueKey":"oneOf.3.data.id","typeLabel":"string"},"livemode":{"type":"boolean","description":"Mode of the credential that created the batch.","example":true,"isRequired":true,"uniqueKey":"oneOf.3.data.livemode","typeLabel":"boolean"},"total":{"type":"integer","description":"Invoices in the request.","example":250,"isRequired":true,"uniqueKey":"oneOf.3.data.total","typeLabel":"integer"},"accepted":{"type":"integer","description":"Invoices that passed validation and were processed.","example":248,"isRequired":true,"uniqueKey":"oneOf.3.data.accepted","typeLabel":"integer"},"rejected":{"type":"integer","description":"**Number** of invoices refused by validation before anything was stamped. Note that on the batch\nobject `rejected` is the list of those items, not a count.\n","example":2,"isRequired":true,"uniqueKey":"oneOf.3.data.rejected","typeLabel":"integer"},"counts":{"type":"object","description":"Accepted items by status. `queued` is what is still in flight, so it reaches `0` when the batch completes.\nThe five counts add up to `accepted`; rejected items are not counted here.\n","required":["queued","stamped","failed","duplicate","needs_review"],"properties":{"queued":{"type":"integer","description":"Waiting for, or in, a stamping attempt.","example":0,"isRequired":true,"uniqueKey":"oneOf.3.data.counts.queued","typeLabel":"integer"},"stamped":{"type":"integer","description":"Stamped by this batch.","example":245,"isRequired":true,"uniqueKey":"oneOf.3.data.counts.stamped","typeLabel":"integer"},"failed":{"type":"integer","description":"Ended without an invoice. See each item's `error`.","example":2,"isRequired":true,"uniqueKey":"oneOf.3.data.counts.failed","typeLabel":"integer"},"duplicate":{"type":"integer","description":"Already issued under the same `idempotency_key` before; not issued again.","example":1,"isRequired":true,"uniqueKey":"oneOf.3.data.counts.duplicate","typeLabel":"integer"},"needs_review":{"type":"integer","description":"The PAC could not confirm whether the invoice was stamped. gigstack support resolves these.","example":0,"isRequired":true,"uniqueKey":"oneOf.3.data.counts.needs_review","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"oneOf.3.data.counts","typeLabel":"object"},"result":{"oneOf":[{"type":"string","description":"How a finished batch turned out. `null` while `status` is `processing`.\n\n- `completed`: every item was issued (`stamped`, or `duplicate` because it had been issued before), and\n nothing was rejected.\n- `partially_completed`: at least one item was issued, and at least one was not (`failed`,\n `needs_review` or rejected up front).\n- `failed`: no item was issued.\n","enum":["completed","partially_completed","failed",null],"example":"partially_completed","isRequired":true,"uniqueKey":"oneOf.3.data.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How a finished batch turned out. `null` while `status` is `processing`.\n\n- `completed`: every item was issued (`stamped`, or `duplicate` because it had been issued before), and\n nothing was rejected.\n- `partially_completed`: at least one item was issued, and at least one was not (`failed`,\n `needs_review` or rejected up front).\n- `failed`: no item was issued.\n","enum":["completed","partially_completed","failed",null],"example":"partially_completed","isRequired":true,"uniqueKey":"oneOf.3.data.result.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.data.result","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"oneOf.3.data","typeLabel":"object"}},"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","description":"Body of a webhook delivery (`Content-Type: application/json`). There are three formats:\n\n- **Resource events** (`payment.*`, `invoice.*`, `receipt.*`, `customer.*`, `service.*`) use the\n webhook's payload version:\n - `WebhookPayloadV1`: the default for webhooks created with `POST /webhooks`.\n - `WebhookPayloadV2`: for webhooks created or last saved in the gigstack dashboard, or on teams\n whose default is v2.\n- **`sat.invoice.synced`** always uses `SatInvoiceSyncedWebhookEvent`.\n- **`invoice_batch.completed`** always uses `InvoiceBatchCompletedWebhookEvent`.\n- **`payment_batch.completed`** always uses `PaymentBatchCompletedWebhookEvent`.\n\nTell them apart by shape:\n- v2 has `type` and `data.object`.\n- v1 has `event`, `team` and `webhook`.\n- The SAT and batch events have `event` and `created_at`; read `event` to tell them apart.\n","required":["id","event","created_at","data"],"properties":{"id":{"type":"string","description":"Unique event id, `evt_` followed by 16 hexadecimal characters. Use it to de-duplicate.","example":"evt_3c8d1e5f7a9b2c4d","isRequired":true,"uniqueKey":"oneOf.4.id","typeLabel":"string"},"event":{"type":"string","enum":["payment_batch.completed"],"example":"payment_batch.completed","isRequired":true,"uniqueKey":"oneOf.4.event","typeLabel":"enum\u003cstring>"},"created_at":{"type":"integer","description":"When the event was dispatched, Unix epoch **seconds**.","example":1790784000,"isRequired":true,"uniqueKey":"oneOf.4.created_at","typeLabel":"integer"},"data":{"type":"object","description":"Summary of the finished batch. It carries counts only: to see each payment, page through\n`GET /payments/register/batch/{id}/items`; for the rejected items' reasons, read `rejected` on\n`GET /payments/register/batch/{id}`.\n","required":["id","livemode","total","accepted","rejected","counts","result"],"properties":{"id":{"type":"string","description":"Batch id, as returned by `POST /payments/register/batch`.","example":"pbatch_7f3a9c1e5b2d4f6a8c0e2a4b6d8f0a1c","isRequired":true,"uniqueKey":"oneOf.4.data.id","typeLabel":"string"},"livemode":{"type":"boolean","description":"Mode of the credential that created the batch.","example":true,"isRequired":true,"uniqueKey":"oneOf.4.data.livemode","typeLabel":"boolean"},"total":{"type":"integer","description":"Payments in the request.","example":120,"isRequired":true,"uniqueKey":"oneOf.4.data.total","typeLabel":"integer"},"accepted":{"type":"integer","description":"Payments that passed validation and were processed.","example":119,"isRequired":true,"uniqueKey":"oneOf.4.data.accepted","typeLabel":"integer"},"rejected":{"type":"integer","description":"**Number** of payments refused by validation before anything was registered. Note that on the\nbatch object `rejected` is the list of those items, not a count.\n","example":1,"isRequired":true,"uniqueKey":"oneOf.4.data.rejected","typeLabel":"integer"},"counts":{"type":"object","description":"Accepted items by status. `queued` is what is still in flight, so it reaches `0` when the batch completes.\nThe four counts add up to `accepted`; rejected items are not counted here.\n","required":["queued","registered","failed","duplicate"],"properties":{"queued":{"type":"integer","description":"Waiting for, or in, a registration attempt.","example":0,"isRequired":true,"uniqueKey":"oneOf.4.data.counts.queued","typeLabel":"integer"},"registered":{"type":"integer","description":"Registered by this batch.","example":117,"isRequired":true,"uniqueKey":"oneOf.4.data.counts.registered","typeLabel":"integer"},"failed":{"type":"integer","description":"Ended without a payment. See each item's `error`.","example":1,"isRequired":true,"uniqueKey":"oneOf.4.data.counts.failed","typeLabel":"integer"},"duplicate":{"type":"integer","description":"Already registered under the same `idempotency_key` before; not registered again.","example":1,"isRequired":true,"uniqueKey":"oneOf.4.data.counts.duplicate","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"oneOf.4.data.counts","typeLabel":"object"},"result":{"oneOf":[{"type":"string","description":"How a finished batch turned out. `null` while `status` is `processing`.\n\n- `completed`: every item was issued (`stamped`, or `duplicate` because it had been issued before), and\n nothing was rejected.\n- `partially_completed`: at least one item was issued, and at least one was not (`failed`,\n `needs_review` or rejected up front).\n- `failed`: no item was issued.\n","enum":["completed","partially_completed","failed",null],"example":"partially_completed","isRequired":true,"uniqueKey":"oneOf.4.data.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"How a finished batch turned out. `null` while `status` is `processing`.\n\n- `completed`: every item was issued (`stamped`, or `duplicate` because it had been issued before), and\n nothing was rejected.\n- `partially_completed`: at least one item was issued, and at least one was not (`failed`,\n `needs_review` or rejected up front).\n- `failed`: no item was issued.\n","enum":["completed","partially_completed","failed",null],"example":"partially_completed","isRequired":true,"uniqueKey":"oneOf.4.data.result.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.data.result","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"oneOf.4.data","typeLabel":"object"}},"uniqueKey":"oneOf.4","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"v1":{"title":"v1","summary":"Resource event, v1 body","value":{"event":"payment.succeeded","team":"team_1234567890","webhook":"wh_dyS2ZVTj","livemode":true,"data":{"id":"payment_1234567890","status":"succeeded"}}},"v2":{"title":"v2","summary":"Resource event, v2 body","value":{"id":"log_4GqT7mZx9LpR2vWc8NdK--wh_dyS2ZVTj","type":"payment.succeeded","created":1767225600000,"livemode":true,"data":{"object":{"id":"payment_1234567890","status":"succeeded"}}}},"satInvoiceSynced":{"title":"satInvoiceSynced","summary":"sat.invoice.synced","value":{"id":"evt_4f1c9a7e2b3d5c6a","event":"sat.invoice.synced","created_at":1767225600,"data":{"uuid":"9D9B0E5B-0341-4C2B-8F3A-6E1D2C4B5A70","direction":"received","resource_status":"ready","issuer":{"rfc":"EKU9003173C9","name":"ESCUELA KEMPER URGATE"},"receiver":{"rfc":"MEE200101ABC","name":"MI EMPRESA EJEMPLO"},"total":1160,"currency":"MXN","issue_date":"2026-01-15T10:30:00","invoice_type":"I","status":"Vigente","team":"team_1234567890","credit_charged":true}}},"invoiceBatchCompleted":{"title":"invoiceBatchCompleted","summary":"invoice_batch.completed","value":{"id":"evt_9a2b7c4d1e6f3a8b","event":"invoice_batch.completed","created_at":1790784000,"data":{"id":"ibatch_5d41402abc4b2a76b9719d911017c592","livemode":true,"total":250,"accepted":248,"rejected":2,"counts":{"queued":0,"stamped":245,"failed":2,"duplicate":1,"needs_review":0},"result":"partially_completed"}}},"paymentBatchCompleted":{"title":"paymentBatchCompleted","summary":"payment_batch.completed","value":{"id":"evt_3c8d1e5f7a9b2c4d","event":"payment_batch.completed","created_at":1790784000,"data":{"id":"pbatch_7f3a9c1e5b2d4f6a8c0e2a4b6d8f0a1c","livemode":true,"total":120,"accepted":119,"rejected":1,"counts":{"queued":0,"registered":117,"failed":1,"duplicate":1},"result":"partially_completed"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"0ebac94c-ab84-49c8-b706-e6a4e10aac4e":{"description":"Any `2xx` acknowledges the delivery.\n- For resource events, `408`, `429` and `5xx` trigger a retry, and any other `4xx` is final.\n- For `sat.invoice.synced`, `invoice_batch.completed` and `payment_batch.completed` the response is ignored.\n","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{}}}}],"security":{"a94c0195-c2ad-4a06-898f-b9c1ea1240da":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"**Authentication Method:** HTTP Bearer token.\n\nThe runtime requires the literal `Bearer ` prefix — a bare token in the\n`Authorization` header is rejected with `401 unauthorized`.\n\n**Header Format:** `Authorization: Bearer YOUR_API_KEY`\n\nYour API key is a JWT. Live keys operate on live data (`livemode: true`);\ntest keys operate on isolated test data (`livemode: false`).\n\n**Get your key at:** [app.gigstack.pro/settings?tab=api](https://app.gigstack.pro/settings?tab=api)\n\n**Errors:** credential failures are answered by the authentication layer with a raw\n`{ \"message\": … }` body, not the standardized envelope — `401` for a missing, malformed or\nexpired token, `403` for a revoked key or a plan without API access. See the `Unauthorized`\nand `AuthForbidden` responses.\n","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"87059d0e-ccc8-43e7-97f3-afea666258e3":{"url":"https://api.gigstack.io/v2","description":"Public API for standard live and test-mode keys. Test data is isolated by the key mode\n(`livemode: false`). Internal staging is a separate deployment and key store; see\nhttps://docs.gigstack.io/authentication#environments for its base URL.\n"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"**Authentication Method:** HTTP Bearer token.\n\nThe runtime requires the literal `Bearer ` prefix — a bare token in the\n`Authorization` header is rejected with `401 unauthorized`.\n\n**Header Format:** `Authorization: Bearer YOUR_API_KEY`\n\nYour API key is a JWT. Live keys operate on live data (`livemode: true`);\ntest keys operate on isolated test data (`livemode: false`).\n\n**Get your key at:** [app.gigstack.pro/settings?tab=api](https://app.gigstack.pro/settings?tab=api)\n\n**Errors:** credential failures are answered by the authentication layer with a raw\n`{ \"message\": … }` body, not the standardized envelope — `401` for a missing, malformed or\nexpired token, `403` for a revoked key or a plan without API access. See the `Unauthorized`\nand `AuthForbidden` responses.\n","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"**Authentication Method:** HTTP Bearer token.\n\nThe runtime requires the literal `Bearer ` prefix — a bare token in the\n`Authorization` header is rejected with `401 unauthorized`.\n\n**Header Format:** `Authorization: Bearer YOUR_API_KEY`\n\nYour API key is a JWT. Live keys operate on live data (`livemode: true`);\ntest keys operate on isolated test data (`livemode: false`).\n\n**Get your key at:** [app.gigstack.pro/settings?tab=api](https://app.gigstack.pro/settings?tab=api)\n\n**Errors:** credential failures are answered by the authentication layer with a raw\n`{ \"message\": … }` body, not the standardized envelope — `401` for a missing, malformed or\nexpired token, `403` for a revoked key or a plan without API access. See the `Unauthorized`\nand `AuthForbidden` responses.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"gigstack-736714cc","siteName":"gigstack","title":"Create webhook - gigstack","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-11T22:53:56.657Z","originalFileLocation":"reference/createWebhooks.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:{} clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.\">\u003cmeta data-mint-head name=\"application-name\" content=\"gigstack\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create webhook - gigstack\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:{} clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"gigstack\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gigstack.io/reference/createWebhooks\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gigstack-736714cc.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Create+webhook\u0026amp;description=Configuration+is+shared+across+live+and+test+data.+Current+administrator+authority+and+the+original+credential+are+rechecked.+Personal+administrators+on+v2+plan\u0026amp;theme=c8c9058b183856e8fedb0215\u0026amp;signature=247e2ad43cb361f33508960d5280cb74fd02fcd09b19a031bd89a4e1f7dfe364\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create webhook - gigstack\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:{} clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gigstack-736714cc.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Create+webhook\u0026amp;description=Configuration+is+shared+across+live+and+test+data.+Current+administrator+authority+and+the+original+credential+are+rechecked.+Personal+administrators+on+v2+plan\u0026amp;theme=c8c9058b183856e8fedb0215\u0026amp;signature=247e2ad43cb361f33508960d5280cb74fd02fcd09b19a031bd89a4e1f7dfe364\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gigstack-736714cc/XxFE_5jrUgFYfbts/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"gigstack\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#527A16\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gigstack.io/reference/createWebhooks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/createWebhooks.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gigstack.io/#organization\",\"name\":\"gigstack\",\"url\":\"https://docs.gigstack.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gigstack-736714cc/n52DA3e1uZaES4AD/logo/light.svg?fit=max\u0026auto=format\u0026n=n52DA3e1uZaES4AD\u0026q=85\u0026s=c2a76374f23410e1b668aa0f9c87e282\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gigstack.io#website\",\"name\":\"gigstack\",\"url\":\"https://docs.gigstack.io\",\"publisher\":{\"@id\":\"https://docs.gigstack.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gigstack.io/reference/createWebhooks#webpage\",\"url\":\"https://docs.gigstack.io/reference/createWebhooks\",\"name\":\"Create webhook\",\"description\":\"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:{} clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.\",\"dateModified\":\"2026-10-11T22:53:56.657Z\",\"isPartOf\":{\"@id\":\"https://docs.gigstack.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gigstack.io/reference/createWebhooks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gigstack.io/reference/createWebhooks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"gigstack\",\"item\":\"https://docs.gigstack.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create webhook\",\"item\":\"https://docs.gigstack.io/reference/createWebhooks\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gigstack.io/reference/createWebhooks#apireference\",\"headline\":\"Create webhook\",\"name\":\"Create webhook\",\"description\":\"Configuration is shared across live and test data. Current administrator authority and the original credential are rechecked. Personal administrators on v2 plans need apiAndWebhooks for create/update; legacy access is preserved. Readback and authorized deletion remain available after a downgrade. Use a stable operation_id and expected_revision to avoid overwriting a newer configuration. Secret header/signing fields require an authenticated browser; use the saved-endpoint browser handoff from MCP/CLI. Omitted security preserves headers; security.headers:{} clears them. Never put secrets in agent arguments. An inactive endpoint may have an empty events list. New endpoints do not mint a legacy secret.\",\"url\":\"https://docs.gigstack.io/reference/createWebhooks\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gigstack.io/reference/createWebhooks#webpage\"},\"dateModified\":\"2026-10-11T22:53:56.657Z\",\"publisher\":{\"@id\":\"https://docs.gigstack.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gigstack.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"gigstack\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"gigstack\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/createWebhooks.md","siteName":"gigstack","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Core resources","pages":[{"group":"Clients","expanded":true,"pages":[{"openapi":"openapi.json POST /clients","title":"Create client","href":"/reference/createClients"},{"openapi":"openapi.json GET /clients/{id}","title":"Get client","href":"/reference/getClientsById"},{"openapi":"openapi.json PUT /clients/{id}","title":"Update client","href":"/reference/updateClientsById"},{"openapi":"openapi.json DELETE /clients/{id}","title":"Delete client","href":"/reference/deleteClientsById"},{"openapi":"openapi.json GET /clients","title":"List clients","href":"/reference/listClients"},{"openapi":"openapi.json GET /clients/search","title":"Search clients","href":"/reference/getClientsSearch"},{"openapi":"openapi.json POST /clients/{id}/validate","title":"Validate client fiscal information","href":"/reference/validateClientById"},{"openapi":"openapi.json POST /clients/csf","title":"Upload CSF PDF to create or update client","href":"/reference/createClientsCsf"},{"openapi":"openapi.json POST /clients/{id}/stamp-pending-receipts","title":"Stamp pending receipts","href":"/reference/stampClientPendingReceipts"},{"openapi":"openapi.json POST /clients/validate/{id}","deprecated":true,"title":"Validate client fiscal information (deprecated path)","href":"/reference/createClientsValidateById"},{"openapi":"openapi.json POST /clients/customerportal","deprecated":true,"title":"Get client customer portal access token","href":"/reference/createClientsCustomerportal"},{"group":"Support documents","pages":[{"openapi":"openapi.json GET /clients/{id}/support-documents","title":"List a client's support documents","href":"/reference/getClientsByIdSupportDocuments"},{"openapi":"openapi.json POST /clients/{id}/support-documents","title":"Upload a client support document","href":"/reference/createClientsByIdSupportDocuments"}]}]},{"group":"Services","expanded":true,"pages":[{"openapi":"openapi.json POST /services","title":"Create service","href":"/reference/createServices"},{"openapi":"openapi.json GET /services/{id}","title":"Get service","href":"/reference/getServicesById"},{"openapi":"openapi.json PUT /services/{id}","title":"Update service","href":"/reference/updateServicesById"},{"openapi":"openapi.json DELETE /services/{id}","title":"Delete service","href":"/reference/deleteServicesById"},{"openapi":"openapi.json GET /services","title":"List services","href":"/reference/listServices"}]},{"group":"Invoices","expanded":true,"pages":[{"openapi":"openapi.json GET /invoices/{id}","title":"Get invoice","href":"/reference/getInvoiceById"},{"openapi":"openapi.json GET /invoices/search","title":"Search invoices","href":"/reference/getInvoicesSearch"},{"openapi":"openapi.json GET /invoices/errors","title":"List CFDI errors","href":"/reference/getInvoicesErrors"},{"openapi":"openapi.json GET /invoices/{id}/files","title":"Get invoice files","href":"/reference/getInvoicesByIdFiles"},{"openapi":"openapi.json POST /invoices/{id}/send","title":"Resend invoice email","href":"/reference/createInvoicesByIdSend"},{"openapi":"openapi.json PUT /invoices/{id}/pdf-details","title":"Edit an invoice's PDF notes and fields (Colombia)","href":"/reference/updateInvoicesByIdPdfDetails"},{"openapi":"openapi.json POST /invoices/{id}/cancel","title":"Cancel invoice","href":"/reference/cancelInvoiceById"},{"openapi":"openapi.json POST /invoices/eom/run","title":"Trigger end-of-month global invoicing","href":"/reference/runEndOfMonthInvoicing"},{"openapi":"openapi.json DELETE /invoices/{id}","deprecated":true,"title":"Cancel invoice (deprecated DELETE)","href":"/reference/cancelInvoice"},{"group":"Income invoices","pages":[{"openapi":"openapi.json POST /invoices/income","title":"Create income invoice","href":"/reference/createInvoicesIncome"},{"openapi":"openapi.json GET /invoices/income/{id}","title":"Get income invoice","href":"/reference/getInvoicesIncomeById"},{"openapi":"openapi.json GET /invoices/income","title":"List income invoices","href":"/reference/getInvoicesIncome"}]},{"group":"Egress invoices","pages":[{"openapi":"openapi.json POST /invoices/egress","title":"Create egress invoice","href":"/reference/createInvoicesEgress"},{"openapi":"openapi.json GET /invoices/egress/{id}","title":"Get egress invoice","href":"/reference/getInvoicesEgressById"},{"openapi":"openapi.json GET /invoices/egress","title":"List egress invoices","href":"/reference/getInvoicesEgress"}]},{"group":"Payment complements","pages":[{"openapi":"openapi.json POST /invoices/payment","title":"Create payment complement (complemento de pago)","href":"/reference/createInvoicesPayment"},{"openapi":"openapi.json GET /invoices/payment/{id}","title":"Get payment complement invoice","href":"/reference/getInvoicesPaymentById"},{"openapi":"openapi.json GET /invoices/payment","title":"List payment complement invoices","href":"/reference/getInvoicesPayment"}]},{"group":"Transfer invoices (Carta Porte)","pages":[{"openapi":"openapi.json POST /invoices/transfer","title":"Create transfer invoice (Carta Porte)","href":"/reference/postInvoicesTransfer"},{"openapi":"openapi.json GET /invoices/transfer/{id}","title":"Get transfer invoice","href":"/reference/getInvoicesTransferById"},{"openapi":"openapi.json GET /invoices/transfer","title":"List transfer invoices","href":"/reference/getInvoicesTransfer"}]},{"group":"Draft invoices","pages":[{"openapi":"openapi.json POST /invoices/draft","title":"Create draft invoice (pre-factura)","href":"/reference/createInvoicesDraft"},{"openapi":"openapi.json GET /invoices/draft/{id}","title":"Get draft invoice","href":"/reference/getInvoicesDraftById"},{"openapi":"openapi.json PUT /invoices/draft/{id}","title":"Update draft invoice","href":"/reference/updateInvoicesDraftById"},{"openapi":"openapi.json DELETE /invoices/draft/{id}","title":"Delete draft invoice","href":"/reference/deleteInvoicesDraftById"},{"openapi":"openapi.json GET /invoices/draft","title":"List draft invoices","href":"/reference/getInvoicesDraft"},{"openapi":"openapi.json POST /invoices/draft/{id}/stamp","title":"Stamp draft invoice (finalize)","href":"/reference/createInvoicesDraftByIdStamp"},{"openapi":"openapi.json POST /invoices/draft/{id}/preview","title":"Generate draft preview PDF (pre-factura)","href":"/reference/createInvoicesDraftByIdPreview"}]},{"group":"Invoice batches","pages":[{"openapi":"openapi.json POST /invoices/income/batch","title":"Create a batch of income invoices","href":"/reference/createIncomeInvoiceBatch"},{"openapi":"openapi.json GET /invoices/income/batch/{id}","title":"Get an income invoice batch","href":"/reference/getIncomeInvoiceBatch"},{"openapi":"openapi.json GET /invoices/income/batch/{id}/items","title":"List the items of an income invoice batch","href":"/reference/listIncomeInvoiceBatchItems"}]},{"group":"Support documents","pages":[{"openapi":"openapi.json GET /invoices/{id}/support-documents","title":"List an invoice's support documents","href":"/reference/getInvoicesByIdSupportDocuments"},{"openapi":"openapi.json POST /invoices/{id}/support-documents","title":"Upload an invoice support document","href":"/reference/createInvoicesByIdSupportDocuments"}]}]},{"group":"Receipts","expanded":true,"pages":[{"openapi":"openapi.json POST /receipts","title":"Create receipt","href":"/reference/createReceipts"},{"openapi":"openapi.json GET /receipts/{id}","title":"Get receipt","href":"/reference/getReceiptsById"},{"openapi":"openapi.json GET /receipts","title":"List receipts","href":"/reference/listReceipts"},{"openapi":"openapi.json GET /receipts/search","title":"Search receipts","href":"/reference/getReceiptsSearch"},{"openapi":"openapi.json POST /receipts/from-payments","title":"Create receipts for paid payments","href":"/reference/createReceiptsFromPayments"},{"openapi":"openapi.json POST /receipts/{id}/cancel","title":"Cancel receipt","href":"/reference/cancelReceiptById"},{"openapi":"openapi.json POST /receipts/{id}/stamp","title":"Stamp receipt","href":"/reference/createReceiptsByIdStamp"},{"openapi":"openapi.json POST /receipts/{id}/reopen","title":"Reopen receipt","href":"/reference/createReceiptsByIdReopen"},{"openapi":"openapi.json DELETE /receipts/{id}","deprecated":true,"title":"Cancel receipt (deprecated DELETE)","href":"/reference/deleteReceiptsById"}]},{"group":"Payments","expanded":true,"pages":[{"openapi":"openapi.json POST /payments/request","title":"Request payment (you want to get paid)","href":"/reference/createPaymentsRequest"},{"openapi":"openapi.json POST /payments/register","title":"Register payment (you were already paid)","href":"/reference/createPaymentsRegister"},{"openapi":"openapi.json POST /payments/register/batch","title":"Register a batch of payments","href":"/reference/createPaymentRegisterBatch"},{"openapi":"openapi.json GET /payments/{id}","title":"Get payment","href":"/reference/getPaymentsById"},{"openapi":"openapi.json GET /payments/register/batch/{id}","title":"Get a payment batch","href":"/reference/getPaymentRegisterBatch"},{"openapi":"openapi.json PUT /payments/{id}","title":"Update payment","href":"/reference/updatePaymentsById"},{"openapi":"openapi.json GET /payments","title":"List payments","href":"/reference/listPayments"},{"openapi":"openapi.json GET /payments/search","title":"Search payments","href":"/reference/getPaymentsSearch"},{"openapi":"openapi.json GET /payments/register/batch/{id}/items","title":"List the items of a payment batch","href":"/reference/listPaymentRegisterBatchItems"},{"openapi":"openapi.json POST /payments/{id}/cancel","title":"Cancel payment","href":"/reference/cancelPaymentById"},{"openapi":"openapi.json POST /payments/{id}/paid","title":"Mark payment as paid","href":"/reference/createPaymentsByIdPaid"},{"openapi":"openapi.json POST /payments/{id}/refund","title":"Refund payment","href":"/reference/createPaymentsByIdRefund"},{"openapi":"openapi.json DELETE /payments/{id}","deprecated":true,"title":"Cancel payment (deprecated DELETE)","href":"/reference/deletePaymentsById"},{"group":"Payment links","pages":[{"openapi":"openapi.json POST /payments/links","title":"Create reusable payment link","href":"/reference/createPaymentLink"},{"openapi":"openapi.json GET /payments/links/{linkId}","title":"Get reusable payment link","href":"/reference/getPaymentLink"},{"openapi":"openapi.json GET /payments/links/{linkId}/history/{resourceType}/{resourceId}","title":"Read an authorized historical invoice or receipt","href":"/reference/getPaymentLinkHistoryV2"},{"openapi":"openapi.json GET /payments/links/{linkId}/history/{resourceType}/{resourceId}/files/{fileType}","title":"Read an existing authorized historical PDF or XML","href":"/reference/getPaymentLinkHistoryFileV2"},{"openapi":"openapi.json GET /payments/links/operations/{operationId}","title":"Read payment-link operation","href":"/reference/getPaymentLinkOperation"},{"openapi":"openapi.json PATCH /payments/links/{linkId}","title":"Update reusable payment link","href":"/reference/updatePaymentLink"},{"openapi":"openapi.json DELETE /payments/links/{linkId}","title":"Delete reusable payment link","href":"/reference/deletePaymentLink"},{"openapi":"openapi.json GET /payments/links","title":"List reusable payment links","href":"/reference/listPaymentLinks"}]},{"group":"Reminders","pages":[{"openapi":"openapi.json GET /payments/{paymentId}/reminder-operations/{operationId}","title":"Get a payment reminder operation","href":"/reference/getPaymentReminderOperation"},{"openapi":"openapi.json GET /payments/{paymentId}/reminders","title":"Get payment reminder configuration","href":"/reference/getPaymentReminderConfiguration"},{"openapi":"openapi.json PUT /payments/{paymentId}/reminders","title":"Replace payment reminder configuration","href":"/reference/replacePaymentReminderConfiguration"},{"openapi":"openapi.json POST /payments/{paymentId}/reminder-operations/{operationId}/reconcile","title":"Reconcile a payment reminder operation","href":"/reference/reconcilePaymentReminderOperation"},{"openapi":"openapi.json POST /payments/{paymentId}/reminder-operations/{operationId}/continue","title":"Continue a payment reminder operation","href":"/reference/continuePaymentReminderOperation"},{"openapi":"openapi.json POST /payments/{paymentId}/reminder-recoveries","title":"Prepare a payment reminder recovery","href":"/reference/preparePaymentReminderRecovery"}]},{"group":"Support documents","pages":[{"openapi":"openapi.json GET /payments/{id}/support-documents","title":"List a payment's support documents","href":"/reference/getPaymentsByIdSupportDocuments"},{"openapi":"openapi.json POST /payments/{id}/support-documents","title":"Upload a payment support document","href":"/reference/createPaymentsByIdSupportDocuments"}]}]},{"group":"Retentions","expanded":true,"pages":[{"openapi":"openapi.json POST /retentions","title":"Create retention","href":"/reference/createRetentions"},{"openapi":"openapi.json GET /retentions/{id}","title":"Get retention","href":"/reference/getRetentionsById"},{"openapi":"openapi.json GET /retentions","title":"List retentions","href":"/reference/listRetentions"},{"openapi":"openapi.json GET /retentions/{id}/files","title":"Get retention files","href":"/reference/getRetentionsByIdFiles"},{"openapi":"openapi.json POST /retentions/{id}/cancel","title":"Cancel retention","href":"/reference/cancelRetentionById"},{"openapi":"openapi.json DELETE /retentions/{id}","deprecated":true,"title":"Cancel retention (deprecated DELETE)","href":"/reference/deleteRetentionsById"}]}]},{"group":"SAT and fiscal tools","pages":[{"group":"SAT catalogs","expanded":false,"pages":[{"openapi":"openapi.json GET /catalogs/product-keys","title":"Search SAT product keys","href":"/reference/getCatalogsProductKeys"},{"openapi":"openapi.json GET /catalogs/unit-keys","title":"Search SAT unit keys","href":"/reference/getCatalogsUnitKeys"}]},{"group":"SAT lists","expanded":false,"pages":[{"openapi":"openapi.json GET /sat-lists/check/{rfc}","title":"Check an RFC against the SAT lists","href":"/reference/getSatListsCheckByRfc"},{"openapi":"openapi.json GET /sat-lists/32d/{rfc}","title":"Consult the SAT \"Opinión del Cumplimiento\" (32-D) for an RFC","href":"/reference/getSatOpinion32dByRfc"},{"openapi":"openapi.json GET /sat-lists","title":"List SAT lists and sync status","href":"/reference/listSatLists"}]},{"group":"SAT bulk download","expanded":false,"pages":[{"openapi":"openapi.json GET /invoices/sat/{uuid}","title":"Get a SAT invoice","href":"/reference/getSatInvoice"},{"openapi":"openapi.json GET /invoices/sat","title":"List SAT invoices","href":"/reference/listSatInvoices"},{"openapi":"openapi.json GET /invoices/download/ciec","title":"Get the CIEC connection status","href":"/reference/getInvoicesDownloadCiec"},{"openapi":"openapi.json POST /invoices/import","title":"Import CFDI XMLs the team already holds","href":"/reference/importInvoiceXml"},{"openapi":"openapi.json POST /invoices/sat/{uuid}/retry-xml","title":"Retry XML download","href":"/reference/retrySatXmlDownload"},{"openapi":"openapi.json POST /invoices/sat/{uuid}/pdf","title":"Generate PDF for a received SAT invoice","href":"/reference/generateSatPdf"},{"openapi":"openapi.json POST /invoices/download/ciec","title":"Connect with the SAT password (CIEC)","href":"/reference/createInvoicesDownloadCiec"},{"openapi":"openapi.json DELETE /invoices/download/ciec","title":"Disconnect the CIEC","href":"/reference/deleteInvoicesDownloadCiec"},{"group":"Setup","pages":[{"openapi":"openapi.json GET /invoices/download/activate/status","title":"Check activation status","href":"/reference/getInvoicesDownloadActivateStatus"},{"openapi":"openapi.json GET /invoices/download/debug","title":"Debug registration status","href":"/reference/getInvoicesDownloadDebug"},{"openapi":"openapi.json POST /invoices/download/activate","title":"Activate Descarga Masiva SAT","href":"/reference/createInvoicesDownloadActivate"},{"openapi":"openapi.json POST /invoices/download/deactivate","title":"Deactivate Descarga Masiva SAT","href":"/reference/createInvoicesDownloadDeactivate"},{"openapi":"openapi.json POST /invoices/download/fiel","title":"Upload FIEL credentials","href":"/reference/createInvoicesDownloadFiel"},{"openapi":"openapi.json POST /invoices/download/register","title":"Register business with SAT (manual)","href":"/reference/createInvoicesDownloadRegister"},{"openapi":"openapi.json POST /invoices/download/enable-sync","title":"Enable SAT sync","href":"/reference/createInvoicesDownloadEnableSync"},{"openapi":"openapi.json POST /invoices/download/pfx","title":"Connect FIEL credentials from a PFX file","href":"/reference/connectFielPfx"}]},{"group":"Schedule and sync","pages":[{"openapi":"openapi.json GET /invoices/download/schedule","title":"Get schedule configuration","href":"/reference/getInvoicesDownloadSchedule"},{"openapi":"openapi.json GET /invoices/download/schedule/history","title":"Get download request history","href":"/reference/getInvoicesDownloadScheduleHistory"},{"openapi":"openapi.json GET /invoices/download/progress","title":"Get SAT history sync progress","href":"/reference/getInvoicesDownloadProgress"},{"openapi":"openapi.json PUT /invoices/download/schedule","title":"Save schedule configuration","href":"/reference/updateInvoicesDownloadSchedule"},{"openapi":"openapi.json PUT /invoices/download/sync-period","title":"Update bulk-download sync period","href":"/reference/updateBulkDownloadSyncPeriod"}]},{"group":"Preview and import jobs","pages":[{"openapi":"openapi.json GET /invoices/download/jobs/{id}","title":"Get one job with per-window detail","href":"/reference/getInvoicesDownloadJob"},{"openapi":"openapi.json GET /invoices/download/jobs","title":"List recent preview and import jobs","href":"/reference/listInvoicesDownloadJobs"},{"openapi":"openapi.json POST /invoices/download/preview","title":"Preview a range of SAT history before paying for it","href":"/reference/createInvoicesDownloadPreview"},{"openapi":"openapi.json POST /invoices/download/jobs/{id}/cancel","title":"Stop a running job","href":"/reference/cancelInvoicesDownloadJob"},{"openapi":"openapi.json POST /invoices/download/import","title":"Download XMLs for chosen CFDIs","href":"/reference/importInvoicesDownload"}]},{"group":"Download requests","pages":[{"openapi":"openapi.json GET /invoices/download/status/{request_id}","title":"Check download request status","href":"/reference/getInvoicesDownloadStatusByRequestId"},{"openapi":"openapi.json GET /invoices/download/package/{package_id}","title":"Download XML package","href":"/reference/getInvoicesDownloadPackageByPackageId"},{"openapi":"openapi.json GET /invoices/download/invoice/{uuid}","title":"Get single invoice from SAT","href":"/reference/getInvoicesDownloadInvoiceByUuid"},{"openapi":"openapi.json POST /invoices/download/request","title":"Create bulk download request","description":"Submit a bulk download request to the SAT. The SAT processes these asynchronously — use `GET /invoices/download/schedule/history` to poll for status updates.\n\n**Prerequisites:** FIEL uploaded (`fiel_uploaded: true`) + business registered (`registered: true`) + Descarga Masiva activated.\n\n**Date range:** SAT limits each request to a maximum of 1 month. For longer periods, submit one request per month.\n\nOnce the request reaches `completed` status, the invoice metadata is available in the history response (`invoiceCount`, `processedCount`, `latestIssueDate`, `earliestIssueDate`).\n","href":"/reference/createInvoicesDownloadRequest"}]}]}]},{"group":"Automation and data","pages":[{"group":"Webhooks","expanded":false,"pages":[{"openapi":"openapi.json POST /webhooks","title":"Create webhook","href":"/reference/createWebhooks"},{"openapi":"openapi.json GET /webhooks/{id}","title":"Get webhook","description":"Retrieve details of a specific webhook by ID.\n\n**gigstack Connect:** Access other teams' webhooks using the `team` parameter.\n With configuration_access=true, the original credential and current admin role are verified, and configuration_access identifies the reviewed endpoint, actor, revision and whether the current plan permits configuration.","href":"/reference/getWebhooksById"},{"openapi":"openapi.json PUT /webhooks/{id}","title":"Update webhook","href":"/reference/updateWebhooksById"},{"openapi":"openapi.json DELETE /webhooks/{id}","title":"Delete webhook","href":"/reference/deleteWebhooksById"},{"openapi":"openapi.json GET /webhooks","title":"List webhooks","href":"/reference/listWebhooks"},{"openapi":"openapi.json POST /webhooks/{id}/test","title":"Send a test event","href":"/reference/testManualWebhook"},{"openapi":"openapi.json POST /webhooks/{id}/resend-current","title":"Send current resource state","href":"/reference/resendCurrentWebhook"},{"group":"Deliveries","pages":[{"openapi":"openapi.json GET /teams/{id}/webhook-deliveries/{logId}","title":"Read one webhook delivery log","href":"/reference/getWebhookDeliveryLog"},{"openapi":"openapi.json GET /teams/{id}/webhook-deliveries","title":"List webhook delivery logs","href":"/reference/listWebhookDeliveryLogs"},{"openapi":"openapi.json POST /teams/{id}/webhook-deliveries/{logId}/retry","title":"Retry a stored webhook event","href":"/reference/retryWebhookDelivery"}]},{"group":"Operations","pages":[{"openapi":"openapi.json GET /webhooks/configuration-operations/{operationId}","title":"Read webhook configuration operation","href":"/reference/getWebhookConfigurationOperation"},{"openapi":"openapi.json GET /teams/{id}/webhook-operations/{operationId}","title":"Read a webhook operation","href":"/reference/getManualWebhookOperation"}]}]},{"group":"Journeys","expanded":false,"pages":[{"openapi":"openapi.json POST /journeys","title":"Create a draft journey","href":"/reference/createJourney"},{"openapi":"openapi.json GET /journeys/{id}","title":"Get a journey","href":"/reference/getJourney"},{"openapi":"openapi.json PUT /journeys/{id}","title":"Update a journey draft","href":"/reference/updateJourney"},{"openapi":"openapi.json DELETE /journeys/{id}","title":"Delete a draft or archived journey","href":"/reference/deleteJourney"},{"openapi":"openapi.json GET /journeys","title":"List journeys","href":"/reference/listJourneys"},{"openapi":"openapi.json GET /journeys/catalog","title":"Get the journey node catalog","href":"/reference/getJourneyCatalog"},{"openapi":"openapi.json GET /journeys/{id}/runs","title":"List the latest journey runs","href":"/reference/listJourneyRuns"},{"openapi":"openapi.json POST /journeys/{id}/publish","title":"Publish a journey","href":"/reference/publishJourney"},{"openapi":"openapi.json POST /journeys/{id}/pause","title":"Pause a journey","href":"/reference/pauseJourney"},{"openapi":"openapi.json POST /journeys/{id}/clone","title":"Clone a journey","href":"/reference/cloneJourney"},{"openapi":"openapi.json POST /journeys/{id}/test","title":"Queue a journey dry-run","href":"/reference/testJourney"}]},{"group":"Journey groups","expanded":false,"pages":[{"openapi":"openapi.json POST /journey-groups","title":"Create a journey group","href":"/reference/createJourneyGroup"},{"openapi":"openapi.json GET /journey-groups/{id}","title":"Get a journey group","href":"/reference/getJourneyGroup"},{"openapi":"openapi.json PUT /journey-groups/{id}","title":"Update the final membership of a journey group","href":"/reference/updateJourneyGroup"},{"openapi":"openapi.json GET /journey-groups","title":"List journey groups","href":"/reference/listJourneyGroups"},{"openapi":"openapi.json POST /journey-groups/{id}/clone","title":"Clone a journey group","href":"/reference/cloneJourneyGroup"},{"openapi":"openapi.json POST /journey-groups/{id}/revert","title":"Revert the latest group edit","href":"/reference/revertJourneyGroup"},{"openapi":"openapi.json POST /journey-groups/{id}/publish","title":"Publish journeys in a group","href":"/reference/publishJourneyGroup"},{"openapi":"openapi.json POST /journey-groups/{id}/pause","title":"Pause journeys in a group","href":"/reference/pauseJourneyGroup"}]},{"group":"Documents","expanded":false,"pages":[{"openapi":"openapi.json POST /documents","title":"Create document","href":"/reference/createDocument"},{"openapi":"openapi.json GET /documents/{id}","title":"Get document","href":"/reference/getDocument"},{"openapi":"openapi.json PATCH /documents/{id}","title":"Update document","href":"/reference/updateDocument"},{"openapi":"openapi.json DELETE /documents/{id}","title":"Delete document","href":"/reference/deleteDocument"},{"openapi":"openapi.json GET /documents","title":"List documents","href":"/reference/listDocuments"},{"openapi":"openapi.json POST /documents/{id}/analyze","title":"Analyze document with AI","href":"/reference/analyzeDocument"},{"openapi":"openapi.json POST /documents/{id}/link","title":"Link document to an entity","href":"/reference/linkDocument"},{"openapi":"openapi.json DELETE /documents/{id}/link","title":"Unlink document from an entity","href":"/reference/unlinkDocument"}]},{"group":"Google Sheets","expanded":false,"pages":[{"openapi":"openapi.json POST /sheets/connect","title":"Connect a Google spreadsheet","href":"/reference/connectSheets"},{"openapi":"openapi.json GET /sheets","title":"Get Google Sheets connection status","href":"/reference/getSheetsConnection"},{"openapi":"openapi.json GET /sheets/fields","title":"List mappable Google Sheets fields","href":"/reference/getSheetsFields"},{"openapi":"openapi.json GET /sheets/headers","title":"Refresh Google Sheets headers","href":"/reference/refreshSheetsHeaders"},{"openapi":"openapi.json GET /sheets/rows","title":"List the latest Google Sheets row outcomes","href":"/reference/listSheetsRows"},{"openapi":"openapi.json POST /sheets/disconnect","title":"Disconnect Google Sheets","href":"/reference/disconnectGoogleSheets"},{"openapi":"openapi.json PUT /sheets/mapping","title":"Save a Google Sheets import mapping","href":"/reference/updateSheetsMapping"},{"openapi":"openapi.json POST /sheets/preview","title":"Preview a Google Sheets import","href":"/reference/previewSheets"},{"openapi":"openapi.json POST /sheets/enable","title":"Enable Google Sheets imports","href":"/reference/enableSheets"},{"openapi":"openapi.json POST /sheets/pause","title":"Pause Google Sheets imports","href":"/reference/pauseSheets"},{"openapi":"openapi.json POST /sheets/sync","title":"Queue a Google Sheets sync","href":"/reference/syncSheets"},{"openapi":"openapi.json DELETE /sheets","deprecated":true,"title":"Disconnect Google Sheets (deprecated DELETE)","href":"/reference/disconnectSheets"}]},{"group":"Platform payouts","expanded":false,"pages":[{"openapi":"openapi.json POST /platform-payouts","title":"Upload files and plan a platform payouts run","href":"/reference/createPlatformPayoutRun"},{"openapi":"openapi.json GET /platform-payouts/{id}","title":"Get a platform payouts run","href":"/reference/getPlatformPayoutRun"},{"openapi":"openapi.json GET /platform-payouts/{id}/movements","title":"List a platform payouts run's movements","href":"/reference/listPlatformPayoutMovements"},{"openapi":"openapi.json POST /platform-payouts/{id}/confirm","title":"Confirm a platform payouts run for stamping","href":"/reference/confirmPlatformPayoutRun"}]}]},{"group":"Teams and access","pages":[{"group":"Teams","expanded":false,"pages":[{"openapi":"openapi.json POST /teams","title":"Create team","href":"/reference/createTeams"},{"openapi":"openapi.json GET /teams/{id}","title":"Get team","href":"/reference/getTeamsById"},{"openapi":"openapi.json PUT /teams/{id}","title":"Update team","href":"/reference/updateTeamsById"},{"openapi":"openapi.json DELETE /teams/{id}","title":"Delete team","href":"/reference/deleteTeamsById"},{"openapi":"openapi.json GET /teams","title":"List teams","href":"/reference/listTeams"},{"openapi":"openapi.json GET /teams/{id}/onboarding","title":"Get team onboarding status","href":"/reference/getTeamsByIdOnboarding"},{"openapi":"openapi.json POST /teams/{id}/deactivate","title":"Deactivate a business (dar de baja)","href":"/reference/deactivateTeam"},{"openapi":"openapi.json POST /teams/{id}/reactivate","title":"Reactivate a business","href":"/reference/reactivateTeam"},{"group":"Members","pages":[{"openapi":"openapi.json PATCH /teams/{id}/members/{memberId}","title":"Update member role or permissions","href":"/reference/updateTeamMember"},{"openapi":"openapi.json DELETE /teams/{id}/members/{memberId}","title":"Remove team member","href":"/reference/removeTeamMember"},{"openapi":"openapi.json GET /teams/{id}/members","title":"List team members","href":"/reference/listTeamMembers"},{"openapi":"openapi.json POST /teams/{id}/add-member","title":"Add team member","href":"/reference/createTeamsByIdAddMember"},{"openapi":"openapi.json POST /teams/{id}/remove-member","deprecated":true,"title":"Remove team member (deprecated)","href":"/reference/createTeamsByIdRemoveMember"},{"openapi":"openapi.json POST /teams/{id}/transfer-ownership","deprecated":true,"title":"Transfer team ownership","href":"/reference/transferTeamOwnership"}]},{"group":"Invitations","pages":[{"openapi":"openapi.json POST /teams/{id}/invitations","title":"Invite a member","href":"/reference/createTeamInvitation"},{"openapi":"openapi.json GET /teams/{id}/invitations/{inviteId}","title":"Get team invitation","href":"/reference/getTeamInvitation"},{"openapi":"openapi.json DELETE /teams/{id}/invitations/{inviteId}","title":"Revoke team invitation","href":"/reference/revokeTeamInvitation"},{"openapi":"openapi.json GET /teams/{id}/invitations","title":"List team invitations","href":"/reference/listTeamInvitations"},{"openapi":"openapi.json GET /teams/invitations/inbox","title":"List current recipient invitation inbox","href":"/reference/listRecipientInvitations"},{"openapi":"openapi.json POST /teams/{id}/invitations/{inviteId}/resend","title":"Resend invitation email","href":"/reference/resendTeamInvitation"},{"openapi":"openapi.json POST /teams/invitations/accept","title":"Accept team invitation","href":"/reference/acceptTeamInvitation"},{"openapi":"openapi.json POST /teams/invitations/decline","title":"Decline team invitation","href":"/reference/declineTeamInvitation"}]},{"group":"Configuration","pages":[{"openapi":"openapi.json POST /teams/{id}/series","title":"Create team series","href":"/reference/createTeamsByIdSeries"},{"openapi":"openapi.json PUT /teams/{id}/series/{seriesId}","title":"Update team series","href":"/reference/updateTeamsByIdSeriesBySeriesId"},{"openapi":"openapi.json GET /teams/{id}/series","title":"Get team series","href":"/reference/getTeamsByIdSeries"},{"openapi":"openapi.json GET /teams/{id}/email-templates","title":"Read email template defaults","href":"/reference/getTeamEmailTemplates"},{"openapi":"openapi.json GET /teams/{id}/settings","title":"Get team settings","href":"/reference/getTeamSettings"},{"openapi":"openapi.json GET /teams/{id}/onboarding-url","title":"Get team onboarding URL","href":"/reference/getTeamsByIdOnboardingUrl"},{"openapi":"openapi.json PUT /teams/{id}/settings","title":"Update team settings","href":"/reference/updateTeamsByIdSettings"},{"openapi":"openapi.json POST /teams/{id}/sat-connection","title":"Upload SAT CSD certificates","href":"/reference/createTeamsByIdSatConnection"},{"openapi":"openapi.json POST /teams/{id}/manifest/sign","title":"Sign manifest document","href":"/reference/createTeamsByIdManifestSign"},{"openapi":"openapi.json POST /teams/{id}/portal-access-token","deprecated":true,"title":"Create a portal access token","href":"/reference/createTeamsByIdPortalAccessToken"}]},{"group":"Portal operations","pages":[{"openapi":"openapi.json POST /teams/{id}/customer-portal-operations","title":"Prepare a customer portal operation","href":"/reference/prepareCustomerPortalOperation"},{"openapi":"openapi.json POST /teams/{id}/invoice-portal-operations","title":"Prepare an invoice portal operation","href":"/reference/prepareInvoicePortalOperation"},{"openapi":"openapi.json GET /teams/{id}/customer-portal-operations/{operationId}","title":"Get a customer portal operation","href":"/reference/getCustomerPortalOperation"},{"openapi":"openapi.json GET /teams/{id}/invoice-portal-operations/{operationId}","title":"Get an invoice portal operation","href":"/reference/getInvoicePortalOperation"},{"openapi":"openapi.json DELETE /teams/{id}/customer-portal-operations/{operationId}","title":"Cancel a customer portal operation","href":"/reference/cancelCustomerPortalOperation"},{"openapi":"openapi.json DELETE /teams/{id}/invoice-portal-operations/{operationId}","title":"Cancel an invoice portal operation","href":"/reference/cancelInvoicePortalOperation"}]},{"group":"Vendors","pages":[{"openapi":"openapi.json GET /teams/{id}/vendors/operations/{operationId}","title":"Read vendor creation operation","href":"/reference/getVendorCreationOperationV2"},{"openapi":"openapi.json GET /teams/{id}/vendors/{vendorId}/onboarding-capability","title":"Read safe vendor capability status","href":"/reference/getVendorOnboardingCapabilityV2"},{"openapi":"openapi.json POST /teams/{id}/vendors","title":"Create vendor account","href":"/reference/createVendorV2"}]},{"group":"API logs","pages":[{"openapi":"openapi.json GET /teams/{id}/api-logs/{logId}","title":"Read one API log","href":"/reference/getApiLog"},{"openapi":"openapi.json GET /teams/{id}/api-logs","title":"List API logs","href":"/reference/listApiLogs"}]}]},{"group":"Users","expanded":false,"pages":[{"openapi":"openapi.json POST /users","title":"Create user","href":"/reference/createUsers"},{"openapi":"openapi.json GET /users/{id}","title":"Get user","href":"/reference/getUsersById"},{"openapi":"openapi.json PUT /users/{id}","title":"Update user","href":"/reference/updateUsersById"},{"openapi":"openapi.json DELETE /users/{id}","title":"Remove a user from administered teams","href":"/reference/deleteUser"},{"openapi":"openapi.json GET /users","title":"List users","href":"/reference/listUsers"},{"openapi":"openapi.json POST /users/reset-password/{id}","deprecated":true,"title":"Retired direct password-reset email","href":"/reference/resetUserPassword"},{"openapi":"openapi.json POST /users/login-link","deprecated":true,"title":"Legacy direct login link (deprecated)","href":"/reference/createUsersLoginLink"},{"group":"Password reset","pages":[{"openapi":"openapi.json POST /users/{id}/password-reset-recoveries","title":"Prepare privately reviewed reset recovery","href":"/reference/preparePasswordResetRecovery"},{"openapi":"openapi.json POST /users/{id}/password-reset-operations","title":"Prepare one reset email","href":"/reference/preparePasswordResetOperation"},{"openapi":"openapi.json GET /users/{id}/password-reset-recoveries/{operationId}","title":"Read safe reset recovery status","href":"/reference/getPasswordResetRecovery"},{"openapi":"openapi.json GET /users/{id}/password-reset-operations/{operationId}","title":"Read saved reset email status","href":"/reference/getPasswordResetOperation"},{"openapi":"openapi.json DELETE /users/{id}/password-reset-operations/{operationId}","title":"Cancel an untouched reset preparation","href":"/reference/cancelPasswordResetOperation"},{"openapi":"openapi.json POST /users/{id}/password-reset-operations/{operationId}/execute","title":"Request the prepared reset email","href":"/reference/executePasswordResetOperation"}]}]},{"group":"Your account","expanded":false,"pages":[{"openapi":"openapi.json GET /users/me/preferences/{teamId}","title":"Read your team preferences","href":"/reference/getSelfPreferences"},{"openapi":"openapi.json PATCH /users/me/preferences/{teamId}","title":"Update your team preferences","href":"/reference/updateSelfPreferences"},{"openapi":"openapi.json GET /users/me","title":"Read your account profile","href":"/reference/getSelfProfile"},{"openapi":"openapi.json PATCH /users/me","title":"Update your account profile","href":"/reference/updateSelfProfile"},{"openapi":"openapi.json POST /users/me/active-context","title":"Select your active team or billing account","href":"/reference/selectSelfActiveContext"},{"group":"Notifications","pages":[{"openapi":"openapi.json DELETE /users/me/notifications/{notificationId}","title":"Dismiss a notification","href":"/reference/dismissSelfNotification"},{"openapi":"openapi.json GET /users/me/notifications","title":"List your notifications","href":"/reference/listSelfNotifications"},{"openapi":"openapi.json GET /users/me/notifications/unread-count","title":"Count your unread notifications","href":"/reference/countSelfUnreadNotifications"},{"openapi":"openapi.json POST /users/me/notifications/read-all","title":"Mark your notifications as read","href":"/reference/markSelfNotificationsRead"},{"openapi":"openapi.json POST /users/me/notifications/{notificationId}/read","title":"Mark one notification as read","href":"/reference/markSelfNotificationRead"}]},{"group":"MCP tokens","pages":[{"openapi":"openapi.json DELETE /users/me/mcp-tokens/{keyId}","title":"Revoke a personal MCP token","href":"/reference/revokeSelfMcpToken"},{"openapi":"openapi.json GET /users/me/mcp-tokens","title":"List your MCP token metadata","href":"/reference/listSelfMcpTokens"},{"openapi":"openapi.json POST /users/me/mcp-tokens","deprecated":true,"title":"Retired: Create a personal MCP token","href":"/reference/createSelfMcpToken"}]}]},{"group":"Account approvals","expanded":false,"pages":[{"openapi":"openapi.json POST /users/me/account-approvals","title":"Prepare an account approval","href":"/reference/prepareAccountApproval"},{"openapi":"openapi.json GET /users/me/account-approvals/{id}","title":"Read an account approval","href":"/reference/getAccountApproval"},{"openapi":"openapi.json DELETE /users/me/account-approvals/{id}","title":"Cancel a pending account approval","href":"/reference/cancelAccountApproval"},{"openapi":"openapi.json POST /users/me/account-approvals/{id}/reconcile","title":"Reconcile managed identity provisioning evidence","href":"/reference/reconcileAccountApproval"},{"group":"Account invitations","pages":[{"openapi":"openapi.json GET /users/me/account-invitations/{id}","title":"Read an account invitation","href":"/reference/getAccountInvitation"},{"openapi":"openapi.json DELETE /users/me/account-invitations/{id}","title":"Revoke an account invitation","href":"/reference/revokeAccountInvitation"},{"openapi":"openapi.json POST /users/me/account-invitations/{id}/resend","title":"Resend an account invitation","href":"/reference/resendAccountInvitation"}]}]},{"group":"API keys","expanded":false,"pages":[{"openapi":"openapi.json DELETE /api-keys/{keyId}","title":"Revoke an API credential","href":"/reference/revokeApiCredential"},{"openapi":"openapi.json GET /api-keys","title":"List API credential metadata","href":"/reference/listApiCredentials"},{"openapi":"openapi.json POST /api-keys/emergency-revoke","title":"Revoke legacy team API and MCP credentials","href":"/reference/emergencyRevokeApiCredentials"},{"openapi":"openapi.json POST /api-keys","deprecated":true,"title":"Retired: Create live and test API credentials","href":"/reference/createApiCredentials"},{"openapi":"openapi.json POST /api-keys/rotate","deprecated":true,"title":"Retired: Rotate live and test API credentials","href":"/reference/rotateApiCredentials"},{"group":"Scoped API keys","pages":[{"openapi":"openapi.json GET /users/me/scoped-api-keys/{keyId}","title":"Read exact safe key scope and permissions","href":"/reference/getScopedApiKey"},{"openapi":"openapi.json GET /users/me/scoped-api-keys/emergency-revocations/{operationId}","title":"Read saved owner scoped-key emergency status","href":"/reference/getScopedApiKeyEmergencyRevocation"},{"openapi":"openapi.json DELETE /users/me/scoped-api-keys/{keyId}","title":"Revoke only one authorized key with a persisted operation UUID","href":"/reference/revokeScopedApiKey"},{"openapi":"openapi.json GET /users/me/scoped-api-keys","title":"List named and legacy key metadata","href":"/reference/listScopedApiKeys"},{"openapi":"openapi.json GET /users/me/scoped-api-keys/policy","title":"Read eligible exact team/action/manager policy","href":"/reference/getScopedApiKeyPolicy"},{"openapi":"openapi.json GET /users/me/scoped-api-keys/{keyId}/audit","title":"Read safe per-key lifecycle audit","href":"/reference/listScopedApiKeyAudit"},{"openapi":"openapi.json POST /users/me/scoped-api-keys/emergency-revoke","title":"Revoke all billing-account scoped keys with a saved operation UUID","href":"/reference/emergencyRevokeScopedApiKeys"}]}]}]},{"group":"Account settings and integrations","pages":[{"group":"Integrations","expanded":false,"pages":[{"openapi":"openapi.json GET /teams/{id}/integrations/catalog","title":"List account integration capabilities","href":"/reference/listAccountIntegrations"},{"openapi":"openapi.json GET /teams/{id}/integrations/{provider}","title":"Read stored integration settings","href":"/reference/getAccountIntegration"},{"openapi":"openapi.json GET /teams/integrations","title":"Get stored integration status","href":"/reference/getTeamIntegrations"},{"openapi":"openapi.json PATCH /teams/{id}/integrations/{provider}/settings","title":"Update provider settings","href":"/reference/updateAccountIntegrationSettings"},{"group":"Stripe","pages":[{"openapi":"openapi.json GET /teams/{id}/integrations/stripe/connection","title":"Read Stripe connection","href":"/reference/getStripeConnectionV2"},{"openapi":"openapi.json POST /teams/{id}/integrations/stripe/connection-sessions","title":"Prepare Stripe connection","href":"/reference/prepareStripeConnectionV2"},{"openapi":"openapi.json GET /teams/{id}/integrations/stripe/operations/{operationId}","title":"Read saved Stripe operation","href":"/reference/getStripeConnectionOperationV2"},{"openapi":"openapi.json POST /teams/{id}/integrations/stripe/disconnect","title":"Remove local Stripe credentials","href":"/reference/disconnectStripeLocalV2"},{"openapi":"openapi.json POST /teams/{id}/integrations/stripe/connection-sessions/{operationId}/cancel","title":"Cancel untouched Stripe setup","href":"/reference/cancelStripeConnectionV2"},{"openapi":"openapi.json POST /teams/{id}/integrations/stripe/standard-accounts","title":"Create a Standard Stripe account","href":"/reference/createStripeStandardAccountV2"},{"openapi":"openapi.json POST /teams/{id}/integrations/stripe/standard-accounts/{accountId}/refresh","title":"Refresh Standard Stripe account activation","href":"/reference/refreshStripeStandardAccountV2"}]},{"group":"NetSuite","pages":[{"openapi":"openapi.json GET /teams/{id}/integrations/netsuite/status","title":"Get NetSuite connection status","href":"/reference/accountNetsuiteStatus"},{"openapi":"openapi.json GET /teams/{id}/integrations/netsuite/invoices/{invoiceId}/sync","title":"Get an invoice NetSuite sync status","href":"/reference/accountNetsuiteSyncStatus"},{"openapi":"openapi.json GET /teams/{id}/integrations/netsuite/syncs","title":"List NetSuite syncs","href":"/reference/accountNetsuiteSyncs"},{"openapi":"openapi.json GET /teams/{id}/integrations/netsuite/items","title":"Get NetSuite item settings","href":"/reference/accountNetsuiteItemsConfig"},{"openapi":"openapi.json POST /teams/{id}/integrations/netsuite/ping","title":"Test the NetSuite connection","href":"/reference/accountNetsuitePing"},{"openapi":"openapi.json POST /teams/{id}/integrations/netsuite/disconnect","title":"Disconnect NetSuite","href":"/reference/disconnectNetsuite"},{"openapi":"openapi.json POST /teams/{id}/integrations/netsuite/invoices/{invoiceId}/sync","title":"Sync an invoice to NetSuite","href":"/reference/accountNetsuiteSync"},{"openapi":"openapi.json POST /teams/{id}/integrations/netsuite/invoices/{invoiceId}/resync","title":"Resync an invoice to NetSuite","href":"/reference/accountNetsuiteResync"},{"openapi":"openapi.json POST /teams/{id}/integrations/netsuite/items/preview","title":"Preview a NetSuite item rule","href":"/reference/accountNetsuiteItemsPreview"},{"openapi":"openapi.json POST /teams/{id}/integrations/netsuite/items/rules","title":"Save a NetSuite item rule","href":"/reference/accountNetsuiteItemsRule"},{"openapi":"openapi.json DELETE /teams/{id}/integrations/netsuite/connection","deprecated":true,"title":"Disconnect NetSuite (deprecated DELETE)","href":"/reference/accountNetsuiteDisconnect"}]},{"group":"Zettle","pages":[{"openapi":"openapi.json GET /teams/{id}/integrations/zettle/status","title":"Get Zettle connection status","href":"/reference/accountZettleStatus"},{"openapi":"openapi.json PATCH /teams/{id}/integrations/zettle/connection-settings","title":"Update Zettle connection settings","href":"/reference/accountZettleSettings"},{"openapi":"openapi.json POST /teams/{id}/integrations/zettle/sync","title":"Run a Zettle sync","href":"/reference/accountZettleSync"},{"openapi":"openapi.json POST /teams/{id}/integrations/zettle/disconnect","title":"Disconnect Zettle","href":"/reference/disconnectZettle"},{"openapi":"openapi.json DELETE /teams/{id}/integrations/zettle/connection","deprecated":true,"title":"Disconnect Zettle (deprecated DELETE)","href":"/reference/accountZettleDisconnect"}]},{"group":"Airtable","pages":[{"openapi":"openapi.json POST /teams/{id}/integrations/airtable/webhooks","title":"Register an Airtable import mapping","href":"/reference/registerAirtableWebhook"},{"openapi":"openapi.json GET /teams/{id}/integrations/airtable/operations/{operationId}","title":"Read an Airtable operation","href":"/reference/getAirtableOperation"},{"openapi":"openapi.json DELETE /teams/{id}/integrations/airtable/webhooks/{webhookId}","title":"Remove an Airtable import mapping","href":"/reference/unregisterAirtableWebhook"},{"openapi":"openapi.json GET /teams/{id}/integrations/airtable/webhooks","title":"List Airtable import mappings","href":"/reference/listAirtableWebhooks"},{"openapi":"openapi.json GET /teams/{id}/integrations/airtable/bases","title":"List Airtable bases","href":"/reference/listAirtableBases"},{"openapi":"openapi.json GET /teams/{id}/integrations/airtable/bases/{baseId}/tables","title":"List Airtable tables and fields","href":"/reference/listAirtableTables"},{"openapi":"openapi.json GET /teams/{id}/integrations/airtable/bases/{baseId}/webhooks/remote","title":"Inspect remote Airtable webhooks","href":"/reference/listAirtableRemoteWebhooks"},{"openapi":"openapi.json POST /teams/{id}/integrations/airtable/disconnect","title":"Disconnect Airtable imports across modes","href":"/reference/disconnectAirtable"},{"openapi":"openapi.json POST /teams/{id}/integrations/airtable/operations/{operationId}/reconcile","title":"Reconcile Airtable without replaying writes","href":"/reference/reconcileAirtableOperation"}]}]},{"group":"Provider setup","expanded":false,"pages":[{"openapi":"openapi.json POST /teams/{id}/integration-connection-sessions","title":"Create provider browser setup session","href":"/reference/integrationSetupCreate"},{"openapi":"openapi.json GET /teams/{id}/integration-connection-sessions/{sessionId}","title":"Read provider setup outcome","href":"/reference/integrationSetupGet"},{"openapi":"openapi.json DELETE /teams/{id}/integration-connection-sessions/{sessionId}","title":"Cancel pending provider setup","href":"/reference/integrationSetupCancel"},{"openapi":"openapi.json POST /teams/{id}/integration-connection-sessions/{sessionId}/reconcile","title":"Reconcile an existing provider attempt","href":"/reference/integrationSetupReconcile"}]},{"group":"Billing","expanded":false,"pages":[{"openapi":"openapi.json GET /teams/{id}/billing/summary","title":"Read account subscription and usage","href":"/reference/accountBillingSummary"},{"openapi":"openapi.json GET /teams/{id}/billing/prices","title":"Read Pricing v3 prices","href":"/reference/accountBillingPrices"},{"openapi":"openapi.json GET /teams/{id}/billing/plans","title":"List eligible legacy account plans","href":"/reference/accountBillingPlans"},{"openapi":"openapi.json GET /teams/{id}/billing/history","title":"List account billing invoices","href":"/reference/accountBillingHistory"},{"openapi":"openapi.json GET /teams/{id}/billing/fiscal","title":"Read account fiscal details","href":"/reference/accountBillingFiscalGet"},{"openapi":"openapi.json PATCH /teams/{id}/billing/fiscal","title":"Update account fiscal details","href":"/reference/accountBillingFiscalUpdate"},{"openapi":"openapi.json POST /teams/{id}/billing/checkout","title":"Start legacy account plan checkout","href":"/reference/accountBillingCheckout"},{"openapi":"openapi.json POST /teams/{id}/billing/upgrade","title":"Upgrade legacy account subscription","href":"/reference/accountBillingUpgrade"},{"openapi":"openapi.json POST /teams/{id}/billing/portal","title":"Open account billing portal","href":"/reference/accountBillingPortal"},{"openapi":"openapi.json POST /teams/{id}/billing/go-live","title":"Take a team live (pricing v3)","href":"/reference/accountBillingGoLive"},{"openapi":"openapi.json POST /teams/{id}/billing/features","title":"Turn a feature on for a team (pricing v3)","href":"/reference/accountBillingFeatureActivate"},{"openapi":"openapi.json POST /teams/{id}/billing/features/deactivate","title":"Turn a feature off for a team (pricing v3)","href":"/reference/accountBillingFeatureDeactivate"},{"group":"Billing operations","pages":[{"openapi":"openapi.json GET /teams/{id}/billing/operations/{operationId}","title":"Read billing operation","href":"/reference/accountBillingOperationGet"},{"openapi":"openapi.json POST /teams/{id}/billing/operations/{operationId}/reconcile","title":"Reconcile billing operation","href":"/reference/accountBillingReconcile"},{"openapi":"openapi.json POST /teams/{id}/billing/operations/{operationId}/cancel","title":"Cancel an open account checkout","href":"/reference/accountBillingCheckoutCancel"},{"openapi":"openapi.json POST /teams/{id}/billing/operations/{operationId}/resolve","title":"Release uncertain billing operation","href":"/reference/accountBillingResolve"}]}]},{"group":"Pricing","expanded":false,"pages":[{"openapi":"openapi.json GET /pricing","title":"Read the public price list","href":"/reference/getPublicPrices"}]},{"group":"Branding","expanded":false,"pages":[{"openapi":"openapi.json GET /teams/{id}/customer-portal","title":"Read customer portal registration","href":"/reference/accountPortalGet"},{"openapi":"openapi.json GET /teams/{id}/brand","title":"Read team branding","href":"/reference/accountBrandGet"},{"openapi":"openapi.json PUT /teams/{id}/customer-portal","title":"Register or rename customer portal","href":"/reference/accountPortalSet"},{"openapi":"openapi.json PATCH /teams/{id}/brand","title":"Update supplied team branding fields","href":"/reference/accountBrandUpdate"},{"openapi":"openapi.json POST /teams/{id}/brand/logo","title":"Upload team logo","href":"/reference/accountBrandLogoUpload"},{"openapi":"openapi.json DELETE /teams/{id}/brand/logo","title":"Remove team logo","href":"/reference/accountBrandLogoDelete"},{"openapi":"openapi.json POST /teams/{id}/brand/analyze-voice","title":"Analyze website brand voice without saving","href":"/reference/accountBrandAnalyzeVoice"}]},{"group":"Email domain","expanded":false,"pages":[{"openapi":"openapi.json GET /teams/{id}/email-domain","title":"Read custom email domain and DNS state","href":"/reference/emailDomainGet"},{"openapi":"openapi.json PUT /teams/{id}/email-domain","title":"Set custom email domain","href":"/reference/emailDomainSet"},{"openapi":"openapi.json DELETE /teams/{id}/email-domain","title":"Remove current custom email domain","href":"/reference/emailDomainRemove"},{"openapi":"openapi.json POST /teams/{id}/email-domain/validate","title":"Validate custom email DNS","href":"/reference/emailDomainValidate"},{"group":"Email-domain operations","pages":[{"openapi":"openapi.json GET /teams/{id}/email-domain/operations/{operationId}","title":"Read email-domain operation","href":"/reference/emailDomainOperationGet"},{"openapi":"openapi.json POST /teams/{id}/email-domain/operations/{operationId}/reconcile","title":"Reconcile email-domain operation without replay","href":"/reference/emailDomainOperationReconcile"},{"openapi":"openapi.json POST /teams/{id}/email-domain/operations/{operationId}/resolve","title":"Release unresolved email-domain operation","href":"/reference/emailDomainOperationResolve"}]}]},{"group":"Fiscal handoff","expanded":false,"pages":[{"openapi":"openapi.json POST /teams/{id}/fiscal-upload-sessions","title":"Create a secure fiscal upload session","href":"/reference/createFiscalUploadSession"},{"openapi":"openapi.json GET /teams/{id}/fiscal-upload-sessions/{sessionId}","title":"Read a fiscal upload session","href":"/reference/getFiscalUploadSession"},{"openapi":"openapi.json DELETE /teams/{id}/fiscal-upload-sessions/{sessionId}","title":"Cancel a pending fiscal upload session","href":"/reference/cancelFiscalUploadSession"},{"openapi":"openapi.json GET /teams/{id}/fiscal-status","title":"Read safe team fiscal status","href":"/reference/getTeamFiscalStatus"},{"openapi":"openapi.json POST /teams/{id}/fiscal-upload-sessions/{sessionId}/reconcile","title":"Reconcile a fiscal upload outcome","href":"/reference/reconcileFiscalUploadSession"}]}]},{"group":"Health","pages":[{"group":"Auth","expanded":false,"pages":[{"openapi":"openapi.json POST /auth/sandbox","title":"Create a test-only sandbox account for a person","href":"/reference/createAgentSandbox"},{"openapi":"openapi.json POST /auth/sandbox/claim","title":"Claim a sandbox with the emailed code","href":"/reference/claimAgentSandbox"}]}]}]}]},"basePath":"","title":"Create webhook - gigstack","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}