{"openapi":"3.1.0","info":{"title":"STATXE Public API","version":"1.0.0","description":"Production public API for inbox, outbox, contacts, segments, and webhooks. Human docs: https://docs.statxe.com — OpenAPI only covers the public `/api/v1` surface (no provider or admin routes).","contact":{"url":"https://docs.statxe.com"}},"externalDocs":{"description":"STATXE developer documentation","url":"https://docs.statxe.com"},"servers":[{"url":"https://api.statxe.com/api/v1"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Getting Started"},{"name":"Domains"},{"name":"Contacts"},{"name":"Segments"},{"name":"Inbox"},{"name":"Outbox"},{"name":"Webhooks"}],"paths":{"/me":{"get":{"tags":["Getting Started"],"summary":"Test an API key","description":"Returns the authenticated org, key id, scopes, and rate-limit profile.","x-required-scopes":["me:read"],"responses":{"200":{"description":"Current API key details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/domains":{"get":{"tags":["Domains"],"summary":"List sending domain options","description":"Returns verified sending domains in the workspace with available sender identities per domain.","x-required-scopes":["domains:read"],"responses":{"200":{"description":"Domain options","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainOptionListEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/contacts":{"get":{"tags":["Contacts"],"summary":"List contacts","x-required-scopes":["contacts:read"],"parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Cursor"}],"responses":{"200":{"description":"Contact list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactListEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Contacts"],"summary":"Create a contact","x-required-scopes":["contacts:write"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequest"}}}},"responses":{"201":{"description":"Created contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/contacts/{id}":{"parameters":[{"$ref":"#/components/parameters/ResourceId"}],"get":{"tags":["Contacts"],"summary":"Retrieve a contact","x-required-scopes":["contacts:read"],"responses":{"200":{"description":"Contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Contacts"],"summary":"Update a contact","x-required-scopes":["contacts:write"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateContactRequest"}}}},"responses":{"200":{"description":"Updated contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"delete":{"tags":["Contacts"],"summary":"Delete a contact","x-required-scopes":["contacts:write"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"Deleted contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/segments":{"get":{"tags":["Segments"],"summary":"List segments","x-required-scopes":["segments:read"],"parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Cursor"}],"responses":{"200":{"description":"Segment list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SegmentListEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Segments"],"summary":"Create a segment","x-required-scopes":["segments:write"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSegmentRequest"}}}},"responses":{"201":{"description":"Created segment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SegmentEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/inbox/threads":{"get":{"tags":["Inbox"],"summary":"List inbox threads","x-required-scopes":["inbox.threads:read"],"parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Cursor"}],"responses":{"200":{"description":"Inbox thread list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxThreadListEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/outbox/broadcasts":{"get":{"tags":["Outbox"],"summary":"List broadcasts","x-required-scopes":["outbox.broadcasts:read"],"parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Cursor"}],"responses":{"200":{"description":"Broadcast list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastListEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Outbox"],"summary":"Draft a broadcast","x-required-scopes":["outbox.broadcasts:write"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBroadcastRequest"}}}},"responses":{"201":{"description":"Created broadcast","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/webhooks":{"get":{"tags":["Webhooks"],"summary":"List webhook endpoints","x-required-scopes":["webhooks:read"],"parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Cursor"}],"responses":{"200":{"description":"Webhook endpoint list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointListEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Webhooks"],"summary":"Create a webhook endpoint","x-required-scopes":["webhooks:write"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}}},"responses":{"201":{"description":"Created webhook endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/webhooks/deliveries":{"get":{"tags":["Webhooks"],"summary":"List webhook delivery logs","x-required-scopes":["webhooks:read"],"parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/WebhookId"},{"$ref":"#/components/parameters/DeliveryStatus"}],"responses":{"200":{"description":"Webhook delivery list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryListEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/webhooks/deliveries/{id}/replay":{"parameters":[{"$ref":"#/components/parameters/ResourceId"}],"post":{"tags":["Webhooks"],"summary":"Queue a webhook delivery replay","x-required-scopes":["webhooks:admin"],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"202":{"description":"Queued delivery replay","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryEnvelope"}}}},"401":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Public API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"STATXE API key"}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128},"description":"Required for retry-safe write operations."},"ResourceId":{"name":"id","in":"path","required":true,"schema":{"type":"string"}},"Limit":{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},"Cursor":{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},"WebhookId":{"name":"webhook_id","in":"query","required":false,"schema":{"type":"string"}},"DeliveryStatus":{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["queued","delivering","delivered","failed","exhausted"]}}},"schemas":{"ApiKeyContext":{"type":"object","properties":{"org_id":{"type":"string"},"org_name":{"type":"string"},"key_id":{"type":"string"},"auth_method":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"rate_limit_profile":{"type":"object"}}},"SenderOption":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string","format":"email"},"is_default":{"type":"boolean"},"verified":{"type":"boolean"}}},"DomainOption":{"type":"object","properties":{"_id":{"type":"string"},"domain":{"type":"string"},"verified":{"type":"boolean"},"isDefault":{"type":"boolean"},"domainSource":{"type":"string"},"deliverability":{"type":"object"},"sender_options":{"type":"array","items":{"$ref":"#/components/schemas/SenderOption"}}}},"Contact":{"type":"object","properties":{"_id":{"type":"string"},"email":{"type":"string","format":"email"},"firstName":{"type":"string"},"lastName":{"type":"string"},"company":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"customFields":{"type":"object"},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"CreateContactRequest":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"tags":{"type":"array","items":{"type":"string"},"default":[]},"custom_fields":{"type":"object","default":{}}}},"UpdateContactRequest":{"type":"object","properties":{"email":{"type":"string","format":"email"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"custom_fields":{"type":"object"},"status":{"type":"string"}}},"Segment":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"contactCount":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"CreateSegmentRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":500},"tags":{"type":"array","items":{"type":"string"},"default":[]}}},"Broadcast":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"subject":{"type":"string"},"previewText":{"type":"string"},"fromName":{"type":"string"},"fromEmail":{"type":"string","format":"email"},"groupIds":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"scheduledAt":{"type":["string","null"],"format":"date-time"},"metrics":{"type":"object"},"createdAt":{"type":"string","format":"date-time"}}},"CreateBroadcastRequest":{"type":"object","required":["name","subject","from_name","from_email","segment_ids"],"properties":{"name":{"type":"string","minLength":1,"maxLength":200},"subject":{"type":"string","minLength":1,"maxLength":500},"preview_text":{"type":"string","maxLength":200},"from_name":{"type":"string","minLength":1,"maxLength":100},"from_email":{"type":"string","format":"email"},"reply_to":{"type":"string","format":"email"},"segment_ids":{"type":"array","minItems":1,"items":{"type":"string"}},"html":{"type":"string"},"plain_text":{"type":"string"},"scheduled_at":{"type":"string","format":"date-time"}}},"InboxThread":{"type":"object","properties":{"_id":{"type":"string"},"inboxThreadId":{"type":"string"},"subject":{"type":"string"},"unreadCount":{"type":"integer"},"lastMessageAt":{"type":"string","format":"date-time"}}},"WebhookEndpoint":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"deliveryCount":{"type":"integer"},"failureCount":{"type":"integer"},"lastDeliveredAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"CreateWebhookRequest":{"type":"object","required":["name","url","events"],"properties":{"name":{"type":"string","minLength":1,"maxLength":100},"url":{"type":"string","format":"uri"},"events":{"type":"array","minItems":1,"items":{"type":"string"}},"enabled":{"type":"boolean","default":true}}},"WebhookDelivery":{"type":"object","properties":{"_id":{"type":"string"},"webhookId":{"type":"string"},"eventId":{"type":"string"},"eventType":{"type":"string"},"status":{"type":"string","enum":["queued","delivering","delivered","failed","exhausted"]},"attemptCount":{"type":"integer"},"responseStatus":{"type":"integer"},"nextAttemptAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"DeleteResult":{"type":"object","required":["deleted","id"],"properties":{"deleted":{"type":"boolean"},"id":{"type":"string"}}},"SuccessEnvelope":{"type":"object","required":["ok","data","meta"],"properties":{"ok":{"const":true},"data":{},"meta":{"$ref":"#/components/schemas/Meta"}}},"ErrorEnvelope":{"type":"object","required":["ok","error","meta"],"properties":{"ok":{"const":false},"error":{"type":"object","required":["code","message","docs_url"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"docs_url":{"type":"string","format":"uri","description":"Stable link to the public error catalog entry."},"details":{}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"Meta":{"type":"object","required":["request_id"],"properties":{"request_id":{"type":"string"},"pagination":{"type":"object"},"rate_limit":{"type":"object"}}},"MeEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ApiKeyContext"}}}]},"DomainOptionListEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DomainOption"}}}}]},"ContactEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Contact"}}}]},"ContactListEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contact"}}}}]},"SegmentEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Segment"}}}]},"SegmentListEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Segment"}}}}]},"InboxThreadListEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InboxThread"}}}}]},"BroadcastEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Broadcast"}}}]},"BroadcastListEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Broadcast"}}}}]},"WebhookEndpointEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/WebhookEndpoint"}}}]},"WebhookEndpointListEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpoint"}}}}]},"WebhookDeliveryEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/WebhookDelivery"}}}]},"WebhookDeliveryListEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookDelivery"}}}}]},"DeleteEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteResult"}}}]}},"x-statxe-scopes":[{"id":"me:read","domain":"me","access":"read","launch":"public","description":"Inspect the current API key, org, scopes, and rate-limit profile."},{"id":"domains:read","domain":"domains","access":"read","launch":"public","description":"Read verified sending domains and available sender identities."},{"id":"inbox.threads:read","domain":"inbox","access":"read","launch":"public","description":"Read inbox threads, messages, and delivery events."},{"id":"inbox.threads:write","domain":"inbox","access":"write","launch":"public","description":"Update inbox thread/message state such as read, starred, archived, and tags."},{"id":"outbox.broadcasts:read","domain":"outbox","access":"read","launch":"public","description":"Read outbox broadcasts, campaign drafts, schedules, and send status."},{"id":"outbox.broadcasts:write","domain":"outbox","access":"write","launch":"public","description":"Create and update broadcast drafts and schedules."},{"id":"outbox.broadcasts:send","domain":"outbox","access":"send","launch":"public","description":"Launch or cancel broadcast/send lifecycle operations."},{"id":"contacts:read","domain":"contacts","access":"read","launch":"public","description":"Read contacts and contact metadata."},{"id":"contacts:write","domain":"contacts","access":"write","launch":"public","description":"Create, update, import, export, and delete contacts."},{"id":"segments:read","domain":"segments","access":"read","launch":"public","description":"Read segments, groups, and membership lists."},{"id":"segments:write","domain":"segments","access":"write","launch":"public","description":"Create/update segments and manage contact membership."},{"id":"webhooks:read","domain":"webhooks","access":"read","launch":"public","description":"Read webhook endpoints and delivery status."},{"id":"webhooks:write","domain":"webhooks","access":"write","launch":"public","description":"Create and update webhook endpoints."},{"id":"webhooks:admin","domain":"webhooks","access":"admin","launch":"public","description":"Delete webhooks, rotate secrets, and replay deliveries."},{"id":"api_keys:read","domain":"api_keys","access":"read","launch":"public","description":"Read API key metadata."},{"id":"api_keys:write","domain":"api_keys","access":"write","launch":"public","description":"Create and revoke API keys."},{"id":"assistant.chat:write","domain":"assistant","access":"write","launch":"gated","description":"Send gated assistant chat requests for admin-approved orgs."},{"id":"assistant.tools:read","domain":"assistant","access":"read","launch":"gated","description":"Discover gated assistant tools available to an approved org."},{"id":"assistant.sessions:read","domain":"assistant","access":"read","launch":"gated","description":"Read gated assistant session and usage state."}]}}