{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/communication:resend/emails-list":{"get":{"operationId":"communication_resend_emails_list","summary":"Retrieve a list of emails","description":"GET /emails","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-send":{"post":{"operationId":"communication_resend_emails_send","summary":"Send an email","description":"POST /emails","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"Idempotency-Key":{"type":"string","description":"A unique identifier for the request to ensure emails are only sent once. [Learn…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-get":{"get":{"operationId":"communication_resend_emails_get","summary":"Retrieve a single email","description":"GET /emails/{email_id}","tags":["communication"],"parameters":[{"name":"email_id","in":"query","required":true,"description":"The ID of the email.","schema":{"type":"string","description":"The ID of the email."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-update":{"post":{"operationId":"communication_resend_emails_update","summary":"Update a single email","description":"PATCH /emails/{email_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email_id"],"properties":{"email_id":{"type":"string","description":"The ID of the email."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-cancel":{"post":{"operationId":"communication_resend_emails_cancel","summary":"Cancel the schedule of the e-mail.","description":"POST /emails/{email_id}/cancel","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email_id"],"properties":{"email_id":{"type":"string","description":"The ID of the email."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-share":{"post":{"operationId":"communication_resend_emails_share","summary":"Create a shareable link for a sent or received email.","description":"POST /emails/{email_id}/share","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email_id"],"properties":{"email_id":{"type":"string","description":"The ID of the email."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-send-batch":{"post":{"operationId":"communication_resend_emails_send_batch","summary":"Trigger up to 100 batch emails at once.","description":"POST /emails/batch","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"Idempotency-Key":{"type":"string","description":"A unique identifier for the request to ensure emails are only sent once. [Learn…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-list-attachments":{"get":{"operationId":"communication_resend_emails_list_attachments","summary":"Retrieve a list of attachments for a sent email","description":"GET /emails/{email_id}/attachments","tags":["communication"],"parameters":[{"name":"email_id","in":"query","required":true,"description":"The ID of the email.","schema":{"type":"string","description":"The ID of the email."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of attachments to return.","schema":{"type":"integer","description":"Maximum number of attachments to return."}},{"name":"after","in":"query","required":false,"description":"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.","schema":{"type":"string","description":"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'."}},{"name":"before","in":"query","required":false,"description":"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.","schema":{"type":"string","description":"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-get-attachment":{"get":{"operationId":"communication_resend_emails_get_attachment","summary":"Retrieve a single attachment for a sent email","description":"GET /emails/{email_id}/attachments/{attachment_id}","tags":["communication"],"parameters":[{"name":"email_id","in":"query","required":true,"description":"The ID of the email.","schema":{"type":"string","description":"The ID of the email."}},{"name":"attachment_id","in":"query","required":true,"description":"The ID of the attachment.","schema":{"type":"string","description":"The ID of the attachment."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-list-receiving":{"get":{"operationId":"communication_resend_emails_list_receiving","summary":"Retrieve a list of received emails","description":"GET /emails/receiving","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of received emails to return.","schema":{"type":"integer","description":"Maximum number of received emails to return."}},{"name":"after","in":"query","required":false,"description":"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'.","schema":{"type":"string","description":"Pagination cursor to fetch results after this email ID. Cannot be used with 'before'."}},{"name":"before","in":"query","required":false,"description":"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'.","schema":{"type":"string","description":"Pagination cursor to fetch results before this email ID. Cannot be used with 'after'."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-get-receiving":{"get":{"operationId":"communication_resend_emails_get_receiving","summary":"Retrieve a single received email","description":"GET /emails/receiving/{email_id}","tags":["communication"],"parameters":[{"name":"email_id","in":"query","required":true,"description":"The ID of the received email.","schema":{"type":"string","description":"The ID of the received email."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-list-receiving-attachments":{"get":{"operationId":"communication_resend_emails_list_receiving_attachments","summary":"Retrieve a list of attachments for a received email","description":"GET /emails/receiving/{email_id}/attachments","tags":["communication"],"parameters":[{"name":"email_id","in":"query","required":true,"description":"The ID of the received email.","schema":{"type":"string","description":"The ID of the received email."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of attachments to return.","schema":{"type":"integer","description":"Maximum number of attachments to return."}},{"name":"after","in":"query","required":false,"description":"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'.","schema":{"type":"string","description":"Pagination cursor to fetch results after this attachment ID. Cannot be used with 'before'."}},{"name":"before","in":"query","required":false,"description":"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'.","schema":{"type":"string","description":"Pagination cursor to fetch results before this attachment ID. Cannot be used with 'after'."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-get-receiving-attachment":{"get":{"operationId":"communication_resend_emails_get_receiving_attachment","summary":"Retrieve a single attachment for a received email","description":"GET /emails/receiving/{email_id}/attachments/{attachment_id}","tags":["communication"],"parameters":[{"name":"email_id","in":"query","required":true,"description":"The ID of the received email.","schema":{"type":"string","description":"The ID of the received email."}},{"name":"attachment_id","in":"query","required":true,"description":"The ID of the attachment.","schema":{"type":"string","description":"The ID of the attachment."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/emails-metrics":{"get":{"operationId":"communication_resend_emails_metrics","summary":"Retrieve account-level email metrics","description":"GET /emails/metrics","tags":["communication"],"parameters":[{"name":"start_date","in":"query","required":false,"description":"The start of the date range, as an ISO 8601 date or datetime. Must be on or before `end_date`. Defaults to 6 days before `end_date`.","schema":{"type":"string","description":"The start of the date range, as an ISO 8601 date or datetime. Must be on or before `end_date`. Defaults to 6 days before `end_date`."}},{"name":"end_date","in":"query","required":false,"description":"The end of the date range, as an ISO 8601 date or datetime. Values in the future are clamped to the current time. Defaults to now.","schema":{"type":"string","description":"The end of the date range, as an ISO 8601 date or datetime. Values in the future are clamped to the current time. Defaults to now."}},{"name":"timezone","in":"query","required":false,"description":"The IANA timezone (e.g. `America/New_York`) used to bucket periods when `period` is in `dimensions`.","schema":{"type":"string","default":"UTC","description":"The IANA timezone (e.g. `America/New_York`) used to bucket periods when `period` is in `dimensions`."}},{"name":"granularity","in":"query","required":false,"description":"The bucket size used when `period` is in `dimensions`. The date range can't produce more than 10,000 periods at the chosen granularity.","schema":{"type":"string","enum":["hourly","daily","weekly","monthly"],"default":"daily","description":"The bucket size used when `period` is in `dimensions`. The date range can't produce more than 10,000 periods at the chosen granularity."}},{"name":"metrics","in":"query","required":false,"description":"List of metrics to include in the response. Defaults to all metrics. Accepts a comma-separated value, the parameter repeated, or a mix of…","schema":{"type":"array","description":"List of metrics to include in the response. Defaults to all metrics. Accepts a comma-separated value, the parameter repeated, or a mix of…"}},{"name":"dimensions","in":"query","required":false,"description":"List of dimensions to break the response down by. `email` cannot be combined with `broadcast`. Defaults to `[]`, returning a single…","schema":{"type":"array","description":"List of dimensions to break the response down by. `email` cannot be combined with `broadcast`. Defaults to `[]`, returning a single…"}},{"name":"domain_id","in":"query","required":false,"description":"List of sending domain IDs to restrict the response to, up to 100. Accepts a comma-separated value, the parameter repeated, or a mix of…","schema":{"type":"array","description":"List of sending domain IDs to restrict the response to, up to 100. Accepts a comma-separated value, the parameter repeated, or a mix of…"}},{"name":"email_id","in":"query","required":false,"description":"List of email IDs to restrict the response to, up to 100. Cannot be combined with the `broadcast` dimension or `broadcast_id`. Accepts a…","schema":{"type":"array","description":"List of email IDs to restrict the response to, up to 100. Cannot be combined with the `broadcast` dimension or `broadcast_id`. Accepts a…"}},{"name":"broadcast_id","in":"query","required":false,"description":"List of broadcast IDs to restrict the response to, up to 100. Cannot be combined with the `email` dimension or `email_id`. Accepts a…","schema":{"type":"array","description":"List of broadcast IDs to restrict the response to, up to 100. Cannot be combined with the `email` dimension or `email_id`. Accepts a…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-list":{"get":{"operationId":"communication_resend_domains_list","summary":"Retrieve a list of domains","description":"GET /domains","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-create":{"post":{"operationId":"communication_resend_domains_create","summary":"Create a new domain","description":"POST /domains","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-get":{"get":{"operationId":"communication_resend_domains_get","summary":"Retrieve a single domain","description":"GET /domains/{domain_id}","tags":["communication"],"parameters":[{"name":"domain_id","in":"query","required":true,"description":"The ID of the domain.","schema":{"type":"string","description":"The ID of the domain."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-update":{"post":{"operationId":"communication_resend_domains_update","summary":"Update an existing domain","description":"PATCH /domains/{domain_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain_id"],"properties":{"domain_id":{"type":"string","description":"The ID of the domain."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-remove":{"post":{"operationId":"communication_resend_domains_remove","summary":"Remove an existing domain","description":"DELETE /domains/{domain_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain_id"],"properties":{"domain_id":{"type":"string","description":"The ID of the domain."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-verify":{"post":{"operationId":"communication_resend_domains_verify","summary":"Verify an existing domain","description":"POST /domains/{domain_id}/verify","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain_id"],"properties":{"domain_id":{"type":"string","description":"The ID of the domain."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-create-claim":{"post":{"operationId":"communication_resend_domains_create_claim","summary":"Claim a domain","description":"POST /domains/claim","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-get-claim":{"get":{"operationId":"communication_resend_domains_get_claim","summary":"Retrieve a domain claim","description":"GET /domains/{domain_id}/claim","tags":["communication"],"parameters":[{"name":"domain_id","in":"query","required":true,"description":"The ID of the placeholder domain created by the claim.","schema":{"type":"string","description":"The ID of the placeholder domain created by the claim."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/domains-verify-claim":{"post":{"operationId":"communication_resend_domains_verify_claim","summary":"Verify a domain claim","description":"POST /domains/{domain_id}/claim/verify","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain_id"],"properties":{"domain_id":{"type":"string","description":"The ID of the placeholder domain created by the claim."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/api-keys-list":{"get":{"operationId":"communication_resend_api_keys_list","summary":"Retrieve a list of API keys","description":"GET /api-keys","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/api-keys-create":{"post":{"operationId":"communication_resend_api_keys_create","summary":"Create a new API key","description":"POST /api-keys","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/api-keys-update":{"post":{"operationId":"communication_resend_api_keys_update","summary":"Update an existing API key","description":"PATCH /api-keys/{api_key_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["api_key_id"],"properties":{"api_key_id":{"type":"string","description":"The API key ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/api-keys-remove":{"post":{"operationId":"communication_resend_api_keys_remove","summary":"Remove an existing API key","description":"DELETE /api-keys/{api_key_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["api_key_id"],"properties":{"api_key_id":{"type":"string","description":"The API key ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/oauth-list-grants":{"get":{"operationId":"communication_resend_oauth_list_grants","summary":"Retrieve a list of OAuth grants","description":"GET /oauth/grants","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/oauth-revoke-grant":{"post":{"operationId":"communication_resend_oauth_revoke_grant","summary":"Revoke an OAuth grant","description":"DELETE /oauth/grants/{oauth_grant_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["oauth_grant_id"],"properties":{"oauth_grant_id":{"type":"string","description":"The OAuth grant ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/templates-list":{"get":{"operationId":"communication_resend_templates_list","summary":"Retrieve a list of templates","description":"GET /templates","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/templates-create":{"post":{"operationId":"communication_resend_templates_create","summary":"Create a template","description":"POST /templates","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/templates-get":{"get":{"operationId":"communication_resend_templates_get","summary":"Retrieve a single template","description":"GET /templates/{id}","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Template ID or alias.","schema":{"type":"string","description":"The Template ID or alias."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/templates-update":{"post":{"operationId":"communication_resend_templates_update","summary":"Update an existing template","description":"PATCH /templates/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Template ID or alias."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/templates-remove":{"post":{"operationId":"communication_resend_templates_remove","summary":"Remove an existing template","description":"DELETE /templates/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Template ID or alias."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/templates-publish":{"post":{"operationId":"communication_resend_templates_publish","summary":"Publish a template","description":"POST /templates/{id}/publish","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Template ID or alias."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/templates-duplicate":{"post":{"operationId":"communication_resend_templates_duplicate","summary":"Duplicate a template","description":"POST /templates/{id}/duplicate","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Template ID or alias."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-list":{"get":{"operationId":"communication_resend_contacts_list","summary":"Retrieve a list of contacts","description":"GET /contacts","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-create":{"post":{"operationId":"communication_resend_contacts_create","summary":"Create a new contact","description":"POST /contacts","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-list-imports":{"get":{"operationId":"communication_resend_contacts_list_imports","summary":"Retrieve a list of contact imports","description":"GET /contacts/imports","tags":["communication"],"parameters":[{"name":"status","in":"query","required":false,"description":"Filter contact imports by status.","schema":{"type":"string","enum":["queued","in_progress","completed","failed"],"description":"Filter contact imports by status."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-create-import":{"post":{"operationId":"communication_resend_contacts_create_import","summary":"Create a contact import","description":"POST /contacts/imports","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-get-import":{"get":{"operationId":"communication_resend_contacts_get_import","summary":"Retrieve a single contact import","description":"GET /contacts/imports/{id}","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Contact Import ID.","schema":{"type":"string","description":"The Contact Import ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-get":{"get":{"operationId":"communication_resend_contacts_get","summary":"Retrieve a single contact by ID or email","description":"GET /contacts/{id}","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Contact ID or email address.","schema":{"type":"string","description":"The Contact ID or email address."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-update":{"post":{"operationId":"communication_resend_contacts_update","summary":"Update a single contact by ID or email","description":"PATCH /contacts/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Contact ID or email address."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-remove":{"post":{"operationId":"communication_resend_contacts_remove","summary":"Remove an existing contact by ID or email","description":"DELETE /contacts/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Contact ID or email address."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-list":{"get":{"operationId":"communication_resend_broadcasts_list","summary":"Retrieve a list of broadcasts","description":"GET /broadcasts","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-create":{"post":{"operationId":"communication_resend_broadcasts_create","summary":"Create a broadcast","description":"POST /broadcasts","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-get":{"get":{"operationId":"communication_resend_broadcasts_get","summary":"Retrieve a single broadcast","description":"GET /broadcasts/{id}","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Broadcast ID.","schema":{"type":"string","description":"The Broadcast ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-update":{"post":{"operationId":"communication_resend_broadcasts_update","summary":"Update an existing broadcast","description":"PATCH /broadcasts/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Broadcast ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-remove":{"post":{"operationId":"communication_resend_broadcasts_remove","summary":"Remove an existing broadcast that is in the draft status","description":"DELETE /broadcasts/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Broadcast ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-send":{"post":{"operationId":"communication_resend_broadcasts_send","summary":"Send or schedule a broadcast","description":"POST /broadcasts/{id}/send","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Broadcast ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-cancel":{"post":{"operationId":"communication_resend_broadcasts_cancel","summary":"Cancel a broadcast","description":"POST /broadcasts/{id}/cancel","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Broadcast ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-duplicate":{"post":{"operationId":"communication_resend_broadcasts_duplicate","summary":"Duplicate a broadcast","description":"POST /broadcasts/{id}/duplicate","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Broadcast ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-recipients":{"get":{"operationId":"communication_resend_broadcasts_recipients","summary":"Retrieve broadcast recipients","description":"GET /broadcasts/{id}/recipients","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Broadcast ID.","schema":{"type":"string","description":"The Broadcast ID."}},{"name":"type","in":"query","required":true,"description":"The recipient event type to filter by.","schema":{"type":"string","enum":["sent","delivered","opened","clicked","bounced","complained","unsubscribed","suppressed"],"description":"The recipient event type to filter by."}},{"name":"email","in":"query","required":false,"description":"Filter recipients whose email address contains this value.","schema":{"type":"string","description":"Filter recipients whose email address contains this value."}},{"name":"bounce_type","in":"query","required":false,"description":"Filter bounced recipients by bounce type. Only valid when `type` is `bounced`.","schema":{"type":"string","enum":["permanent","transient","undetermined"],"description":"Filter bounced recipients by bounce type. Only valid when `type` is `bounced`."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/broadcasts-list-clicked-links":{"get":{"operationId":"communication_resend_broadcasts_list_clicked_links","summary":"Retrieve a broadcast's clicked links","description":"GET /broadcasts/{id}/clicked-links","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Broadcast ID.","schema":{"type":"string","description":"The Broadcast ID."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-list":{"get":{"operationId":"communication_resend_webhooks_list","summary":"Retrieve a list of webhooks","description":"GET /webhooks","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of webhooks to return.","schema":{"type":"integer","description":"Maximum number of webhooks to return."}},{"name":"after","in":"query","required":false,"description":"Pagination cursor to fetch results after this webhook ID. Cannot be used with 'before'.","schema":{"type":"string","description":"Pagination cursor to fetch results after this webhook ID. Cannot be used with 'before'."}},{"name":"before","in":"query","required":false,"description":"Pagination cursor to fetch results before this webhook ID. Cannot be used with 'after'.","schema":{"type":"string","description":"Pagination cursor to fetch results before this webhook ID. Cannot be used with 'after'."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-create":{"post":{"operationId":"communication_resend_webhooks_create","summary":"Create a new webhook","description":"POST /webhooks","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-get":{"get":{"operationId":"communication_resend_webhooks_get","summary":"Retrieve a single webhook","description":"GET /webhooks/{webhook_id}","tags":["communication"],"parameters":[{"name":"webhook_id","in":"query","required":true,"description":"The Webhook ID.","schema":{"type":"string","description":"The Webhook ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-update":{"post":{"operationId":"communication_resend_webhooks_update","summary":"Update an existing webhook","description":"PATCH /webhooks/{webhook_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["webhook_id"],"properties":{"webhook_id":{"type":"string","description":"The Webhook ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-remove":{"post":{"operationId":"communication_resend_webhooks_remove","summary":"Remove an existing webhook","description":"DELETE /webhooks/{webhook_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["webhook_id"],"properties":{"webhook_id":{"type":"string","description":"The Webhook ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-rotate-signing-secret":{"post":{"operationId":"communication_resend_webhooks_rotate_signing_secret","summary":"Rotate a webhook signing secret","description":"POST /webhooks/{webhook_id}/signing-secret/rotate","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["webhook_id"],"properties":{"webhook_id":{"type":"string","description":"The Webhook ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-list-events":{"get":{"operationId":"communication_resend_webhooks_list_events","summary":"Retrieve a list of webhook events","description":"GET /webhooks/{webhook_id}/events","tags":["communication"],"parameters":[{"name":"webhook_id","in":"query","required":true,"description":"The Webhook ID.","schema":{"type":"string","description":"The Webhook ID."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-get-event":{"get":{"operationId":"communication_resend_webhooks_get_event","summary":"Retrieve a single webhook event","description":"GET /webhooks/{webhook_id}/events/{event_id}","tags":["communication"],"parameters":[{"name":"webhook_id","in":"query","required":true,"description":"The Webhook ID.","schema":{"type":"string","description":"The Webhook ID."}},{"name":"event_id","in":"query","required":true,"description":"The Webhook Event ID.","schema":{"type":"string","description":"The Webhook Event ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-replay-event":{"post":{"operationId":"communication_resend_webhooks_replay_event","summary":"Replay a webhook event","description":"POST /webhooks/{webhook_id}/events/{event_id}/replay","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["webhook_id","event_id"],"properties":{"webhook_id":{"type":"string","description":"The Webhook ID."},"event_id":{"type":"string","description":"The Webhook Event ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/webhooks-list-event-attempts":{"get":{"operationId":"communication_resend_webhooks_list_event_attempts","summary":"Retrieve a list of webhook event attempts","description":"GET /webhooks/{webhook_id}/events/{event_id}/attempts","tags":["communication"],"parameters":[{"name":"webhook_id","in":"query","required":true,"description":"The Webhook ID.","schema":{"type":"string","description":"The Webhook ID."}},{"name":"event_id","in":"query","required":true,"description":"The Webhook Event ID.","schema":{"type":"string","description":"The Webhook Event ID."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/segments-list":{"get":{"operationId":"communication_resend_segments_list","summary":"Retrieve a list of segments","description":"GET /segments","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/segments-create":{"post":{"operationId":"communication_resend_segments_create","summary":"Create a new segment","description":"POST /segments","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/segments-get":{"get":{"operationId":"communication_resend_segments_get","summary":"Retrieve a single segment","description":"GET /segments/{id}","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Segment ID.","schema":{"type":"string","description":"The Segment ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/segments-update":{"post":{"operationId":"communication_resend_segments_update","summary":"Update an existing segment","description":"PATCH /segments/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Segment ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/segments-remove":{"post":{"operationId":"communication_resend_segments_remove","summary":"Remove an existing segment","description":"DELETE /segments/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Segment ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/segments-list-contacts":{"get":{"operationId":"communication_resend_segments_list_contacts","summary":"Retrieve a list of contacts in a segment","description":"GET /segments/{id}/contacts","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Segment ID.","schema":{"type":"string","description":"The Segment ID."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/topics-list":{"get":{"operationId":"communication_resend_topics_list","summary":"Retrieve a list of topics","description":"GET /topics","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/topics-create":{"post":{"operationId":"communication_resend_topics_create","summary":"Create a new topic","description":"POST /topics","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/topics-get":{"get":{"operationId":"communication_resend_topics_get","summary":"Retrieve a single topic","description":"GET /topics/{id}","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Topic ID.","schema":{"type":"string","description":"The Topic ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/topics-update":{"post":{"operationId":"communication_resend_topics_update","summary":"Update an existing topic","description":"PATCH /topics/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Topic ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/topics-remove":{"post":{"operationId":"communication_resend_topics_remove","summary":"Remove an existing topic","description":"DELETE /topics/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Topic ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contact-properties-list":{"get":{"operationId":"communication_resend_contact_properties_list","summary":"Retrieve a list of contact properties","description":"GET /contact-properties","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/contact-properties-create":{"post":{"operationId":"communication_resend_contact_properties_create","summary":"Create a new contact property","description":"POST /contact-properties","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contact-properties-get":{"get":{"operationId":"communication_resend_contact_properties_get","summary":"Retrieve a single contact property","description":"GET /contact-properties/{id}","tags":["communication"],"parameters":[{"name":"id","in":"query","required":true,"description":"The Contact Property ID.","schema":{"type":"string","description":"The Contact Property ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/contact-properties-update":{"post":{"operationId":"communication_resend_contact_properties_update","summary":"Update an existing contact property","description":"PATCH /contact-properties/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Contact Property ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contact-properties-remove":{"post":{"operationId":"communication_resend_contact_properties_remove","summary":"Remove an existing contact property","description":"DELETE /contact-properties/{id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The Contact Property ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-list-segments":{"get":{"operationId":"communication_resend_contacts_list_segments","summary":"Retrieve a list of segments for a contact","description":"GET /contacts/{contact_id}/segments","tags":["communication"],"parameters":[{"name":"contact_id","in":"query","required":true,"description":"The Contact ID or email address.","schema":{"type":"string","description":"The Contact ID or email address."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-add-segment":{"post":{"operationId":"communication_resend_contacts_add_segment","summary":"Add a contact to a segment","description":"POST /contacts/{contact_id}/segments/{segment_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contact_id","segment_id"],"properties":{"contact_id":{"type":"string","description":"The Contact ID or email address."},"segment_id":{"type":"string","description":"The Segment ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-remove-segment":{"post":{"operationId":"communication_resend_contacts_remove_segment","summary":"Remove a contact from a segment","description":"DELETE /contacts/{contact_id}/segments/{segment_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contact_id","segment_id"],"properties":{"contact_id":{"type":"string","description":"The Contact ID or email address."},"segment_id":{"type":"string","description":"The Segment ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-list-topics":{"get":{"operationId":"communication_resend_contacts_list_topics","summary":"Retrieve topics for a contact","description":"GET /contacts/{contact_id}/topics","tags":["communication"],"parameters":[{"name":"contact_id","in":"query","required":true,"description":"The Contact ID or email address.","schema":{"type":"string","description":"The Contact ID or email address."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/contacts-update-topics":{"post":{"operationId":"communication_resend_contacts_update_topics","summary":"Update topics for a contact","description":"PATCH /contacts/{contact_id}/topics","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contact_id"],"properties":{"contact_id":{"type":"string","description":"The Contact ID or email address."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/logs-list":{"get":{"operationId":"communication_resend_logs_list","summary":"Retrieve a list of logs","description":"GET /logs","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/logs-get":{"get":{"operationId":"communication_resend_logs_get","summary":"Retrieve a single log","description":"GET /logs/{log_id}","tags":["communication"],"parameters":[{"name":"log_id","in":"query","required":true,"description":"The ID of the log.","schema":{"type":"string","description":"The ID of the log."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-list":{"get":{"operationId":"communication_resend_automations_list","summary":"Retrieve a list of automations","description":"GET /automations","tags":["communication"],"parameters":[{"name":"status","in":"query","required":false,"description":"Filter automations by status.","schema":{"type":"string","enum":["enabled","disabled"],"description":"Filter automations by status."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-create":{"post":{"operationId":"communication_resend_automations_create","summary":"Create an automation","description":"POST /automations","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-get":{"get":{"operationId":"communication_resend_automations_get","summary":"Retrieve a single automation","description":"GET /automations/{automation_id}","tags":["communication"],"parameters":[{"name":"automation_id","in":"query","required":true,"description":"The ID of the automation.","schema":{"type":"string","description":"The ID of the automation."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-update":{"post":{"operationId":"communication_resend_automations_update","summary":"Update an automation","description":"PATCH /automations/{automation_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["automation_id"],"properties":{"automation_id":{"type":"string","description":"The ID of the automation."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-remove":{"post":{"operationId":"communication_resend_automations_remove","summary":"Delete an automation","description":"DELETE /automations/{automation_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["automation_id"],"properties":{"automation_id":{"type":"string","description":"The ID of the automation."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-duplicate":{"post":{"operationId":"communication_resend_automations_duplicate","summary":"Duplicate an automation","description":"POST /automations/{automation_id}/duplicate","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["automation_id"],"properties":{"automation_id":{"type":"string","description":"The ID of the automation."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-stop":{"post":{"operationId":"communication_resend_automations_stop","summary":"Stop an automation","description":"POST /automations/{automation_id}/stop","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["automation_id"],"properties":{"automation_id":{"type":"string","description":"The ID of the automation."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-list-runs":{"get":{"operationId":"communication_resend_automations_list_runs","summary":"Retrieve a list of automation runs","description":"GET /automations/{automation_id}/runs","tags":["communication"],"parameters":[{"name":"automation_id","in":"query","required":true,"description":"The ID of the automation.","schema":{"type":"string","description":"The ID of the automation."}},{"name":"status","in":"query","required":false,"description":"Filter runs by status. Comma-separated list of: running, completed, failed, cancelled.","schema":{"type":"string","description":"Filter runs by status. Comma-separated list of: running, completed, failed, cancelled."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/automations-get-run":{"get":{"operationId":"communication_resend_automations_get_run","summary":"Retrieve a single automation run","description":"GET /automations/{automation_id}/runs/{run_id}","tags":["communication"],"parameters":[{"name":"automation_id","in":"query","required":true,"description":"The ID of the automation.","schema":{"type":"string","description":"The ID of the automation."}},{"name":"run_id","in":"query","required":true,"description":"The ID of the automation run.","schema":{"type":"string","description":"The ID of the automation run."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/events-list":{"get":{"operationId":"communication_resend_events_list","summary":"Retrieve a list of events","description":"GET /events","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/events-create":{"post":{"operationId":"communication_resend_events_create","summary":"Create an event","description":"POST /events","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/events-send":{"post":{"operationId":"communication_resend_events_send","summary":"Send an event","description":"POST /events/send","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/events-get":{"get":{"operationId":"communication_resend_events_get","summary":"Retrieve a single event","description":"GET /events/{identifier}","tags":["communication"],"parameters":[{"name":"identifier","in":"query","required":true,"description":"The event ID (UUID) or event name.","schema":{"type":"string","description":"The event ID (UUID) or event name."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/events-update":{"post":{"operationId":"communication_resend_events_update","summary":"Update an event","description":"PATCH /events/{identifier}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","description":"The event ID (UUID) or event name."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/events-remove":{"post":{"operationId":"communication_resend_events_remove","summary":"Delete an event","description":"DELETE /events/{identifier}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","description":"The event ID (UUID) or event name."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/suppressions-list":{"get":{"operationId":"communication_resend_suppressions_list","summary":"Retrieve a list of suppressions","description":"GET /suppressions","tags":["communication"],"parameters":[{"name":"origin","in":"query","required":false,"description":"Filter suppressions by origin.","schema":{"type":"string","enum":["bounce","complaint","manual"],"description":"Filter suppressions by origin."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/suppressions-add":{"post":{"operationId":"communication_resend_suppressions_add","summary":"Create a suppression","description":"POST /suppressions","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/suppressions-batch-add":{"post":{"operationId":"communication_resend_suppressions_batch_add","summary":"Add up to 100 suppressions at once","description":"POST /suppressions/batch/add","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/suppressions-batch-remove":{"post":{"operationId":"communication_resend_suppressions_batch_remove","summary":"Remove up to 100 suppressions at once","description":"POST /suppressions/batch/remove","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/suppressions-get":{"get":{"operationId":"communication_resend_suppressions_get","summary":"Retrieve a single suppression by ID or email","description":"GET /suppressions/{suppression}","tags":["communication"],"parameters":[{"name":"suppression","in":"query","required":true,"description":"The Suppression ID or email address.","schema":{"type":"string","description":"The Suppression ID or email address."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/suppressions-remove":{"post":{"operationId":"communication_resend_suppressions_remove","summary":"Remove a single suppression by ID or email","description":"DELETE /suppressions/{suppression}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["suppression"],"properties":{"suppression":{"type":"string","description":"The Suppression ID or email address."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/usage-get":{"get":{"operationId":"communication_resend_usage_get","summary":"Retrieve account usage","description":"GET /usage","tags":["communication"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-list":{"get":{"operationId":"communication_resend_inboxes_list","summary":"Retrieve a list of inboxes","description":"GET /inboxes","tags":["communication"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-create":{"post":{"operationId":"communication_resend_inboxes_create","summary":"Create an inbox","description":"POST /inboxes","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-get":{"get":{"operationId":"communication_resend_inboxes_get","summary":"Retrieve a single inbox by ID or email address","description":"GET /inboxes/{inbox_id}","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-update":{"post":{"operationId":"communication_resend_inboxes_update","summary":"Update an existing inbox by ID or email address","description":"PATCH /inboxes/{inbox_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","body"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-remove":{"post":{"operationId":"communication_resend_inboxes_remove","summary":"Remove an existing inbox by ID or email address","description":"DELETE /inboxes/{inbox_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-get-agent":{"get":{"operationId":"communication_resend_inboxes_get_agent","summary":"Retrieve the agent settings for an inbox","description":"GET /inboxes/{inbox_id}/agent","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-update-agent":{"post":{"operationId":"communication_resend_inboxes_update_agent","summary":"Update the agent settings for an inbox","description":"PATCH /inboxes/{inbox_id}/agent","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","body"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-list-labels":{"get":{"operationId":"communication_resend_inboxes_list_labels","summary":"Retrieve a list of inbox labels","description":"GET /inboxes/{inbox_id}/labels","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-create-label":{"post":{"operationId":"communication_resend_inboxes_create_label","summary":"Create a label on an inbox","description":"POST /inboxes/{inbox_id}/labels","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","body"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-update-label":{"post":{"operationId":"communication_resend_inboxes_update_label","summary":"Update an existing inbox label","description":"PATCH /inboxes/{inbox_id}/labels/{label_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","label_id"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"label_id":{"type":"string","description":"The Label ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-remove-label":{"post":{"operationId":"communication_resend_inboxes_remove_label","summary":"Remove an existing inbox label","description":"DELETE /inboxes/{inbox_id}/labels/{label_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","label_id"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"label_id":{"type":"string","description":"The Label ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-list-threads":{"get":{"operationId":"communication_resend_inboxes_list_threads","summary":"Retrieve a list of inbox threads","description":"GET /inboxes/{inbox_id}/threads","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},{"name":"folders","in":"query","required":false,"description":"Comma-separated folders to list, for example `inbox,sent`. Repeating the parameter returns a 422 validation_error. A thread is returned…","schema":{"type":"array","description":"Comma-separated folders to list, for example `inbox,sent`. Repeating the parameter returns a 422 validation_error. A thread is returned…"}},{"name":"labels","in":"query","required":false,"description":"Comma-separated label IDs. Returns threads with any of these labels. Up to 50 IDs. An ID that does not exist in the inbox returns a 404.…","schema":{"type":"array","description":"Comma-separated label IDs. Returns threads with any of these labels. Up to 50 IDs. An ID that does not exist in the inbox returns a 404.…"}},{"name":"read","in":"query","required":false,"description":"`true` returns threads where every email is read. `false` returns threads with at least one unread email. Only the literal values `true`…","schema":{"type":"boolean","description":"`true` returns threads where every email is read. `false` returns threads with at least one unread email. Only the literal values `true`…"}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-search-threads":{"get":{"operationId":"communication_resend_inboxes_search_threads","summary":"Search the threads of an inbox","description":"GET /inboxes/{inbox_id}/threads/search","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},{"name":"query","in":"query","required":false,"description":"Free text to search for in the subject, body, sender, recipients, and attachment names. Every word must match. Wrap words in double quotes…","schema":{"type":"string","description":"Free text to search for in the subject, body, sender, recipients, and attachment names. Every word must match. Wrap words in double quotes…"},"example":"invoice -draft"},{"name":"from","in":"query","required":false,"description":"Comma-separated senders. Each value matches part of the sender's address or name, without case. Returns threads that match any of them. Up…","schema":{"type":"array","description":"Comma-separated senders. Each value matches part of the sender's address or name, without case. Returns threads that match any of them. Up…"}},{"name":"to","in":"query","required":false,"description":"Comma-separated recipients, matched the same way as `from`. Up to 20 values. Repeating the parameter returns a 422 validation_error.","schema":{"type":"array","description":"Comma-separated recipients, matched the same way as `from`. Up to 20 values. Repeating the parameter returns a 422 validation_error."}},{"name":"cc","in":"query","required":false,"description":"Comma-separated CC recipients, matched the same way as `from`. Up to 20 values. Repeating the parameter returns a 422 validation_error.","schema":{"type":"array","description":"Comma-separated CC recipients, matched the same way as `from`. Up to 20 values. Repeating the parameter returns a 422 validation_error."}},{"name":"bcc","in":"query","required":false,"description":"Comma-separated BCC recipients, matched the same way as `from`. Up to 20 values. Repeating the parameter returns a 422 validation_error.","schema":{"type":"array","description":"Comma-separated BCC recipients, matched the same way as `from`. Up to 20 values. Repeating the parameter returns a 422 validation_error."}},{"name":"has_attachment","in":"query","required":false,"description":"`true` matches emails with an attachment. `false` matches emails without one. Only the literal values `true` and `false` are accepted.","schema":{"type":"boolean","description":"`true` matches emails with an attachment. `false` matches emails without one. Only the literal values `true` and `false` are accepted."}},{"name":"start_date","in":"query","required":false,"description":"Matches emails sent on or after this date. Accepts a date like `2026-09-01` or an ISO 8601 timestamp, in UTC unless the timestamp has an…","schema":{"type":"string","description":"Matches emails sent on or after this date. Accepts a date like `2026-09-01` or an ISO 8601 timestamp, in UTC unless the timestamp has an…"},"example":"2026-09-01"},{"name":"end_date","in":"query","required":false,"description":"Matches emails sent on or before this date. Same formats as `start_date`. A date covers that whole day, so…","schema":{"type":"string","description":"Matches emails sent on or before this date. Same formats as `start_date`. A date covers that whole day, so…"},"example":"2026-09-30"},{"name":"folders","in":"query","required":false,"description":"Comma-separated folders to search, for example `inbox,sent`. Repeating the parameter returns a 422 validation_error. A thread is returned…","schema":{"type":"array","description":"Comma-separated folders to search, for example `inbox,sent`. Repeating the parameter returns a 422 validation_error. A thread is returned…"}},{"name":"labels","in":"query","required":false,"description":"Comma-separated label IDs. Returns threads with any of these labels. Up to 50 IDs. An ID that does not exist in the inbox returns a 404.…","schema":{"type":"array","description":"Comma-separated label IDs. Returns threads with any of these labels. Up to 50 IDs. An ID that does not exist in the inbox returns a 404.…"}},{"name":"read","in":"query","required":false,"description":"`true` returns threads where every email is read. `false` returns threads with at least one unread email. Only the literal values `true`…","schema":{"type":"boolean","description":"`true` returns threads where every email is read. `false` returns threads with at least one unread email. Only the literal values `true`…"}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-get-thread":{"get":{"operationId":"communication_resend_inboxes_get_thread","summary":"Retrieve a single inbox thread","description":"GET /inboxes/{inbox_id}/threads/{thread_id}","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},{"name":"thread_id","in":"query","required":true,"description":"The Thread ID.","schema":{"type":"string","description":"The Thread ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-update-thread":{"post":{"operationId":"communication_resend_inboxes_update_thread","summary":"Update an existing inbox thread","description":"PATCH /inboxes/{inbox_id}/threads/{thread_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","thread_id","body"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"thread_id":{"type":"string","description":"The Thread ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-remove-thread":{"post":{"operationId":"communication_resend_inboxes_remove_thread","summary":"Remove an existing inbox thread","description":"DELETE /inboxes/{inbox_id}/threads/{thread_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","thread_id"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"thread_id":{"type":"string","description":"The Thread ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-add-thread-labels":{"post":{"operationId":"communication_resend_inboxes_add_thread_labels","summary":"Add labels to an inbox thread","description":"POST /inboxes/{inbox_id}/threads/{thread_id}/labels","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","thread_id","body"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"thread_id":{"type":"string","description":"The Thread ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-set-thread-labels":{"post":{"operationId":"communication_resend_inboxes_set_thread_labels","summary":"Set the labels of an inbox thread","description":"PUT /inboxes/{inbox_id}/threads/{thread_id}/labels","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","thread_id","body"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"thread_id":{"type":"string","description":"The Thread ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-remove-thread-label":{"post":{"operationId":"communication_resend_inboxes_remove_thread_label","summary":"Remove a label from an inbox thread","description":"DELETE /inboxes/{inbox_id}/threads/{thread_id}/labels/{label_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","thread_id","label_id"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"thread_id":{"type":"string","description":"The Thread ID."},"label_id":{"type":"string","description":"The Label ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-list-thread-emails":{"get":{"operationId":"communication_resend_inboxes_list_thread_emails","summary":"Retrieve a list of thread emails","description":"GET /inboxes/{inbox_id}/threads/{thread_id}/emails","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},{"name":"thread_id","in":"query","required":true,"description":"The Thread ID.","schema":{"type":"string","description":"The Thread ID."}},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-get-thread-email":{"get":{"operationId":"communication_resend_inboxes_get_thread_email","summary":"Retrieve a single thread email","description":"GET /inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},{"name":"thread_id","in":"query","required":true,"description":"The Thread ID.","schema":{"type":"string","description":"The Thread ID."}},{"name":"email_id","in":"query","required":true,"description":"The Email ID, as returned in `data[].id` by the list thread emails endpoint.","schema":{"type":"string","description":"The Email ID, as returned in `data[].id` by the list thread emails endpoint."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-reply-thread-email":{"post":{"operationId":"communication_resend_inboxes_reply_thread_email","summary":"Reply to a thread email","description":"POST /inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}/reply","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","thread_id","email_id","body"],"properties":{"Idempotency-Key":{"type":"string","description":"A unique key for the request, so the reply is sent only once. A retry with the same key within 24 hours returns the first successful (2xx)…"},"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"thread_id":{"type":"string","description":"The Thread ID."},"email_id":{"type":"string","description":"The Email ID of the message to reply to, as returned in `data[].id` by the list thread emails endpoint."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-forward-thread-email":{"post":{"operationId":"communication_resend_inboxes_forward_thread_email","summary":"Forward a thread email","description":"POST /inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}/forward","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","thread_id","email_id","body"],"properties":{"Idempotency-Key":{"type":"string","description":"A unique key for the request, so the forward is sent only once. A retry with the same key within 24 hours returns the first successful…"},"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"thread_id":{"type":"string","description":"The Thread ID."},"email_id":{"type":"string","description":"The Email ID of the message to forward, as returned in `data[].id` by the list thread emails endpoint."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-list-drafts":{"get":{"operationId":"communication_resend_inboxes_list_drafts","summary":"Retrieve a list of drafts","description":"GET /inboxes/{inbox_id}/drafts","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},{"name":"limit","in":"query","required":false,"description":"Number of items to return.","schema":{"type":"integer","description":"Number of items to return."}},{"name":"after","in":"query","required":false,"description":"Return items after this cursor.","schema":{"type":"string","description":"Return items after this cursor."}},{"name":"before","in":"query","required":false,"description":"Return items before this cursor.","schema":{"type":"string","description":"Return items before this cursor."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-create-draft":{"post":{"operationId":"communication_resend_inboxes_create_draft","summary":"Create a draft","description":"POST /inboxes/{inbox_id}/drafts","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","body"],"properties":{"Idempotency-Key":{"type":"string","description":"A unique key for the request, so the draft is created only once. A retry with the same key within 24 hours returns the first successful…"},"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-get-draft":{"get":{"operationId":"communication_resend_inboxes_get_draft","summary":"Retrieve a single draft","description":"GET /inboxes/{inbox_id}/drafts/{draft_id}","tags":["communication"],"parameters":[{"name":"inbox_id","in":"query","required":true,"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…","schema":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"example":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"},{"name":"draft_id","in":"query","required":true,"description":"The Draft ID.","schema":{"type":"string","description":"The Draft ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-update-draft":{"post":{"operationId":"communication_resend_inboxes_update_draft","summary":"Update an existing draft","description":"PATCH /inboxes/{inbox_id}/drafts/{draft_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","draft_id","body"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"draft_id":{"type":"string","description":"The Draft ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-remove-draft":{"post":{"operationId":"communication_resend_inboxes_remove_draft","summary":"Remove an existing draft","description":"DELETE /inboxes/{inbox_id}/drafts/{draft_id}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","draft_id"],"properties":{"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"draft_id":{"type":"string","description":"The Draft ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:resend/inboxes-send-draft":{"post":{"operationId":"communication_resend_inboxes_send_draft","summary":"Send a draft","description":"POST /inboxes/{inbox_id}/drafts/{draft_id}/send","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inbox_id","draft_id"],"properties":{"Idempotency-Key":{"type":"string","description":"A unique key for the request, so the draft is sent only once. A retry with the same key within 24 hours returns the first successful (2xx)…"},"inbox_id":{"type":"string","description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any…"},"draft_id":{"type":"string","description":"The Draft ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}