Credential: an API key. A trial key returns 401 unauthorized.
Line-scoped keys: a line-scoped key gets 404 not_found for a message on a line outside its list.
Events: none.
Personal data: the message carries the handles in to and from, the text in body, the attachment file names and the metadata of a message you sent. Request it only when needed, do not copy it into logs, tickets or other tools, and refer to a contact by an id of your own.
What is returned: the message as it is now. queue_info is always null here. See Following a message.
Retention: iSnap deletes a message at least 72 hours after it recorded it. From then on this operation returns 404 not_found. See Retention.
Errors
Status
error.code
When
400
validation_failed
The id is not msg_ followed by 25 characters.
404
not_found
The id is unknown, the message belongs to another account or to a trial, is on a line outside the list of a line-scoped key, or iSnap has deleted it.
The errors that every operation shares are in Errors.
Authorizations
Authorization
string
header
required
An API key created in the iSnap dashboard, or a trial key, sent as Authorization: Bearer <key>. An API key starts with isnap_live_ or isnap_test_; both act on the same account, lines and billing. A trial key acts on its trial only.
Path Parameters
id
string
required
Message id: msg_ followed by 25 letters or digits.
Pattern: ^msg_[0-9A-Za-z]{25}$
Response
The message.
success
enum<boolean>
required
Always true on a success response.
Available options:
true
data
object
required
A message sent or received by a line. The response of POST /v1/messages, the reads, the list items, the cancel response and the message field of the message.* events all carry this object. It has no chat id: the chat id is given by GET /v1/chats and by events. It carries personal data: the handles in to and from, the text in body, the file names of attachments, and what you put in metadata. Timestamps are ISO 8601 in UTC.
Show child attributes
trace_id
string
required
Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.
request_id
string
required
Id of the request that produced this response: req_ followed by 25 letters or digits.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"iSnap","description":"Developer documentation for the iSnap API: send and receive iMessage, RCS and SMS from real devices, manage lines, and receive events by webhook.","colors":{"primary":"#09090b","light":"#fafafa","dark":"#09090b"},"logo":{"light":"https://mintcdn.com/isnap/wJQmSVFBFz3YnuZ4/images/logo-light.svg?fit=max\u0026auto=format\u0026n=wJQmSVFBFz3YnuZ4\u0026q=85\u0026s=1208ab10ce8a1de87ddc30bbcaae611d","dark":"https://mintcdn.com/isnap/wJQmSVFBFz3YnuZ4/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=wJQmSVFBFz3YnuZ4\u0026q=85\u0026s=8053b4f5aa88bba68e1dbf236c94e79b","href":"https://isnap.ai"},"favicon":"https://mintcdn.com/isnap/wJQmSVFBFz3YnuZ4/images/favicon.svg?fit=max\u0026auto=format\u0026n=wJQmSVFBFz3YnuZ4\u0026q=85\u0026s=a854eacec4807a19a4104fd0e6b72fd1","api":{"openapi":["api-reference/openapi.json"],"playground":{"display":"simple"}},"appearance":{"default":"light","strict":false},"background":{"color":{"light":"#ffffff","dark":"#09090b"}},"navbar":{"links":[{"href":"https://platform.isnap.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Sign up","href":"https://platform.isnap.ai/signup"}},"search":{"prompt":"Search the iSnap docs..."},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"isnap","hasAudioNarration":false,"actualSubdomain":"isnap","customDomains":["docs.isnap.ai"],"gitSource":{"type":"github","owner":"whatsnap","repo":"isnap-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10e7239ffae5051c413bb3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad951ec97fabdbdfeb0f9c7","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API reference","count":74},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Webhooks","count":19},{"language":"default","tag":"Lines","count":15},{"language":"default","tag":"SDK","count":10},{"language":"default","tag":"Line lifecycle","count":9},{"language":"default","tag":"Webhook subscriptions","count":9},{"language":"default","tag":"Events","count":9},{"language":"default","tag":"Pre-orders","count":7},{"language":"default","tag":"Chats","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/messages/get-message","slug":"/api-reference/messages/get-message","pageMetadata":{"title":"Get a message","description":"Returns one message with its current status.","openapi":"GET /v1/messages/{id}","href":"/api-reference/messages/get-message"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns one message with its current status.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Credential:`}),` an API key. A trial key returns `,_jsx(_components.code,{children:`401 unauthorized`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Line-scoped keys:`}),` a `,_jsx(_components.a,{href:`/authentication#line-scoped-keys`,children:`line-scoped key`}),` gets `,_jsx(_components.code,{children:`404 not_found`}),` for a message on a line outside its list.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Events:`}),` none.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Personal data:`}),` the message carries the handles in `,_jsx(_components.code,{children:`to`}),` and `,_jsx(_components.code,{children:`from`}),`, the text in `,_jsx(_components.code,{children:`body`}),`, the attachment file names and the `,_jsx(_components.code,{children:`metadata`}),` of a message you sent. Request it only when needed, do not copy it into logs, tickets or other tools, and refer to a contact by an id of your own.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What is returned:`}),` the message as it is now. `,_jsx(_components.code,{children:`queue_info`}),` is always `,_jsx(_components.code,{children:`null`}),` here. See `,_jsx(_components.a,{href:`/guides/sending-messages#following-a-message`,children:`Following a message`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Retention:`}),` iSnap deletes a message at least 72 hours after it recorded it. From then on this operation returns `,_jsx(_components.code,{children:`404 not_found`}),`. See `,_jsx(_components.a,{href:`/guides/receiving-messages#retention`,children:`Retention`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error.code`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_failed`})}),_jsxs(_components.td,{children:[`The id is not `,_jsx(_components.code,{children:`msg_`}),` followed by 25 characters.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{children:`The id is unknown, the message belongs to another account or to a trial, is on a line outside the list of a line-scoped key, or iSnap has deleted it.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The errors that every operation shares are in `,_jsx(_components.a,{href:`/errors-and-rate-limits#errors`,children:`Errors`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a message","description":"Returns one message with its current status.","openapi":"GET /v1/messages/{id}","href":"/api-reference/messages/get-message"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get a message","description":"Returns one message with its current status.","security":["142abfe4-794e-4e30-905a-4c4dec84850f"],"parameters":["1fd1c5df-d0c5-4890-bc8b-67dbd0f4b791"],"responses":{"200":"b8a94a91-987e-47fd-b46b-c460e58edd58","400":"7eaa299e-54dd-4530-985e-1a0e3c023158","401":"6da3e914-711b-46bf-a5bc-382c5024b370","403":"58f7843f-a2ae-46df-8406-0f838f01fe5a","404":"3c2f4550-4f14-46f3-b704-b3dcddbcd3f4","429":"2d3de621-86e1-4273-85c4-11528c813166","500":"10f31c6d-7b5f-4e50-8746-6c02ddda261d"},"method":"get","type":"path","servers":["13b85773-3d70-47e8-aa94-bbc0de8ddb38"],"path":"/v1/messages/{id}","baseUrlOptions":["https://api.isnap.ai"],"title":"Get a message","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1fd1c5df-d0c5-4890-bc8b-67dbd0f4b791":{"schema":{"type":"string","pattern":"^msg_[0-9A-Za-z]{25}$","description":"Message id: `msg_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Message id: `msg_` followed by 25 letters or digits.","name":"id","in":"path"}},"responses":{"b8a94a91-987e-47fd-b46b-c460e58edd58":{"description":"The message.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"description":"Always `true` on a success response.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"id":{"type":"string","description":"Message id: `msg_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"line_id":{"type":"string","pattern":"^line_[0-9A-Za-z]{25}$","description":"Id of the line that sent or received the message.","isRequired":true,"uniqueKey":"data.line_id","typeLabel":"string"},"direction":{"type":"string","enum":["outbound","inbound"],"description":"`outbound`: a message the line sent, through the API or typed on the line's device. `inbound`: a message the line received.","isRequired":true,"uniqueKey":"data.direction","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","enum":["message","voice","reaction"],"description":"`message`: a message with text, attachments or both. `voice`: a voice note. `reaction`: a reaction, recorded as its own entry.","isRequired":true,"uniqueKey":"data.kind","typeLabel":"enum\u003cstring>"},"to":{"type":"string","description":"On an outbound message sent through the API, the recipient's phone number in E.164. On a message typed on the line's device, the contact's handle as the device reports it. On an inbound message, the line's number: on a shared line, the number that serves the contact. A contact's number is personal data.","isRequired":true,"uniqueKey":"data.to","typeLabel":"string"},"from":{"type":"string","description":"On an outbound message, the line's number: an empty string when the line has no number, and on a shared line the number that serves the contact. On an inbound message, the sender's handle, a phone number or an email address of up to 255 characters: exactly as the line's device stores it, without normalization, or normalized on a shared line (E.164 for a phone number). A phone number can come in another form than E.164: before you compare it with a number you send to, bring both to E.164. A contact's handle is personal data.","isRequired":true,"uniqueKey":"data.from","typeLabel":"string"},"body":{"oneOf":[{"type":"string","description":"Text of the message. `null` when the message has no text: a message with attachments only, or a reaction. The text of an inbound message is cut to 10,000 characters.","isRequired":true,"uniqueKey":"data.body.oneOf.0","typeLabel":"string"},{"type":"null","description":"Text of the message. `null` when the message has no text: a message with attachments only, or a reaction. The text of an inbound message is cut to 10,000 characters.","isRequired":true,"uniqueKey":"data.body.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.body","typeLabel":"string | null"},"channel":{"type":"string","enum":["auto","iMessage","SMS","RCS"],"description":"`auto` on a message sent through the API. On an inbound message and on a message typed on the line's device, the same value as `service`. `iMessage` on a reaction.","isRequired":true,"uniqueKey":"data.channel","typeLabel":"enum\u003cstring>"},"service":{"oneOf":[{"type":"string","enum":["iMessage","SMS","RCS",null],"description":"The service the line's device reports it used: `iMessage`, `SMS` or `RCS`. On an outbound message it is `null` until the device confirms the send, and it stays `null` when the send fails or when the device does not report the service. On an inbound message, the service the message arrived on.","isRequired":true,"uniqueKey":"data.service.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["iMessage","SMS","RCS",null],"description":"The service the line's device reports it used: `iMessage`, `SMS` or `RCS`. On an outbound message it is `null` until the device confirms the send, and it stays `null` when the send fails or when the device does not report the service. On an inbound message, the service the message arrived on.","isRequired":true,"uniqueKey":"data.service.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.service","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["queued","scheduled","sent","delivered","read","failed","cancelled"],"description":"`queued`: accepted and waiting for the line's device, or with the device, which has not reported the outcome. `scheduled`: held by iSnap until `scheduled_for`. `sent`: the device reported that it sent the message. `delivered`: the device reported a delivery receipt; every inbound message, and every message typed on the line's device, is `delivered` from the start. `read`: the device reported that the recipient read an outbound message. `failed`: the message failed, or iSnap stopped waiting for its outcome (`error_code: no_terminal_ack`), in which case it can have reached the recipient. iSnap never resends it. `cancelled`: canceled with `DELETE /v1/messages/{id}` before the device took it. An outbound message moves from `scheduled` to `queued`, `sent`, `delivered` and `read`, and no status is guaranteed to follow `sent`, `delivered` or `read`. On an iMessage line, a message sent over SMS or RCS gets no `delivered` and no `read`, and a `failed` can still follow its `sent`. `failed` can follow any status except `cancelled`, including `delivered` and `read`. `cancelled` is final. Treat `failed` as final: a send confirmation that arrives after a failure reported by the device sets `status` back to `sent` while `failed_at` stays set. A delivery receipt can arrive before the device confirms the send, and `status` then returns to `sent` while `delivered_at` stays set: read the timestamps, not only `status`.","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"effect":{"oneOf":[{"type":"object","description":"The iMessage effect of the message, or `null` when it has none. On an outbound message, the effect you sent. On an inbound message, the effect the sender used, when the line's device reports it.","required":["type","name"],"properties":{"type":{"type":"string","enum":["bubble"],"description":"Always `bubble` for a bubble effect.","isRequired":true,"uniqueKey":"data.effect.oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","enum":["slam","loud","gentle","invisible"],"description":"Name of the bubble effect.","isRequired":true,"uniqueKey":"data.effect.oneOf.0.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.effect.oneOf.0","typeLabel":"object"},{"type":"object","description":"The iMessage effect of the message, or `null` when it has none. On an outbound message, the effect you sent. On an inbound message, the effect the sender used, when the line's device reports it.","required":["type","name"],"properties":{"type":{"type":"string","enum":["screen"],"description":"Always `screen` for a screen effect.","isRequired":true,"uniqueKey":"data.effect.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","enum":["confetti","balloons","love","lasers","fireworks","celebration","shooting_star","echo","spotlight"],"description":"Name of the screen effect.","isRequired":true,"uniqueKey":"data.effect.oneOf.1.name","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.effect.oneOf.1","typeLabel":"object"},{"description":"The iMessage effect of the message, or `null` when it has none. On an outbound message, the effect you sent. On an inbound message, the effect the sender used, when the line's device reports it.","isRequired":true,"uniqueKey":"data.effect.oneOf.2","typeLabel":"any"},{"type":"null","description":"The iMessage effect of the message, or `null` when it has none. On an outbound message, the effect you sent. On an inbound message, the effect the sender used, when the line's device reports it.","isRequired":true,"uniqueKey":"data.effect.oneOf.3","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.effect","typeLabel":"object · object · any · null"},"reply_to_message_id":{"oneOf":[{"type":"string","description":"Id of the message this message replies to, or `null`. It becomes `null` when iSnap deletes the message replied to.","isRequired":true,"uniqueKey":"data.reply_to_message_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Id of the message this message replies to, or `null`. It becomes `null` when iSnap deletes the message replied to.","isRequired":true,"uniqueKey":"data.reply_to_message_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.reply_to_message_id","typeLabel":"string | null"},"use_typing_indicator":{"type":"boolean","description":"On an outbound message, whether the line's device shows the typing indicator to the recipient before it sends the message. A message sent with an API key on a line that is not an iMessage line always has `false`. It has no meaning on an inbound message.","isRequired":true,"uniqueKey":"data.use_typing_indicator","typeLabel":"boolean"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"data.metadata.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.metadata.oneOf.0.additionalProperties","typeLabel":"null"},"description":"The `metadata` you sent with the message, unchanged. `null` when you sent none, and on an inbound message.","isRequired":true,"uniqueKey":"data.metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"data.metadata.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.metadata.oneOf.1.additionalProperties","typeLabel":"null"},"description":"The `metadata` you sent with the message, unchanged. `null` when you sent none, and on an inbound message.","isRequired":true,"uniqueKey":"data.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.metadata","typeLabel":"object | null"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^att_[0-9A-Za-z]{25}$","description":"Attachment id: `att_` followed by 25 letters or digits. Read the file with `GET /v1/attachments/{id}`.","isRequired":true,"uniqueKey":"data.attachments.items.[INDEX].id","typeLabel":"string"},"content_type":{"type":"string","minLength":1,"maxLength":100,"description":"Content type of the file, as declared when the attachment was created. `audio/x-caf` for an audio file that iSnap converted.","isRequired":true,"uniqueKey":"data.attachments.items.[INDEX].content_type","typeLabel":"string"},"filename":{"type":"string","minLength":1,"maxLength":255,"description":"File name. It can carry personal data.","isRequired":true,"uniqueKey":"data.attachments.items.[INDEX].filename","typeLabel":"string"},"size_bytes":{"type":"integer","minimum":1,"description":"Size in bytes, as declared when the attachment was created. For an audio file that iSnap converted, the size after conversion.","isRequired":true,"uniqueKey":"data.attachments.items.[INDEX].size_bytes","typeLabel":"integer"},"duration_ms":{"oneOf":[{"type":"integer","minimum":0,"description":"Duration in milliseconds of an audio file that iSnap converted. `null` on every other file.","isRequired":true,"uniqueKey":"data.attachments.items.[INDEX].duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Duration in milliseconds of an audio file that iSnap converted. `null` on every other file.","isRequired":true,"uniqueKey":"data.attachments.items.[INDEX].duration_ms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.attachments.items.[INDEX].duration_ms","typeLabel":"integer | null"}},"required":["id","content_type","filename","size_bytes","duration_ms"],"description":"A file of a message. It carries no download URL: call `GET /v1/attachments/{id}` to get one.","uniqueKey":"data.attachments.items.[INDEX]","typeLabel":"object"},"description":"The files of the message, in order. Empty when the message has none. Files received with an inbound message are listed here too.","isRequired":true,"uniqueKey":"data.attachments","typeLabel":"object[]"},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction_type":{"type":"string","enum":["love","like","dislike","laugh","emphasize","question","custom"],"description":"`love`, `like`, `dislike`, `laugh`, `emphasize` or `question`, or `custom` for an emoji reaction from the contact.","isRequired":true,"uniqueKey":"data.reactions.items.[INDEX].reaction_type","typeLabel":"enum\u003cstring>"},"reaction_emoji":{"oneOf":[{"type":"string","description":"The emoji of the reaction. For `custom`, the emoji the contact used, or `null` when the line's device did not report it.","isRequired":true,"uniqueKey":"data.reactions.items.[INDEX].reaction_emoji.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emoji of the reaction. For `custom`, the emoji the contact used, or `null` when the line's device did not report it.","isRequired":true,"uniqueKey":"data.reactions.items.[INDEX].reaction_emoji.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.reactions.items.[INDEX].reaction_emoji","typeLabel":"string | null"},"from_handle":{"type":"string","description":"Handle of the author of the reaction: the contact's handle when `direction` is `inbound`, the line's number when it is `outbound`. A contact's handle is personal data.","isRequired":true,"uniqueKey":"data.reactions.items.[INDEX].from_handle","typeLabel":"string"},"direction":{"type":"string","enum":["outbound","inbound"],"description":"`outbound`: the line's own reaction. `inbound`: a reaction from the contact.","isRequired":true,"uniqueKey":"data.reactions.items.[INDEX].direction","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","description":"When iSnap recorded the reaction.","isRequired":true,"uniqueKey":"data.reactions.items.[INDEX].created_at","typeLabel":"string"}},"required":["reaction_type","reaction_emoji","from_handle","direction","created_at"],"description":"A reaction on a message. A message carries at most one reaction per author.","uniqueKey":"data.reactions.items.[INDEX]","typeLabel":"object"},"description":"The reactions on the message, at most one per author. Empty when the message has none, and always empty on an entry whose `kind` is `reaction`. The line's own reaction appears as soon as the API accepts it, and disappears as soon as the API accepts its removal, before the line's device confirms either. It stays listed when the device fails to place it.","isRequired":true,"uniqueKey":"data.reactions","typeLabel":"object[]"},"scheduled_for":{"oneOf":[{"type":"string","description":"On a held message (`status: scheduled`), the planned departure time. On an outbound message that was not held, or that has left its hold, the same value as `queued_at`: read `sent_at` for the time the message was sent. `null` on an inbound message and on a message typed on the device of the line.","isRequired":true,"uniqueKey":"data.scheduled_for.oneOf.0","typeLabel":"string"},{"type":"null","description":"On a held message (`status: scheduled`), the planned departure time. On an outbound message that was not held, or that has left its hold, the same value as `queued_at`: read `sent_at` for the time the message was sent. `null` on an inbound message and on a message typed on the device of the line.","isRequired":true,"uniqueKey":"data.scheduled_for.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.scheduled_for","typeLabel":"string | null"},"schedule_reason":{"oneOf":[{"type":"string","description":"Why iSnap holds the message, while its `status` is `scheduled`. `minute_limit_exceeded`, `hourly_limit_exceeded`, `total_message_quota_exceeded`, `new_contact_quota_exceeded` or `known_contact_quota_exceeded`: a sending limit of the line is reached. `inter_message_delay` or `inter_new_contact_delay`: the spacing between two messages of the line. `quiet_hours`: the message was accepted outside the line's sending hours, counted in the recipient's local time. `carrier_retry`: on a shared line, the number that serves the contact is busy or offline. `pending_retry`: iSnap is retrying the release. A message held behind an earlier message to the same recipient takes the `schedule_reason` of that earlier message while the earlier one is held, and `inter_message_delay` (`carrier_retry` on a shared line) while the earlier one waits for the line's device: `schedule_reason` alone does not tell you that a message waits for an earlier one. `null` on a message that was never held, and `null` again once the message is released. Treat a value you do not know as a hold: more values can be added.","isRequired":true,"uniqueKey":"data.schedule_reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why iSnap holds the message, while its `status` is `scheduled`. `minute_limit_exceeded`, `hourly_limit_exceeded`, `total_message_quota_exceeded`, `new_contact_quota_exceeded` or `known_contact_quota_exceeded`: a sending limit of the line is reached. `inter_message_delay` or `inter_new_contact_delay`: the spacing between two messages of the line. `quiet_hours`: the message was accepted outside the line's sending hours, counted in the recipient's local time. `carrier_retry`: on a shared line, the number that serves the contact is busy or offline. `pending_retry`: iSnap is retrying the release. A message held behind an earlier message to the same recipient takes the `schedule_reason` of that earlier message while the earlier one is held, and `inter_message_delay` (`carrier_retry` on a shared line) while the earlier one waits for the line's device: `schedule_reason` alone does not tell you that a message waits for an earlier one. `null` on a message that was never held, and `null` again once the message is released. Treat a value you do not know as a hold: more values can be added.","isRequired":true,"uniqueKey":"data.schedule_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.schedule_reason","typeLabel":"string | null"},"reply_lane":{"type":"boolean","description":"`true` when the message is in the reply lane: it answers a contact who wrote to the line in the last 24 hours, within the limits of the reply lane. Such a message is not held by the hourly limit, by the three 24-hour limits or by quiet hours. Set when the message is accepted. A held message enters the reply lane when its contact writes to the line while it waits, whatever held it, oldest first and within the same limits: the value then changes from `false` to `true`, once and never back, and the message is released without waiting for its `scheduled_for`, still after the earlier messages to the same recipient and within the per-minute limit and the spacing of the line.","isRequired":true,"uniqueKey":"data.reply_lane","typeLabel":"boolean"},"ignore_quiet_hours":{"type":"boolean","description":"`true` when the message was sent with `ignore_quiet_hours: true` on a line that is not a shared line: quiet hours do not hold it. `false` otherwise, on a shared line, on an inbound message and on a message typed on the device of the line. Set when the message is accepted and never changed after that.","isRequired":true,"uniqueKey":"data.ignore_quiet_hours","typeLabel":"boolean"},"queue_info":{"oneOf":[{"type":"object","properties":{"queue_position":{"type":"integer","minimum":0,"description":"0 when the message leaves immediately. Otherwise the rank of the message among the line's held messages, starting at 1.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.queue_position","typeLabel":"integer"},"is_new_contact":{"type":"boolean","description":"`true` when the recipient is a new contact for the line: that number has not written to the line in the last 30 days, which is the default length of that period. `false` when the recipient is a known contact.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.is_new_contact","typeLabel":"boolean"},"daily_new_contacts_used":{"type":"integer","minimum":0,"description":"Distinct new contacts counted for the line in the last 24 hours, once this request is accepted.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.daily_new_contacts_used","typeLabel":"integer"},"daily_new_contact_limit":{"type":"integer","minimum":0,"description":"The line's limit of distinct new contacts per rolling 24 hours.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.daily_new_contact_limit","typeLabel":"integer"},"daily_known_contacts_used":{"type":"integer","minimum":0,"description":"Distinct known contacts counted for the line in the last 24 hours, once this request is accepted.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.daily_known_contacts_used","typeLabel":"integer"},"daily_known_contact_limit":{"type":"integer","minimum":0,"description":"The line's limit of distinct known contacts per rolling 24 hours.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.daily_known_contact_limit","typeLabel":"integer"},"daily_messages_used":{"type":"integer","minimum":0,"description":"Messages counted for the line in the last 24 hours, once this request is accepted. A held message counts when it is released, not when it is accepted.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.daily_messages_used","typeLabel":"integer"},"daily_total_message_limit":{"type":"integer","minimum":0,"description":"The line's limit of messages per rolling 24 hours.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.daily_total_message_limit","typeLabel":"integer"},"reply_lane":{"type":"boolean","description":"The same value as `reply_lane` of the message.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.reply_lane","typeLabel":"boolean"},"daily_replies_used":{"type":"integer","minimum":0,"description":"Reply-lane messages counted for the line in the last 24 hours, once this request is accepted.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.daily_replies_used","typeLabel":"integer"},"daily_reply_limit":{"type":"integer","minimum":0,"description":"The line's limit of reply-lane messages per rolling 24 hours.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0.daily_reply_limit","typeLabel":"integer"},"messages_ahead_in_queue":{"type":"integer","minimum":0,"description":"Number of held messages of the line planned to leave before this one. Present only when the message is held.","uniqueKey":"data.queue_info.oneOf.0.messages_ahead_in_queue","typeLabel":"integer"},"daily_slot_of":{"type":"string","description":"Date of the planned departure in the recipient's local time, as `YYYY-MM-DD`. Present only when iSnap placed the held message at a time in the line's sending hours.","uniqueKey":"data.queue_info.oneOf.0.daily_slot_of","typeLabel":"string"},"target_activity_hour":{"type":"integer","minimum":0,"maximum":23,"description":"Hour of the planned departure in the recipient's local time, 0 to 23. Present only with `daily_slot_of`.","uniqueKey":"data.queue_info.oneOf.0.target_activity_hour","typeLabel":"integer"},"next_slot_available_at":{"type":"string","description":"The planned departure time: the same value as `scheduled_for` of the message. Present only when the message is held.","uniqueKey":"data.queue_info.oneOf.0.next_slot_available_at","typeLabel":"string"},"last_new_contact_sent_at":{"type":"string","description":"When the line last sent a first message to a new contact. Present only when `schedule_reason` is `inter_new_contact_delay`.","uniqueKey":"data.queue_info.oneOf.0.last_new_contact_sent_at","typeLabel":"string"},"min_inter_new_contact_seconds":{"type":"integer","minimum":0,"description":"The line's minimum number of seconds between two first messages to new contacts. Present only when `schedule_reason` is `inter_new_contact_delay`.","uniqueKey":"data.queue_info.oneOf.0.min_inter_new_contact_seconds","typeLabel":"integer"},"jitter_applied_seconds":{"type":"integer","minimum":0,"description":"Random number of seconds added to that minimum for this message. Present only when `schedule_reason` is `inter_new_contact_delay`.","uniqueKey":"data.queue_info.oneOf.0.jitter_applied_seconds","typeLabel":"integer"}},"required":["queue_position","is_new_contact","daily_new_contacts_used","daily_new_contact_limit","daily_known_contacts_used","daily_known_contact_limit","daily_messages_used","daily_total_message_limit","reply_lane","daily_replies_used","daily_reply_limit"],"description":"The state of the line's sending limits when the message was accepted. Filled only in the response of `POST /v1/messages` to a new request: `null` on every read, in the response to a retry with the same `Idempotency-Key`, and in events.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"queue_position":{"type":"integer","minimum":0,"description":"0 when the message leaves immediately. Otherwise the rank of the message among the line's held messages, starting at 1."},"is_new_contact":{"type":"boolean","description":"`true` when the recipient is a new contact for the line: that number has not written to the line in the last 30 days, which is the default length of that period. `false` when the recipient is a known contact."},"daily_new_contacts_used":{"type":"integer","minimum":0,"description":"Distinct new contacts counted for the line in the last 24 hours, once this request is accepted."},"daily_new_contact_limit":{"type":"integer","minimum":0,"description":"The line's limit of distinct new contacts per rolling 24 hours."},"daily_known_contacts_used":{"type":"integer","minimum":0,"description":"Distinct known contacts counted for the line in the last 24 hours, once this request is accepted."},"daily_known_contact_limit":{"type":"integer","minimum":0,"description":"The line's limit of distinct known contacts per rolling 24 hours."},"daily_messages_used":{"type":"integer","minimum":0,"description":"Messages counted for the line in the last 24 hours, once this request is accepted. A held message counts when it is released, not when it is accepted."},"daily_total_message_limit":{"type":"integer","minimum":0,"description":"The line's limit of messages per rolling 24 hours."},"reply_lane":{"type":"boolean","description":"The same value as `reply_lane` of the message."},"daily_replies_used":{"type":"integer","minimum":0,"description":"Reply-lane messages counted for the line in the last 24 hours, once this request is accepted."},"daily_reply_limit":{"type":"integer","minimum":0,"description":"The line's limit of reply-lane messages per rolling 24 hours."},"messages_ahead_in_queue":{"type":"integer","minimum":0,"description":"Number of held messages of the line planned to leave before this one. Present only when the message is held."},"daily_slot_of":{"type":"string","description":"Date of the planned departure in the recipient's local time, as `YYYY-MM-DD`. Present only when iSnap placed the held message at a time in the line's sending hours."},"target_activity_hour":{"type":"integer","minimum":0,"maximum":23,"description":"Hour of the planned departure in the recipient's local time, 0 to 23. Present only with `daily_slot_of`."},"next_slot_available_at":{"type":"string","description":"The planned departure time: the same value as `scheduled_for` of the message. Present only when the message is held."},"last_new_contact_sent_at":{"type":"string","description":"When the line last sent a first message to a new contact. Present only when `schedule_reason` is `inter_new_contact_delay`."},"min_inter_new_contact_seconds":{"type":"integer","minimum":0,"description":"The line's minimum number of seconds between two first messages to new contacts. Present only when `schedule_reason` is `inter_new_contact_delay`."},"jitter_applied_seconds":{"type":"integer","minimum":0,"description":"Random number of seconds added to that minimum for this message. Present only when `schedule_reason` is `inter_new_contact_delay`."}},"required":["queue_position","is_new_contact","daily_new_contacts_used","daily_new_contact_limit","daily_known_contacts_used","daily_known_contact_limit","daily_messages_used","daily_total_message_limit","reply_lane","daily_replies_used","daily_reply_limit"],"description":"The state of the line's sending limits when the message was accepted. Filled only in the response of `POST /v1/messages` to a new request: `null` on every read, in the response to a retry with the same `Idempotency-Key`, and in events.","isRequired":true,"uniqueKey":"data.queue_info.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.queue_info","typeLabel":"object | null"},"created_at":{"type":"string","description":"When iSnap recorded the message. On an inbound message it can be later than `delivered_at`, when the line's device was offline.","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string"},"queued_at":{"oneOf":[{"type":"string","description":"When an outbound message entered the queue. `null` on an inbound message and on a message typed on the device of the line.","isRequired":true,"uniqueKey":"data.queued_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When an outbound message entered the queue. `null` on an inbound message and on a message typed on the device of the line.","isRequired":true,"uniqueKey":"data.queued_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.queued_at","typeLabel":"string | null"},"sent_at":{"oneOf":[{"type":"string","description":"When the line's device confirmed that it sent the message. `null` until then, and on an inbound message.","isRequired":true,"uniqueKey":"data.sent_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the line's device confirmed that it sent the message. `null` until then, and on an inbound message.","isRequired":true,"uniqueKey":"data.sent_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sent_at","typeLabel":"string | null"},"delivered_at":{"oneOf":[{"type":"string","description":"On an outbound message, the delivery time the line's device reported: `null` until it reports one. On an inbound message, the time the device received the message.","isRequired":true,"uniqueKey":"data.delivered_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"On an outbound message, the delivery time the line's device reported: `null` until it reports one. On an inbound message, the time the device received the message.","isRequired":true,"uniqueKey":"data.delivered_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.delivered_at","typeLabel":"string | null"},"read_at":{"oneOf":[{"type":"string","description":"On an outbound message, the time the line's device reported that the recipient read it. On an inbound message, the time it was marked as read with `POST /v1/chats/{chat_id}/read`. `null` until then.","isRequired":true,"uniqueKey":"data.read_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"On an outbound message, the time the line's device reported that the recipient read it. On an inbound message, the time it was marked as read with `POST /v1/chats/{chat_id}/read`. `null` until then.","isRequired":true,"uniqueKey":"data.read_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.read_at","typeLabel":"string | null"},"failed_at":{"oneOf":[{"type":"string","description":"When the message became `failed`. `null` otherwise. When the device of an iMessage line reports a failure after `sent`, `failed_at` holds the time of the send, not the time of the failure.","isRequired":true,"uniqueKey":"data.failed_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the message became `failed`. `null` otherwise. When the device of an iMessage line reports a failure after `sent`, `failed_at` holds the time of the send, not the time of the failure.","isRequired":true,"uniqueKey":"data.failed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.failed_at","typeLabel":"string | null"},"error_code":{"oneOf":[{"type":"string","description":"`null` unless the message is `failed`. When iSnap failed the message itself: `carrier_unavailable` (the message waited 48 hours without reaching a device), `no_terminal_ack` (the line's device took the message and never reported an outcome) or `carrier_terminated` (the line was terminated while the message was waiting). `null` when the line's device reported the failure: read `error_message`.","isRequired":true,"uniqueKey":"data.error_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"`null` unless the message is `failed`. When iSnap failed the message itself: `carrier_unavailable` (the message waited 48 hours without reaching a device), `no_terminal_ack` (the line's device took the message and never reported an outcome) or `carrier_terminated` (the line was terminated while the message was waiting). `null` when the line's device reported the failure: read `error_message`.","isRequired":true,"uniqueKey":"data.error_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.error_code","typeLabel":"string | null"},"error_message":{"oneOf":[{"type":"string","description":"`null` unless the message is `failed`. A text that describes the failure. When the line's device reported the failure, it is the text the device gave, or `null` when it gave none.","isRequired":true,"uniqueKey":"data.error_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"`null` unless the message is `failed`. A text that describes the failure. When the line's device reported the failure, it is the text the device gave, or `null` when it gave none.","isRequired":true,"uniqueKey":"data.error_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.error_message","typeLabel":"string | null"},"cancelled_at":{"oneOf":[{"type":"string","description":"When the message was canceled. `null` otherwise.","isRequired":true,"uniqueKey":"data.cancelled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the message was canceled. `null` otherwise.","isRequired":true,"uniqueKey":"data.cancelled_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.cancelled_at","typeLabel":"string | null"}},"required":["id","line_id","direction","kind","to","from","body","channel","service","status","effect","reply_to_message_id","use_typing_indicator","metadata","attachments","reactions","scheduled_for","schedule_reason","reply_lane","ignore_quiet_hours","queue_info","created_at","queued_at","sent_at","delivered_at","read_at","failed_at","error_code","error_message","cancelled_at"],"description":"A message sent or received by a line. The response of `POST /v1/messages`, the reads, the list items, the cancel response and the `message` field of the `message.*` events all carry this object. It has no chat id: the chat id is given by `GET /v1/chats` and by events. It carries personal data: the handles in `to` and `from`, the text in `body`, the file names of `attachments`, and what you put in `metadata`. Timestamps are ISO 8601 in UTC.","isRequired":true,"uniqueKey":"data","typeLabel":"object"},"trace_id":{"type":"string","description":"Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.","isRequired":true,"uniqueKey":"trace_id","typeLabel":"string"},"request_id":{"type":"string","description":"Id of the request that produced this response: `req_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["success","data","trace_id","request_id"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":"\u003cstring>","line_id":"\u003cstring>","direction":"outbound","kind":"message","to":"\u003cstring>","from":"\u003cstring>","body":"\u003cstring>","channel":"auto","service":"iMessage","status":"queued","effect":{"type":"bubble","name":"slam"},"reply_to_message_id":"\u003cstring>","use_typing_indicator":true,"metadata":{},"attachments":[{"id":"\u003cstring>","content_type":"\u003cstring>","filename":"\u003cstring>","size_bytes":2,"duration_ms":1}],"reactions":[{"reaction_type":"love","reaction_emoji":"\u003cstring>","from_handle":"\u003cstring>","direction":"outbound","created_at":"\u003cstring>"}],"scheduled_for":"\u003cstring>","schedule_reason":"\u003cstring>","reply_lane":true,"ignore_quiet_hours":true,"queue_info":{"queue_position":1,"is_new_contact":true,"daily_new_contacts_used":1,"daily_new_contact_limit":1,"daily_known_contacts_used":1,"daily_known_contact_limit":1,"daily_messages_used":1,"daily_total_message_limit":1,"reply_lane":true,"daily_replies_used":1,"daily_reply_limit":1,"messages_ahead_in_queue":1,"daily_slot_of":"\u003cstring>","target_activity_hour":11,"next_slot_available_at":"\u003cstring>","last_new_contact_sent_at":"\u003cstring>","min_inter_new_contact_seconds":1,"jitter_applied_seconds":1},"created_at":"\u003cstring>","queued_at":"\u003cstring>","sent_at":"\u003cstring>","delivered_at":"\u003cstring>","read_at":"\u003cstring>","failed_at":"\u003cstring>","error_code":"\u003cstring>","error_message":"\u003cstring>","cancelled_at":"\u003cstring>"},"trace_id":"\u003cstring>","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7eaa299e-54dd-4530-985e-1a0e3c023158":{"description":"Invalid request. `error.code` is `validation_failed` when a parameter, a header or the body does not match its schema: `error.issues` then lists each problem.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"description":"Always `false` on an error response.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"oneOf":[{"description":"Always `null` on an error response.","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Always `null` on an error response.","type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"any | null"},"error":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP status of the response.","isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable code that names the refusal. Branch on this value.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Text for a person. It can change between versions: do not branch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"oneOf":[{"type":"integer","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_after","typeLabel":"integer | null"},"retry_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_at","typeLabel":"string | null"},"issues":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Where the problem is: the field names and array indexes that lead to it.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Text for a person.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].code","typeLabel":"string"},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].min","typeLabel":"integer"},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].max","typeLabel":"integer"}},"required":["path","message","code"],"uniqueKey":"error.issues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"description":"Where the problem is: the field names and array indexes that lead to it."},"message":{"type":"string","description":"Text for a person."},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`."},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`."},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters."}},"required":["path","message","code"]},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.issues","typeLabel":"object[] | null"}},"required":["status","code","message","retry_after","retry_at","issues"],"description":"What went wrong. The six fields are always present; `retry_after`, `retry_at` and `issues` are `null` when they do not apply.","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.","isRequired":true,"uniqueKey":"trace_id","typeLabel":"string"},"request_id":{"type":"string","description":"Id of the request that produced this response: `req_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["success","data","error","trace_id","request_id"],"description":"The body of an error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":"\u003cunknown>","error":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","retry_after":123,"retry_at":"\u003cstring>","issues":[{"path":["\u003cstring>"],"message":"\u003cstring>","code":"\u003cstring>","min":123,"max":123}]},"trace_id":"\u003cstring>","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6da3e914-711b-46bf-a5bc-382c5024b370":{"description":"No valid credential. `error.code` is `unauthorized`.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"description":"Always `false` on an error response.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"oneOf":[{"description":"Always `null` on an error response.","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Always `null` on an error response.","type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"any | null"},"error":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP status of the response.","isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable code that names the refusal. Branch on this value.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Text for a person. It can change between versions: do not branch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"oneOf":[{"type":"integer","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_after","typeLabel":"integer | null"},"retry_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_at","typeLabel":"string | null"},"issues":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Where the problem is: the field names and array indexes that lead to it.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Text for a person.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].code","typeLabel":"string"},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].min","typeLabel":"integer"},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].max","typeLabel":"integer"}},"required":["path","message","code"],"uniqueKey":"error.issues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"description":"Where the problem is: the field names and array indexes that lead to it."},"message":{"type":"string","description":"Text for a person."},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`."},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`."},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters."}},"required":["path","message","code"]},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.issues","typeLabel":"object[] | null"}},"required":["status","code","message","retry_after","retry_at","issues"],"description":"What went wrong. The six fields are always present; `retry_after`, `retry_at` and `issues` are `null` when they do not apply.","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.","isRequired":true,"uniqueKey":"trace_id","typeLabel":"string"},"request_id":{"type":"string","description":"Id of the request that produced this response: `req_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["success","data","error","trace_id","request_id"],"description":"The body of an error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":"\u003cunknown>","error":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","retry_after":123,"retry_at":"\u003cstring>","issues":[{"path":["\u003cstring>"],"message":"\u003cstring>","code":"\u003cstring>","min":123,"max":123}]},"trace_id":"\u003cstring>","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"58f7843f-a2ae-46df-8406-0f838f01fe5a":{"description":"Not returned by this operation: a message on a line outside the key's `line_ids` returns `404`.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"description":"Always `false` on an error response.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"oneOf":[{"description":"Always `null` on an error response.","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Always `null` on an error response.","type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"any | null"},"error":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP status of the response.","isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable code that names the refusal. Branch on this value.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Text for a person. It can change between versions: do not branch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"oneOf":[{"type":"integer","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_after","typeLabel":"integer | null"},"retry_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_at","typeLabel":"string | null"},"issues":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Where the problem is: the field names and array indexes that lead to it.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Text for a person.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].code","typeLabel":"string"},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].min","typeLabel":"integer"},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].max","typeLabel":"integer"}},"required":["path","message","code"],"uniqueKey":"error.issues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"description":"Where the problem is: the field names and array indexes that lead to it."},"message":{"type":"string","description":"Text for a person."},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`."},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`."},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters."}},"required":["path","message","code"]},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.issues","typeLabel":"object[] | null"}},"required":["status","code","message","retry_after","retry_at","issues"],"description":"What went wrong. The six fields are always present; `retry_after`, `retry_at` and `issues` are `null` when they do not apply.","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.","isRequired":true,"uniqueKey":"trace_id","typeLabel":"string"},"request_id":{"type":"string","description":"Id of the request that produced this response: `req_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["success","data","error","trace_id","request_id"],"description":"The body of an error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":"\u003cunknown>","error":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","retry_after":123,"retry_at":"\u003cstring>","issues":[{"path":["\u003cstring>"],"message":"\u003cstring>","code":"\u003cstring>","min":123,"max":123}]},"trace_id":"\u003cstring>","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3c2f4550-4f14-46f3-b704-b3dcddbcd3f4":{"description":"Not found. `error.code` is `not_found`: the message does not exist, iSnap has deleted it (at least 72 hours after it recorded it), it belongs to another account or to a trial, or it is on a line outside the key's `line_ids`.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"description":"Always `false` on an error response.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"oneOf":[{"description":"Always `null` on an error response.","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Always `null` on an error response.","type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"any | null"},"error":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP status of the response.","isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable code that names the refusal. Branch on this value.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Text for a person. It can change between versions: do not branch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"oneOf":[{"type":"integer","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_after","typeLabel":"integer | null"},"retry_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_at","typeLabel":"string | null"},"issues":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Where the problem is: the field names and array indexes that lead to it.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Text for a person.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].code","typeLabel":"string"},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].min","typeLabel":"integer"},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].max","typeLabel":"integer"}},"required":["path","message","code"],"uniqueKey":"error.issues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"description":"Where the problem is: the field names and array indexes that lead to it."},"message":{"type":"string","description":"Text for a person."},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`."},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`."},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters."}},"required":["path","message","code"]},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.issues","typeLabel":"object[] | null"}},"required":["status","code","message","retry_after","retry_at","issues"],"description":"What went wrong. The six fields are always present; `retry_after`, `retry_at` and `issues` are `null` when they do not apply.","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.","isRequired":true,"uniqueKey":"trace_id","typeLabel":"string"},"request_id":{"type":"string","description":"Id of the request that produced this response: `req_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["success","data","error","trace_id","request_id"],"description":"The body of an error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":"\u003cunknown>","error":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","retry_after":123,"retry_at":"\u003cstring>","issues":[{"path":["\u003cstring>"],"message":"\u003cstring>","code":"\u003cstring>","min":123,"max":123}]},"trace_id":"\u003cstring>","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2d3de621-86e1-4273-85c4-11528c813166":{"description":"Too many requests. `error.code` is `rate_limit_exceeded` when more than 100 requests came from the same network address in 60 seconds, whatever their API key or account: wait `error.retry_after` seconds.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"description":"Always `false` on an error response.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"oneOf":[{"description":"Always `null` on an error response.","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Always `null` on an error response.","type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"any | null"},"error":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP status of the response.","isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable code that names the refusal. Branch on this value.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Text for a person. It can change between versions: do not branch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"oneOf":[{"type":"integer","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_after","typeLabel":"integer | null"},"retry_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_at","typeLabel":"string | null"},"issues":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Where the problem is: the field names and array indexes that lead to it.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Text for a person.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].code","typeLabel":"string"},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].min","typeLabel":"integer"},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].max","typeLabel":"integer"}},"required":["path","message","code"],"uniqueKey":"error.issues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"description":"Where the problem is: the field names and array indexes that lead to it."},"message":{"type":"string","description":"Text for a person."},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`."},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`."},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters."}},"required":["path","message","code"]},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.issues","typeLabel":"object[] | null"}},"required":["status","code","message","retry_after","retry_at","issues"],"description":"What went wrong. The six fields are always present; `retry_after`, `retry_at` and `issues` are `null` when they do not apply.","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.","isRequired":true,"uniqueKey":"trace_id","typeLabel":"string"},"request_id":{"type":"string","description":"Id of the request that produced this response: `req_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["success","data","error","trace_id","request_id"],"description":"The body of an error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":"\u003cunknown>","error":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","retry_after":123,"retry_at":"\u003cstring>","issues":[{"path":["\u003cstring>"],"message":"\u003cstring>","code":"\u003cstring>","min":123,"max":123}]},"trace_id":"\u003cstring>","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"10f31c6d-7b5f-4e50-8746-6c02ddda261d":{"description":"Unexpected failure. `error.code` is `internal_error`. An operation that takes a JSON body also returns it when the body, sent as `application/json`, is not valid JSON. Quote `trace_id` when you report it to iSnap.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"description":"Always `false` on an error response.","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"oneOf":[{"description":"Always `null` on an error response.","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Always `null` on an error response.","type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"any | null"},"error":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP status of the response.","isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable code that names the refusal. Branch on this value.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Text for a person. It can change between versions: do not branch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"oneOf":[{"type":"integer","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds to wait before the next attempt. Set on the `429` responses that know a delay, where the `Retry-After` header carries the same value. When it is above 60 seconds, do not wait in a request: schedule the call, or report the time. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_after.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_after","typeLabel":"integer | null"},"retry_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp at which the refusal ends. Set only on `429 rebind_cap_reached`. `null` on every other error.","isRequired":true,"uniqueKey":"error.retry_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.retry_at","typeLabel":"string | null"},"issues":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Where the problem is: the field names and array indexes that lead to it.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Text for a person.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`.","isRequired":true,"uniqueKey":"error.issues.oneOf.0.items.[INDEX].code","typeLabel":"string"},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].min","typeLabel":"integer"},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters.","uniqueKey":"error.issues.oneOf.0.items.[INDEX].max","typeLabel":"integer"}},"required":["path","message","code"],"uniqueKey":"error.issues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"description":"Where the problem is: the field names and array indexes that lead to it."},"message":{"type":"string","description":"Text for a person."},"code":{"type":"string","description":"Kind of problem. On `validation_failed`, for example `invalid_type`, `invalid_value`, `invalid_format`, `invalid_union`, `invalid_key`, `invalid_element`, `too_small`, `too_big`, `not_multiple_of`, `unrecognized_keys` or `custom`. The list is open: read `path` and `message`."},"min":{"type":"integer","description":"Smallest accepted value. Present only on `limit_out_of_bounds`, `mac_quantity_not_a_pack`, `byop_reduction_strands_mac_sessions` and `byop_reduction_strands_byod_lines`."},"max":{"type":"integer","description":"Largest accepted value. Present only on `limit_out_of_bounds` and `mac_sessions_exceed_byop_lines`, and on the `too_big` issue of an `Idempotency-Key` header longer than 255 characters."}},"required":["path","message","code"]},"description":"Problems found in the request, one entry each. Set on most `400 validation_failed` responses and on the refusals that name a field: a refused `handle` of `POST /v1/lookup` has `issues: null`. `null` on every other error.","isRequired":true,"uniqueKey":"error.issues.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.issues","typeLabel":"object[] | null"}},"required":["status","code","message","retry_after","retry_at","issues"],"description":"What went wrong. The six fields are always present; `retry_after`, `retry_at` and `issues` are `null` when they do not apply.","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.","isRequired":true,"uniqueKey":"trace_id","typeLabel":"string"},"request_id":{"type":"string","description":"Id of the request that produced this response: `req_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"required":["success","data","error","trace_id","request_id"],"description":"The body of an error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":"\u003cunknown>","error":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","retry_after":123,"retry_at":"\u003cstring>","issues":[{"path":["\u003cstring>"],"message":"\u003cstring>","code":"\u003cstring>","min":123,"max":123}]},"trace_id":"\u003cstring>","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"142abfe4-794e-4e30-905a-4c4dec84850f":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key created in the iSnap dashboard, or a trial key, sent as `Authorization: Bearer \u003ckey>`. An API key starts with `isnap_live_` or `isnap_test_`; both act on the same account, lines and billing. A trial key acts on its trial only.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"13b85773-3d70-47e8-aa94-bbc0de8ddb38":{"url":"https://api.isnap.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key created in the iSnap dashboard, or a trial key, sent as `Authorization: Bearer \u003ckey>`. An API key starts with `isnap_live_` or `isnap_test_`; both act on the same account, lines and billing. A trial key acts on its trial only.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key created in the iSnap dashboard, or a trial key, sent as `Authorization: Bearer \u003ckey>`. An API key starts with `isnap_live_` or `isnap_test_`; both act on the same account, lines and billing. A trial key acts on its trial only.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"isnap","siteName":"iSnap","title":"Get a message - iSnap","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T21:37:58.865Z","originalFileLocation":"api-reference/messages/get-message.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns one message with its current status.\">\u003cmeta data-mint-head name=\"application-name\" content=\"iSnap\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a message - iSnap\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns one message with its current status.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"iSnap\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.isnap.ai/api-reference/messages/get-message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://isnap.mintlify.site/_mintlify/api/og/v2?division=Messages\u0026amp;title=Get+a+message\u0026amp;description=Returns+one+message+with+its+current+status.\u0026amp;theme=f241cf48d31b6385a79939a4\u0026amp;signature=96b1cd64184a8acaba39f2bca39bd23b88a0bd04c9bf45595d84f4c1acae8214\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get a message - iSnap\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns one message with its current status.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://isnap.mintlify.site/_mintlify/api/og/v2?division=Messages\u0026amp;title=Get+a+message\u0026amp;description=Returns+one+message+with+its+current+status.\u0026amp;theme=f241cf48d31b6385a79939a4\u0026amp;signature=96b1cd64184a8acaba39f2bca39bd23b88a0bd04c9bf45595d84f4c1acae8214\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/isnap/MAUBHsnI8bnMXK2C/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"iSnap\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#09090b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.isnap.ai/api-reference/messages/get-message\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/messages/get-message.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.isnap.ai/#organization\",\"name\":\"iSnap\",\"url\":\"https://docs.isnap.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/isnap/wJQmSVFBFz3YnuZ4/images/logo-light.svg?fit=max\u0026auto=format\u0026n=wJQmSVFBFz3YnuZ4\u0026q=85\u0026s=1208ab10ce8a1de87ddc30bbcaae611d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.isnap.ai#website\",\"name\":\"iSnap\",\"url\":\"https://docs.isnap.ai\",\"publisher\":{\"@id\":\"https://docs.isnap.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.isnap.ai/api-reference/messages/get-message#webpage\",\"url\":\"https://docs.isnap.ai/api-reference/messages/get-message\",\"name\":\"Get a message\",\"description\":\"Returns one message with its current status.\",\"dateModified\":\"2026-10-12T21:37:58.865Z\",\"isPartOf\":{\"@id\":\"https://docs.isnap.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.isnap.ai/api-reference/messages/get-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.isnap.ai/api-reference/messages/get-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Messages\",\"item\":\"https://docs.isnap.ai/api-reference/messages/send-message\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a message\",\"item\":\"https://docs.isnap.ai/api-reference/messages/get-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.isnap.ai/api-reference/messages/get-message#apireference\",\"headline\":\"Get a message\",\"name\":\"Get a message\",\"description\":\"Returns one message with its current status.\",\"url\":\"https://docs.isnap.ai/api-reference/messages/get-message\",\"mainEntityOfPage\":{\"@id\":\"https://docs.isnap.ai/api-reference/messages/get-message#webpage\"},\"dateModified\":\"2026-10-12T21:37:58.865Z\",\"publisher\":{\"@id\":\"https://docs.isnap.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.isnap.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"iSnap\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"iSnap\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/messages/get-message.md","siteName":"iSnap","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks/overview"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/overview"}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API reference","sidebarTitle":"Overview","href":"/api-reference/introduction"},{"title":"Changelog","href":"/changelog"}]},{"group":"Messages","pages":[{"title":"Send a message","openapi":"POST /v1/messages","href":"/api-reference/messages/send-message"},{"title":"List messages","description":"Lists the inbound and outbound messages that iSnap keeps, newest first, with filters and a cursor.","openapi":"GET /v1/messages","href":"/api-reference/messages/list-messages"},{"title":"Get a message","openapi":"GET /v1/messages/{id}","href":"/api-reference/messages/get-message"},{"title":"Cancel a message","description":"Cancels a queued or held message that the line's device has not taken.","openapi":"DELETE /v1/messages/{id}","href":"/api-reference/messages/cancel-message"},{"title":"Add a reaction","openapi":"POST /v1/messages/{id}/reactions","href":"/api-reference/messages/add-reaction"},{"title":"Remove a reaction","openapi":"DELETE /v1/messages/{id}/reactions","href":"/api-reference/messages/remove-reaction"}]},{"group":"Chats","pages":[{"title":"List chats","openapi":"GET /v1/chats","href":"/api-reference/chats/list-chats"},{"title":"Get a chat","openapi":"GET /v1/chats/{chat_id}","href":"/api-reference/chats/get-chat"},{"title":"Mark a chat as read","openapi":"POST /v1/chats/{chat_id}/read","href":"/api-reference/chats/mark-chat-read"},{"title":"Show the typing indicator","openapi":"POST /v1/chats/{chat_id}/typing","href":"/api-reference/chats/start-typing"},{"title":"Clear the typing indicator","openapi":"DELETE /v1/chats/{chat_id}/typing","href":"/api-reference/chats/stop-typing"},{"title":"Send a contact card","openapi":"POST /v1/chats/{chat_id}/share-contact-card","href":"/api-reference/chats/share-contact-card"}]},{"group":"Attachments","pages":[{"title":"Create an attachment","openapi":"POST /v1/attachments","href":"/api-reference/attachments/create-attachment"},{"title":"Get an attachment","openapi":"GET /v1/attachments/{id}","href":"/api-reference/attachments/get-attachment"}]},{"group":"Recipient lookup","pages":[{"title":"Look up a recipient","openapi":"POST /v1/lookup","href":"/api-reference/lookup/look-up-recipient"}]},{"group":"Lines","pages":[{"title":"List available lines","openapi":"GET /v1/lines","href":"/api-reference/lines/list-available-lines"},{"title":"Get a line","openapi":"GET /v1/lines/{id}","href":"/api-reference/lines/get-line"},{"title":"List your active and reserved lines","openapi":"GET /v1/lines/my","href":"/api-reference/lines/list-my-lines"},{"title":"Update the metadata or billing anchor of a line","openapi":"PATCH /v1/lines/{id}","href":"/api-reference/lines/update-line"},{"title":"Reserve a line","openapi":"POST /v1/lines/{id}/reserve","href":"/api-reference/lines/reserve-line"},{"title":"Activate a reserved line","openapi":"POST /v1/lines/{id}/activate","href":"/api-reference/lines/activate-line"},{"title":"Release a reserved line","openapi":"POST /v1/lines/{id}/release","href":"/api-reference/lines/release-line"},{"title":"Assign a line","openapi":"POST /v1/lines/assign","href":"/api-reference/lines/assign-line"},{"title":"Create a shared line","openapi":"POST /v1/lines/shared","href":"/api-reference/lines/create-shared-line"}]},{"group":"Line lifecycle","pages":[{"title":"Terminate a line","openapi":"POST /v1/lines/{id}/terminate","href":"/api-reference/lines/terminate-line"},{"title":"Cancel a line at its next anniversary","openapi":"POST /v1/lines/{id}/cancel","href":"/api-reference/lines/cancel-line"},{"title":"Uncancel a line","openapi":"POST /v1/lines/{id}/uncancel","href":"/api-reference/lines/uncancel-line"},{"title":"Set the anniversary of a line","openapi":"POST /v1/lines/{id}/anniversary","href":"/api-reference/lines/set-line-anniversary"},{"title":"Change the variant of a line","openapi":"POST /v1/lines/{id}/variant","href":"/api-reference/lines/change-line-variant"},{"title":"Withdraw a scheduled variant change","openapi":"DELETE /v1/lines/{id}/variant","href":"/api-reference/lines/cancel-variant-change"},{"title":"Convert a line to a test line","openapi":"POST /v1/lines/{id}/convert-to-test","href":"/api-reference/lines/convert-to-test-line"},{"title":"Convert a test line back to a rented line","openapi":"POST /v1/lines/{id}/convert-from-test","href":"/api-reference/lines/convert-from-test-line"},{"title":"Transfer a line to another account","openapi":"POST /v1/lines/{id}/transfer-ownership","href":"/api-reference/lines/transfer-line"}]},{"group":"Line configuration and state","pages":[{"title":"Get the configuration of a line","openapi":"GET /v1/lines/{id}/config","href":"/api-reference/lines/get-line-config"},{"title":"Update the configuration of a line","openapi":"PATCH /v1/lines/{id}/config","href":"/api-reference/lines/update-line-config"},{"title":"Get the sending limits of a line","openapi":"GET /v1/lines/{id}/quota","href":"/api-reference/lines/get-line-sending-limits"},{"title":"List the queue of a line","openapi":"GET /v1/lines/{id}/queue","href":"/api-reference/lines/get-line-queue"},{"title":"Get the health of a BYOD line","openapi":"GET /v1/lines/{id}/health","href":"/api-reference/lines/get-line-health"},{"title":"List the lines that need attention","openapi":"GET /v1/attention","href":"/api-reference/lines/list-attention"}]},{"group":"Webhook subscriptions","pages":[{"title":"Create a webhook subscription","openapi":"POST /v1/webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"List webhook subscriptions","openapi":"GET /v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Get a webhook subscription","openapi":"GET /v1/webhooks/{id}","href":"/api-reference/webhooks/get-webhook"},{"title":"Update a webhook subscription","openapi":"PATCH /v1/webhooks/{id}","href":"/api-reference/webhooks/update-webhook"},{"title":"Delete a webhook subscription","openapi":"DELETE /v1/webhooks/{id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Rotate a signing secret","openapi":"POST /v1/webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/rotate-webhook-secret"},{"title":"List the deliveries of a webhook subscription","openapi":"GET /v1/webhooks/{id}/deliveries","href":"/api-reference/webhooks/list-webhook-deliveries"},{"title":"Replay a delivery","openapi":"POST /v1/webhooks/{id}/deliveries/{delivery_id}/replay","href":"/api-reference/webhooks/replay-webhook-delivery"},{"title":"List the events feed","openapi":"GET /v1/webhooks/events","href":"/api-reference/webhooks/list-webhook-events"}]},{"group":"Trials","pages":[{"title":"Start a trial","openapi":"POST /v1/trial/init","href":"/api-reference/trials/start-trial"},{"title":"Get the pairing status of a trial","openapi":"GET /v1/trial/status","href":"/api-reference/trials/get-trial-status"},{"title":"Get the activity of a trial","openapi":"GET /v1/trial/activity","href":"/api-reference/trials/get-trial-activity"},{"title":"Get a trial","openapi":"GET /v1/trial/{trial_id}","href":"/api-reference/trials/get-trial"},{"title":"Update the metadata of a trial","openapi":"PATCH /v1/trial/{trial_id}","href":"/api-reference/trials/update-trial"},{"title":"Revoke a trial","openapi":"POST /v1/trial/{trial_id}/revoke","href":"/api-reference/trials/revoke-trial"}]},{"group":"BYOD","pages":[{"title":"Issue a BYOD activation code","openapi":"POST /v1/byod/pair","href":"/api-reference/byod/start-byod-pairing"},{"title":"Get the bridge app downloads","openapi":"GET /v1/apps","href":"/api-reference/byod/get-app-downloads"}]},{"group":"Pre-orders","pages":[{"title":"Create a pre-order","openapi":"POST /v1/pre-orders","href":"/api-reference/pre-orders/create-pre-order"},{"title":"List pre-orders","openapi":"GET /v1/pre-orders","href":"/api-reference/pre-orders/list-pre-orders"},{"title":"Get a pre-order","openapi":"GET /v1/pre-orders/{id}","href":"/api-reference/pre-orders/get-pre-order"},{"title":"Update the metadata of a pre-order","openapi":"PATCH /v1/pre-orders/{id}","href":"/api-reference/pre-orders/update-pre-order"},{"title":"Confirm a pre-order","openapi":"POST /v1/pre-orders/{id}/confirm","href":"/api-reference/pre-orders/confirm-pre-order"},{"title":"Cancel a pre-order","openapi":"POST /v1/pre-orders/{id}/cancel","href":"/api-reference/pre-orders/cancel-pre-order"},{"title":"List area codes","openapi":"GET /v1/area-codes","href":"/api-reference/pre-orders/list-area-codes"}]},{"group":"Hosted macOS sessions","pages":[{"title":"Rent a hosted macOS session","openapi":"POST /v1/macos-sessions/rent","href":"/api-reference/macos-sessions/rent-macos-session"},{"title":"Get a hosted macOS session","openapi":"GET /v1/macos-sessions/{id}","href":"/api-reference/macos-sessions/get-macos-session"},{"title":"Update the metadata of a hosted macOS session","openapi":"PATCH /v1/macos-sessions/{id}","href":"/api-reference/macos-sessions/update-macos-session"},{"title":"Cancel a hosted macOS session at its next anniversary","openapi":"POST /v1/macos-sessions/{id}/cancel","href":"/api-reference/macos-sessions/cancel-macos-session"},{"title":"Uncancel a hosted macOS session","openapi":"POST /v1/macos-sessions/{id}/uncancel","href":"/api-reference/macos-sessions/uncancel-macos-session"}]},{"group":"Service","pages":[{"title":"Get the health of the API","openapi":"GET /v1/health","href":"/api-reference/service/get-health"},{"title":"Get the version of the API","openapi":"GET /v1/version","href":"/api-reference/service/get-version"}]}]}]},"basePath":"","title":"Get a message - iSnap","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}