Credential: an API key of the owner of the line. See Configuration for the direction rule, the ranges and the way back to a default.
Line-scoped keys: a line-scoped key gets 403 forbidden unless the line is in its list.
Idempotency-Key: not honored. The operation sets the keys you send and keeps the others, so the same request sent twice leaves the line in the same state.
Body:null is not accepted for any key, and an unknown key is refused. To remove an override, send the key with its default value. For activity_curve, send the default_activity_curve of GET /v1/lines/{id}/config: a curve that gives every hour the same weight as that curve, an hour with no entry counting as 0, removes the override. A request that does not send activity_curve leaves its override in place.
Errors
Status
error.code
When
400
validation_failed
The body has an unknown key or a null value, a number is outside the range that the schema of this operation accepts, timezone is not a valid IANA time zone name, or an activity_curve entry has an hour outside 0 to 23 or a weight that is negative or not an integer.
403
forbidden
The request uses a line-scoped key, and the line is not in its list.
403
cannot_increase_limit
A limit is inside its accepted range and above its default. On a BYOD line, this applies only to max_queue_depth and to the three reply limits.
403
cannot_decrease_delay
min_inter_message_seconds or min_inter_new_contact_seconds is below its default.
404
not_found
No line has this id, or you do not own the line.
422
limit_out_of_bounds
One of the five message limits is outside its accepted range. For one key, this check comes before cannot_increase_limit: on every line, a value above the range returns this code or 400 validation_failed, never cannot_increase_limit. error.issues[0] carries the allowed min and max.
422
invalid_activity_curve
activity_curve is empty, names an hour twice, or has a total weight of 0.
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
Id of a line: line_ followed by 25 letters or digits.
Pattern: ^line_[0-9A-Za-z]{25}$
Body
application/json
The keys to override on this line. Send a key with its default value to remove its override. null and unknown keys return 400 validation_failed.
default_use_typing_indicator
boolean
Whether a message that does not state use_typing_indicator shows the typing indicator before it is sent.
quota_overflow_behavior
enum<string>
What happens to a send that reaches a sending limit. queue: the message is accepted and held, with status: scheduled. drop or fail: the send returns 429 and nothing is stored; the two values behave the same.
Available options:
queue,
drop,
fail
daily_new_contact_limit
integer
Distinct new contacts the line can message per rolling 24 hours. Accepted values: 5 to 200. Another integer from 1 to 500 returns 422 limit_out_of_bounds. A value outside 1 to 500, or one that is not an integer, returns 400 validation_failed. It can only be lowered below the default (403 cannot_increase_limit), except on a BYOD line, where it can be raised up to knobs.daily_new_contact_limit.max.
Required range: 1 <= x <= 500
daily_known_contact_limit
integer
Distinct known contacts the line can message per rolling 24 hours. Accepted values: 10 to 1,000. Another integer from 1 to 2,000 returns 422 limit_out_of_bounds. A value outside 1 to 2,000, or one that is not an integer, returns 400 validation_failed. It can only be lowered below the default (403 cannot_increase_limit), except on a BYOD line, where it can be raised up to knobs.daily_known_contact_limit.max.
Required range: 1 <= x <= 2000
daily_total_message_limit
integer
Messages the line can send per rolling 24 hours. Accepted values: 10 to 1,000. Another integer from 1 to 100,000 returns 422 limit_out_of_bounds. A value outside 1 to 100,000, or one that is not an integer, returns 400 validation_failed. It can only be lowered below the default (403 cannot_increase_limit), except on a BYOD line, where it can be raised up to knobs.daily_total_message_limit.max.
Required range: 1 <= x <= 100000
hourly_message_limit
integer
Messages the line can send per rolling 60 minutes. Accepted values: 5 to 200. Another integer from 1 to 1,000 returns 422 limit_out_of_bounds. A value outside 1 to 1,000, or one that is not an integer, returns 400 validation_failed. It can only be lowered below the default (403 cannot_increase_limit), except on a BYOD line, where it can be raised up to knobs.hourly_message_limit.max.
Required range: 1 <= x <= 1000
minute_message_limit
integer
Messages the line can send per rolling 60 seconds. Accepted values: 1 to 60. An integer from 61 to 100 returns 422 limit_out_of_bounds. A value outside 1 to 100, or one that is not an integer, returns 400 validation_failed. It can only be lowered below the default (403 cannot_increase_limit), except on a BYOD line, where it can be raised up to knobs.minute_message_limit.max.
Required range: 1 <= x <= 100
min_inter_message_seconds
integer
Minimum number of seconds between two messages of the line. Accepted values: 1 to 300. It can only be raised above the default (403 cannot_decrease_delay).
Required range: 1 <= x <= 300
min_inter_new_contact_seconds
integer
Minimum number of seconds between two first messages to new contacts. Accepted values: 30 to 3,600. It can only be raised above the default (403 cannot_decrease_delay).
Required range: 30 <= x <= 3600
max_queue_depth
integer
Maximum number of held messages on the line: beyond it, a send that would be held returns 429 queue_full. Accepted values: 10 to 5,000. It can only be lowered below the default (403 cannot_increase_limit).
Required range: 10 <= x <= 5000
reply_window_hours
integer
Reply lane: a message qualifies as a reply when its recipient messaged the line within this number of hours. Accepted values: 1 to 168. It can only be lowered below the default (403 cannot_increase_limit).
Required range: 1 <= x <= 168
reply_max_per_inbound
integer
Reply lane: the number of messages to a contact that qualify as replies after each message from that contact. 0 turns the reply lane off. Accepted values: 0 to 50. It can only be lowered below the default (403 cannot_increase_limit).
Required range: 0 <= x <= 50
daily_reply_limit
integer
Reply-lane allowance: the number of replies per rolling 24 hours that can pass a sending limit through the reply lane. 0 turns the reply lane off. Accepted values: 0 to 1,000. It can only be lowered below the default (403 cannot_increase_limit).
Required range: 0 <= x <= 1000
timezone
string
IANA time zone name of the line, for example America/New_York (400 validation_failed otherwise). iSnap reads quiet hours in it for a recipient whose own time zone it does not know. Once set, it can be replaced but not removed.
activity_curve
object[]
The sending hours of the line, as a list of hours with a weight. An hour with weight 0, or with no entry, is a quiet hour: a message accepted then is held until the next hour that has a weight. Messages held by a 24-hour sending limit are placed in the hours in proportion to their weights. It needs at least one entry, no hour twice, and a total weight above 0 (422 invalid_activity_curve otherwise). A curve the same as default_activity_curve (returned by GET /v1/lines/{id}/config) removes the override instead of setting one. Two curves are the same when every hour from 0 to 23 has the same weight in both, an hour with no entry counting as 0: the order of the entries does not matter, and a curve that lists only its weighted hours is the same as the 24-hour curve with 0 everywhere else.
Show child attributes
Response
The configuration of the line after the change.
success
enum<boolean>
required
Always true on a success response.
Available options:
true
data
object
required
The sending configuration of a line.
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/lines/update-line-config","slug":"/api-reference/lines/update-line-config","pageMetadata":{"title":"Update the configuration of a line","description":"Sets per-line overrides of the send configuration of a line.","openapi":"PATCH /v1/lines/{id}/config","href":"/api-reference/lines/update-line-config"},"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: \"Sets per-line overrides of the send configuration of a line.\"\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 of the owner of the line. See `,_jsx(_components.a,{href:`/guides/managing-lines#configuration`,children:`Configuration`}),` for the direction rule, the ranges and the way back to a default.`]}),`\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:`403 forbidden`}),` unless the line is in its list.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`Idempotency-Key`}),`:`]}),` not honored. The operation sets the keys you send and keeps the others, so the same request sent twice leaves the line in the same state.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Events:`}),` none. See `,_jsx(_components.a,{href:`/webhooks/event-catalog#what-events-do-not-announce`,children:`What events do not announce`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Body:`}),` `,_jsx(_components.code,{children:`null`}),` is not accepted for any key, and an unknown key is refused. To remove an override, send the key with its default value. For `,_jsx(_components.code,{children:`activity_curve`}),`, send the `,_jsx(_components.code,{children:`default_activity_curve`}),` of `,_jsx(_components.a,{href:`/api-reference/lines/get-line-config`,children:_jsx(_components.code,{children:`GET /v1/lines/{id}/config`})}),`: a curve that gives every hour the same weight as that curve, an hour with no entry counting as 0, removes the override. A request that does not send `,_jsx(_components.code,{children:`activity_curve`}),` leaves its override in place.`]}),`\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 body has an unknown key or a `,_jsx(_components.code,{children:`null`}),` value, a number is outside the range that the schema of this operation accepts, `,_jsx(_components.code,{children:`timezone`}),` is not a valid IANA time zone name, or an `,_jsx(_components.code,{children:`activity_curve`}),` entry has an `,_jsx(_components.code,{children:`hour`}),` outside 0 to 23 or a `,_jsx(_components.code,{children:`weight`}),` that is negative or not an integer.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`forbidden`})}),_jsx(_components.td,{children:`The request uses a line-scoped key, and the line is not in its list.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`cannot_increase_limit`})}),_jsxs(_components.td,{children:[`A limit is inside its accepted range and above its default. On a BYOD line, this applies only to `,_jsx(_components.code,{children:`max_queue_depth`}),` and to the three reply limits.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`cannot_decrease_delay`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`min_inter_message_seconds`}),` or `,_jsx(_components.code,{children:`min_inter_new_contact_seconds`}),` is below its default.`]})]}),_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:`No line has this id, or you do not own the line.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`limit_out_of_bounds`})}),_jsxs(_components.td,{children:[`One of the five message limits is outside its accepted range. For one key, this check comes before `,_jsx(_components.code,{children:`cannot_increase_limit`}),`: on every line, a value above the range returns this code or `,_jsx(_components.code,{children:`400 validation_failed`}),`, never `,_jsx(_components.code,{children:`cannot_increase_limit`}),`. `,_jsx(_components.code,{children:`error.issues[0]`}),` carries the allowed `,_jsx(_components.code,{children:`min`}),` and `,_jsx(_components.code,{children:`max`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_activity_curve`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`activity_curve`}),` is empty, names an hour twice, or has a total weight of 0.`]})]})]})]}),`\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":"Update the configuration of a line","description":"Sets per-line overrides of the send configuration of a line.","openapi":"PATCH /v1/lines/{id}/config","href":"/api-reference/lines/update-line-config"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update the configuration of a line","description":"Sets per-line overrides of the send configuration of a line.","security":["0609578a-a281-4397-bbde-39f98b63cc4f"],"parameters":["e5548448-53bb-40ff-a20b-9c66a48d04f8"],"requestBody":"83c17fc1-3f44-4b2d-82d2-8c267b599f97","responses":{"200":"12ed0bca-9975-4c6c-8b2e-8fab1e54dab9","400":"0907c377-3bb5-4f5e-9deb-27a498d1bd7f","401":"b4dacf98-a430-4a4c-8285-3ff48279ea76","403":"f785170a-ceea-4405-b5c9-dcfc351be24f","404":"a402b993-929a-446c-9c9c-34de87ab9c0e","429":"01862a81-c41d-4b73-816f-d96c4dab6412","500":"dd42d350-77eb-4fe3-8e40-7932c40c2353"},"method":"patch","type":"path","servers":["13b85773-3d70-47e8-aa94-bbc0de8ddb38"],"path":"/v1/lines/{id}/config","baseUrlOptions":["https://api.isnap.ai"],"title":"Update the configuration of a line","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e5548448-53bb-40ff-a20b-9c66a48d04f8":{"schema":{"type":"string","pattern":"^line_[0-9A-Za-z]{25}$","description":"Id of a line: `line_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Id of a line: `line_` followed by 25 letters or digits.","name":"id","in":"path"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"default_use_typing_indicator":{"type":"boolean","description":"Whether a message that does not state `use_typing_indicator` shows the typing indicator before it is sent.","uniqueKey":"default_use_typing_indicator","typeLabel":"boolean"},"quota_overflow_behavior":{"type":"string","enum":["queue","drop","fail"],"description":"What happens to a send that reaches a sending limit. `queue`: the message is accepted and held, with `status: scheduled`. `drop` or `fail`: the send returns `429` and nothing is stored; the two values behave the same.","uniqueKey":"quota_overflow_behavior","typeLabel":"enum\u003cstring>"},"daily_new_contact_limit":{"type":"integer","minimum":1,"maximum":500,"description":"Distinct new contacts the line can message per rolling 24 hours. Accepted values: 5 to 200. Another integer from 1 to 500 returns `422 limit_out_of_bounds`. A value outside 1 to 500, or one that is not an integer, returns `400 validation_failed`. It can only be lowered below the default (`403 cannot_increase_limit`), except on a BYOD line, where it can be raised up to `knobs.daily_new_contact_limit.max`.","uniqueKey":"daily_new_contact_limit","typeLabel":"integer"},"daily_known_contact_limit":{"type":"integer","minimum":1,"maximum":2000,"description":"Distinct known contacts the line can message per rolling 24 hours. Accepted values: 10 to 1,000. Another integer from 1 to 2,000 returns `422 limit_out_of_bounds`. A value outside 1 to 2,000, or one that is not an integer, returns `400 validation_failed`. It can only be lowered below the default (`403 cannot_increase_limit`), except on a BYOD line, where it can be raised up to `knobs.daily_known_contact_limit.max`.","uniqueKey":"daily_known_contact_limit","typeLabel":"integer"},"daily_total_message_limit":{"type":"integer","minimum":1,"maximum":100000,"description":"Messages the line can send per rolling 24 hours. Accepted values: 10 to 1,000. Another integer from 1 to 100,000 returns `422 limit_out_of_bounds`. A value outside 1 to 100,000, or one that is not an integer, returns `400 validation_failed`. It can only be lowered below the default (`403 cannot_increase_limit`), except on a BYOD line, where it can be raised up to `knobs.daily_total_message_limit.max`.","uniqueKey":"daily_total_message_limit","typeLabel":"integer"},"hourly_message_limit":{"type":"integer","minimum":1,"maximum":1000,"description":"Messages the line can send per rolling 60 minutes. Accepted values: 5 to 200. Another integer from 1 to 1,000 returns `422 limit_out_of_bounds`. A value outside 1 to 1,000, or one that is not an integer, returns `400 validation_failed`. It can only be lowered below the default (`403 cannot_increase_limit`), except on a BYOD line, where it can be raised up to `knobs.hourly_message_limit.max`.","uniqueKey":"hourly_message_limit","typeLabel":"integer"},"minute_message_limit":{"type":"integer","minimum":1,"maximum":100,"description":"Messages the line can send per rolling 60 seconds. Accepted values: 1 to 60. An integer from 61 to 100 returns `422 limit_out_of_bounds`. A value outside 1 to 100, or one that is not an integer, returns `400 validation_failed`. It can only be lowered below the default (`403 cannot_increase_limit`), except on a BYOD line, where it can be raised up to `knobs.minute_message_limit.max`.","uniqueKey":"minute_message_limit","typeLabel":"integer"},"min_inter_message_seconds":{"type":"integer","minimum":1,"maximum":300,"description":"Minimum number of seconds between two messages of the line. Accepted values: 1 to 300. It can only be raised above the default (`403 cannot_decrease_delay`).","uniqueKey":"min_inter_message_seconds","typeLabel":"integer"},"min_inter_new_contact_seconds":{"type":"integer","minimum":30,"maximum":3600,"description":"Minimum number of seconds between two first messages to new contacts. Accepted values: 30 to 3,600. It can only be raised above the default (`403 cannot_decrease_delay`).","uniqueKey":"min_inter_new_contact_seconds","typeLabel":"integer"},"max_queue_depth":{"type":"integer","minimum":10,"maximum":5000,"description":"Maximum number of held messages on the line: beyond it, a send that would be held returns `429 queue_full`. Accepted values: 10 to 5,000. It can only be lowered below the default (`403 cannot_increase_limit`).","uniqueKey":"max_queue_depth","typeLabel":"integer"},"reply_window_hours":{"type":"integer","minimum":1,"maximum":168,"description":"Reply lane: a message qualifies as a reply when its recipient messaged the line within this number of hours. Accepted values: 1 to 168. It can only be lowered below the default (`403 cannot_increase_limit`).","uniqueKey":"reply_window_hours","typeLabel":"integer"},"reply_max_per_inbound":{"type":"integer","minimum":0,"maximum":50,"description":"Reply lane: the number of messages to a contact that qualify as replies after each message from that contact. 0 turns the reply lane off. Accepted values: 0 to 50. It can only be lowered below the default (`403 cannot_increase_limit`).","uniqueKey":"reply_max_per_inbound","typeLabel":"integer"},"daily_reply_limit":{"type":"integer","minimum":0,"maximum":1000,"description":"Reply-lane allowance: the number of replies per rolling 24 hours that can pass a sending limit through the reply lane. 0 turns the reply lane off. Accepted values: 0 to 1,000. It can only be lowered below the default (`403 cannot_increase_limit`).","uniqueKey":"daily_reply_limit","typeLabel":"integer"},"timezone":{"type":"string","description":"IANA time zone name of the line, for example `America/New_York` (`400 validation_failed` otherwise). iSnap reads quiet hours in it for a recipient whose own time zone it does not know. Once set, it can be replaced but not removed.","uniqueKey":"timezone","typeLabel":"string"},"activity_curve":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"integer","minimum":0,"maximum":23,"description":"Hour of the day, from 0 to 23, in the local time of the recipient.","isRequired":true,"uniqueKey":"activity_curve.items.[INDEX].hour","typeLabel":"integer"},"weight":{"type":"integer","minimum":0,"description":"Weight of this hour, a non-negative integer. 0 makes it a quiet hour; a larger weight gives the hour a larger share of the held messages.","isRequired":true,"uniqueKey":"activity_curve.items.[INDEX].weight","typeLabel":"integer"}},"required":["hour","weight"],"uniqueKey":"activity_curve.items.[INDEX]","typeLabel":"object"},"description":"The sending hours of the line, as a list of hours with a weight. An hour with weight 0, or with no entry, is a quiet hour: a message accepted then is held until the next hour that has a weight. Messages held by a 24-hour sending limit are placed in the hours in proportion to their weights. It needs at least one entry, no hour twice, and a total weight above 0 (`422 invalid_activity_curve` otherwise). A curve the same as `default_activity_curve` (returned by `GET /v1/lines/{id}/config`) removes the override instead of setting one. Two curves are the same when every hour from 0 to 23 has the same weight in both, an hour with no entry counting as 0: the order of the entries does not matter, and a curve that lists only its weighted hours is the same as the 24-hour curve with 0 everywhere else.","uniqueKey":"activity_curve","typeLabel":"object[]"}},"additionalProperties":false,"description":"The keys to override on this line. Send a key with its default value to remove its override. `null` and unknown keys return `400 validation_failed`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"default_use_typing_indicator":true,"daily_new_contact_limit":250,"daily_known_contact_limit":1000,"daily_total_message_limit":50000,"hourly_message_limit":500,"minute_message_limit":50,"min_inter_message_seconds":150,"min_inter_new_contact_seconds":1815,"max_queue_depth":2505,"reply_window_hours":84,"reply_max_per_inbound":25,"daily_reply_limit":500,"timezone":"\u003cstring>","activity_curve":[{"hour":11,"weight":1}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"12ed0bca-9975-4c6c-8b2e-8fab1e54dab9":{"description":"The configuration of the line after the change.","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":{"line_id":{"type":"string","pattern":"^line_[0-9A-Za-z]{25}$","description":"Id of a line: `line_` followed by 25 letters or digits.","isRequired":true,"uniqueKey":"data.line_id","typeLabel":"string"},"config":{"type":"object","properties":{"default_use_typing_indicator":{"type":"boolean","description":"Whether a message that does not state `use_typing_indicator` shows the typing indicator before it is sent.","isRequired":true,"uniqueKey":"data.config.default_use_typing_indicator","typeLabel":"boolean"},"quota_overflow_behavior":{"type":"string","enum":["queue","drop","fail"],"description":"What happens to a send that reaches a sending limit. `queue`: the message is accepted and held, with `status: scheduled`. `drop` or `fail`: the send returns `429` and nothing is stored; the two values behave the same.","isRequired":true,"uniqueKey":"data.config.quota_overflow_behavior","typeLabel":"enum\u003cstring>"},"daily_new_contact_limit":{"type":"integer","minimum":0,"description":"Distinct new contacts the line can message per rolling 24 hours.","isRequired":true,"uniqueKey":"data.config.daily_new_contact_limit","typeLabel":"integer"},"daily_known_contact_limit":{"type":"integer","minimum":0,"description":"Distinct known contacts the line can message per rolling 24 hours.","isRequired":true,"uniqueKey":"data.config.daily_known_contact_limit","typeLabel":"integer"},"daily_total_message_limit":{"type":"integer","minimum":0,"description":"Messages the line can send per rolling 24 hours.","isRequired":true,"uniqueKey":"data.config.daily_total_message_limit","typeLabel":"integer"},"hourly_message_limit":{"type":"integer","minimum":0,"description":"Messages the line can send per rolling 60 minutes.","isRequired":true,"uniqueKey":"data.config.hourly_message_limit","typeLabel":"integer"},"minute_message_limit":{"type":"integer","minimum":0,"description":"Messages the line can send per rolling 60 seconds.","isRequired":true,"uniqueKey":"data.config.minute_message_limit","typeLabel":"integer"},"min_inter_message_seconds":{"type":"integer","minimum":0,"description":"Minimum number of seconds between two messages of the line.","isRequired":true,"uniqueKey":"data.config.min_inter_message_seconds","typeLabel":"integer"},"min_inter_new_contact_seconds":{"type":"integer","minimum":0,"description":"Minimum number of seconds between two first messages to new contacts.","isRequired":true,"uniqueKey":"data.config.min_inter_new_contact_seconds","typeLabel":"integer"},"max_queue_depth":{"type":"integer","minimum":0,"description":"Maximum number of held messages on the line: beyond it, a send that would be held returns `429 queue_full`.","isRequired":true,"uniqueKey":"data.config.max_queue_depth","typeLabel":"integer"},"reply_window_hours":{"type":"integer","minimum":0,"description":"Reply lane: a message qualifies as a reply when its recipient messaged the line within this number of hours.","isRequired":true,"uniqueKey":"data.config.reply_window_hours","typeLabel":"integer"},"reply_max_per_inbound":{"type":"integer","minimum":0,"description":"Reply lane: the number of messages to a contact that qualify as replies after each message from that contact. 0 means the reply lane is off.","isRequired":true,"uniqueKey":"data.config.reply_max_per_inbound","typeLabel":"integer"},"daily_reply_limit":{"type":"integer","minimum":0,"description":"Reply-lane allowance: the number of replies per rolling 24 hours that can pass a sending limit through the reply lane. 0 means the reply lane is off.","isRequired":true,"uniqueKey":"data.config.daily_reply_limit","typeLabel":"integer"},"timezone":{"type":"string","description":"IANA time zone of the line. Without an override, iSnap derives it from the North American area code of the line, else from its country when that country has a single time zone; otherwise it is `Europe/London` for a `+44` number and `America/Chicago` for any other number.","isRequired":true,"uniqueKey":"data.config.timezone","typeLabel":"string"},"activity_curve":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"integer","minimum":0,"maximum":23,"description":"Hour of the day, from 0 to 23, in the local time of the recipient.","isRequired":true,"uniqueKey":"data.config.activity_curve.items.[INDEX].hour","typeLabel":"integer"},"weight":{"type":"integer","minimum":0,"description":"Weight of this hour, a non-negative integer. 0 makes it a quiet hour; a larger weight gives the hour a larger share of the held messages.","isRequired":true,"uniqueKey":"data.config.activity_curve.items.[INDEX].weight","typeLabel":"integer"}},"required":["hour","weight"],"uniqueKey":"data.config.activity_curve.items.[INDEX]","typeLabel":"object"},"description":"The sending hours in force on the line, as a list of hours with a weight: the override of the line where it has one, `default_activity_curve` otherwise. Never empty. An hour with weight 0, or with no entry, is a quiet hour.","isRequired":true,"uniqueKey":"data.config.activity_curve","typeLabel":"object[]"}},"required":["default_use_typing_indicator","quota_overflow_behavior","daily_new_contact_limit","daily_known_contact_limit","daily_total_message_limit","hourly_message_limit","minute_message_limit","min_inter_message_seconds","min_inter_new_contact_seconds","max_queue_depth","reply_window_hours","reply_max_per_inbound","daily_reply_limit","timezone","activity_curve"],"description":"The value in force for every key of the configuration: the override of the line where it has one, the default otherwise.","isRequired":true,"uniqueKey":"data.config","typeLabel":"object"},"overridden_keys":{"type":"array","items":{"type":"string","uniqueKey":"data.overridden_keys.items.[INDEX]","typeLabel":"string"},"description":"The keys of `config` that have an override on this line.","isRequired":true,"uniqueKey":"data.overridden_keys","typeLabel":"string[]"},"knobs":{"type":"object","properties":{"daily_new_contact_limit":{"type":"object","properties":{"current":{"type":"integer","minimum":0,"description":"The value in force on the line.","isRequired":true,"uniqueKey":"data.knobs.daily_new_contact_limit.current","typeLabel":"integer"},"default":{"type":"integer","minimum":0,"description":"The default value. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it.","isRequired":true,"uniqueKey":"data.knobs.daily_new_contact_limit.default","typeLabel":"integer"},"min":{"type":"integer","minimum":0,"description":"The smallest value the API accepts for this key.","isRequired":true,"uniqueKey":"data.knobs.daily_new_contact_limit.min","typeLabel":"integer"},"max":{"type":"integer","minimum":0,"description":"The upper bound of this key. A value above `default` is accepted, up to `max`, only on a BYOD line and only for `daily_new_contact_limit`, `daily_known_contact_limit`, `daily_total_message_limit`, `hourly_message_limit` and `minute_message_limit`. On any other line, and for the three reply limits on every line, a value above `default` returns `403 cannot_increase_limit`. A value above `max` is refused first, on every line, with `422 limit_out_of_bounds` or `400 validation_failed`.","isRequired":true,"uniqueKey":"data.knobs.daily_new_contact_limit.max","typeLabel":"integer"}},"required":["current","default","min","max"],"description":"One limit of the line: the value in force, its default, and its bounds. A value above the default is accepted only for the five message limits of a BYOD line.","isRequired":true,"uniqueKey":"data.knobs.daily_new_contact_limit","typeLabel":"object"},"daily_known_contact_limit":{"type":"object","properties":{"current":{"type":"integer","minimum":0,"description":"The value in force on the line.","isRequired":true,"uniqueKey":"data.knobs.daily_known_contact_limit.current","typeLabel":"integer"},"default":{"type":"integer","minimum":0,"description":"The default value. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it.","isRequired":true,"uniqueKey":"data.knobs.daily_known_contact_limit.default","typeLabel":"integer"},"min":{"type":"integer","minimum":0,"description":"The smallest value the API accepts for this key.","isRequired":true,"uniqueKey":"data.knobs.daily_known_contact_limit.min","typeLabel":"integer"},"max":{"type":"integer","minimum":0,"description":"The upper bound of this key. A value above `default` is accepted, up to `max`, only on a BYOD line and only for `daily_new_contact_limit`, `daily_known_contact_limit`, `daily_total_message_limit`, `hourly_message_limit` and `minute_message_limit`. On any other line, and for the three reply limits on every line, a value above `default` returns `403 cannot_increase_limit`. A value above `max` is refused first, on every line, with `422 limit_out_of_bounds` or `400 validation_failed`.","isRequired":true,"uniqueKey":"data.knobs.daily_known_contact_limit.max","typeLabel":"integer"}},"required":["current","default","min","max"],"description":"One limit of the line: the value in force, its default, and its bounds. A value above the default is accepted only for the five message limits of a BYOD line.","isRequired":true,"uniqueKey":"data.knobs.daily_known_contact_limit","typeLabel":"object"},"daily_total_message_limit":{"type":"object","properties":{"current":{"type":"integer","minimum":0,"description":"The value in force on the line.","isRequired":true,"uniqueKey":"data.knobs.daily_total_message_limit.current","typeLabel":"integer"},"default":{"type":"integer","minimum":0,"description":"The default value. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it.","isRequired":true,"uniqueKey":"data.knobs.daily_total_message_limit.default","typeLabel":"integer"},"min":{"type":"integer","minimum":0,"description":"The smallest value the API accepts for this key.","isRequired":true,"uniqueKey":"data.knobs.daily_total_message_limit.min","typeLabel":"integer"},"max":{"type":"integer","minimum":0,"description":"The upper bound of this key. A value above `default` is accepted, up to `max`, only on a BYOD line and only for `daily_new_contact_limit`, `daily_known_contact_limit`, `daily_total_message_limit`, `hourly_message_limit` and `minute_message_limit`. On any other line, and for the three reply limits on every line, a value above `default` returns `403 cannot_increase_limit`. A value above `max` is refused first, on every line, with `422 limit_out_of_bounds` or `400 validation_failed`.","isRequired":true,"uniqueKey":"data.knobs.daily_total_message_limit.max","typeLabel":"integer"}},"required":["current","default","min","max"],"description":"One limit of the line: the value in force, its default, and its bounds. A value above the default is accepted only for the five message limits of a BYOD line.","isRequired":true,"uniqueKey":"data.knobs.daily_total_message_limit","typeLabel":"object"},"hourly_message_limit":{"type":"object","properties":{"current":{"type":"integer","minimum":0,"description":"The value in force on the line.","isRequired":true,"uniqueKey":"data.knobs.hourly_message_limit.current","typeLabel":"integer"},"default":{"type":"integer","minimum":0,"description":"The default value. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it.","isRequired":true,"uniqueKey":"data.knobs.hourly_message_limit.default","typeLabel":"integer"},"min":{"type":"integer","minimum":0,"description":"The smallest value the API accepts for this key.","isRequired":true,"uniqueKey":"data.knobs.hourly_message_limit.min","typeLabel":"integer"},"max":{"type":"integer","minimum":0,"description":"The upper bound of this key. A value above `default` is accepted, up to `max`, only on a BYOD line and only for `daily_new_contact_limit`, `daily_known_contact_limit`, `daily_total_message_limit`, `hourly_message_limit` and `minute_message_limit`. On any other line, and for the three reply limits on every line, a value above `default` returns `403 cannot_increase_limit`. A value above `max` is refused first, on every line, with `422 limit_out_of_bounds` or `400 validation_failed`.","isRequired":true,"uniqueKey":"data.knobs.hourly_message_limit.max","typeLabel":"integer"}},"required":["current","default","min","max"],"description":"One limit of the line: the value in force, its default, and its bounds. A value above the default is accepted only for the five message limits of a BYOD line.","isRequired":true,"uniqueKey":"data.knobs.hourly_message_limit","typeLabel":"object"},"minute_message_limit":{"type":"object","properties":{"current":{"type":"integer","minimum":0,"description":"The value in force on the line.","isRequired":true,"uniqueKey":"data.knobs.minute_message_limit.current","typeLabel":"integer"},"default":{"type":"integer","minimum":0,"description":"The default value. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it.","isRequired":true,"uniqueKey":"data.knobs.minute_message_limit.default","typeLabel":"integer"},"min":{"type":"integer","minimum":0,"description":"The smallest value the API accepts for this key.","isRequired":true,"uniqueKey":"data.knobs.minute_message_limit.min","typeLabel":"integer"},"max":{"type":"integer","minimum":0,"description":"The upper bound of this key. A value above `default` is accepted, up to `max`, only on a BYOD line and only for `daily_new_contact_limit`, `daily_known_contact_limit`, `daily_total_message_limit`, `hourly_message_limit` and `minute_message_limit`. On any other line, and for the three reply limits on every line, a value above `default` returns `403 cannot_increase_limit`. A value above `max` is refused first, on every line, with `422 limit_out_of_bounds` or `400 validation_failed`.","isRequired":true,"uniqueKey":"data.knobs.minute_message_limit.max","typeLabel":"integer"}},"required":["current","default","min","max"],"description":"One limit of the line: the value in force, its default, and its bounds. A value above the default is accepted only for the five message limits of a BYOD line.","isRequired":true,"uniqueKey":"data.knobs.minute_message_limit","typeLabel":"object"},"reply_window_hours":{"type":"object","properties":{"current":{"type":"integer","minimum":0,"description":"The value in force on the line.","isRequired":true,"uniqueKey":"data.knobs.reply_window_hours.current","typeLabel":"integer"},"default":{"type":"integer","minimum":0,"description":"The default value. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it.","isRequired":true,"uniqueKey":"data.knobs.reply_window_hours.default","typeLabel":"integer"},"min":{"type":"integer","minimum":0,"description":"The smallest value the API accepts for this key.","isRequired":true,"uniqueKey":"data.knobs.reply_window_hours.min","typeLabel":"integer"},"max":{"type":"integer","minimum":0,"description":"The upper bound of this key. A value above `default` is accepted, up to `max`, only on a BYOD line and only for `daily_new_contact_limit`, `daily_known_contact_limit`, `daily_total_message_limit`, `hourly_message_limit` and `minute_message_limit`. On any other line, and for the three reply limits on every line, a value above `default` returns `403 cannot_increase_limit`. A value above `max` is refused first, on every line, with `422 limit_out_of_bounds` or `400 validation_failed`.","isRequired":true,"uniqueKey":"data.knobs.reply_window_hours.max","typeLabel":"integer"}},"required":["current","default","min","max"],"description":"One limit of the line: the value in force, its default, and its bounds. A value above the default is accepted only for the five message limits of a BYOD line.","isRequired":true,"uniqueKey":"data.knobs.reply_window_hours","typeLabel":"object"},"reply_max_per_inbound":{"type":"object","properties":{"current":{"type":"integer","minimum":0,"description":"The value in force on the line.","isRequired":true,"uniqueKey":"data.knobs.reply_max_per_inbound.current","typeLabel":"integer"},"default":{"type":"integer","minimum":0,"description":"The default value. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it.","isRequired":true,"uniqueKey":"data.knobs.reply_max_per_inbound.default","typeLabel":"integer"},"min":{"type":"integer","minimum":0,"description":"The smallest value the API accepts for this key.","isRequired":true,"uniqueKey":"data.knobs.reply_max_per_inbound.min","typeLabel":"integer"},"max":{"type":"integer","minimum":0,"description":"The upper bound of this key. A value above `default` is accepted, up to `max`, only on a BYOD line and only for `daily_new_contact_limit`, `daily_known_contact_limit`, `daily_total_message_limit`, `hourly_message_limit` and `minute_message_limit`. On any other line, and for the three reply limits on every line, a value above `default` returns `403 cannot_increase_limit`. A value above `max` is refused first, on every line, with `422 limit_out_of_bounds` or `400 validation_failed`.","isRequired":true,"uniqueKey":"data.knobs.reply_max_per_inbound.max","typeLabel":"integer"}},"required":["current","default","min","max"],"description":"One limit of the line: the value in force, its default, and its bounds. A value above the default is accepted only for the five message limits of a BYOD line.","isRequired":true,"uniqueKey":"data.knobs.reply_max_per_inbound","typeLabel":"object"},"daily_reply_limit":{"type":"object","properties":{"current":{"type":"integer","minimum":0,"description":"The value in force on the line.","isRequired":true,"uniqueKey":"data.knobs.daily_reply_limit.current","typeLabel":"integer"},"default":{"type":"integer","minimum":0,"description":"The default value. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it.","isRequired":true,"uniqueKey":"data.knobs.daily_reply_limit.default","typeLabel":"integer"},"min":{"type":"integer","minimum":0,"description":"The smallest value the API accepts for this key.","isRequired":true,"uniqueKey":"data.knobs.daily_reply_limit.min","typeLabel":"integer"},"max":{"type":"integer","minimum":0,"description":"The upper bound of this key. A value above `default` is accepted, up to `max`, only on a BYOD line and only for `daily_new_contact_limit`, `daily_known_contact_limit`, `daily_total_message_limit`, `hourly_message_limit` and `minute_message_limit`. On any other line, and for the three reply limits on every line, a value above `default` returns `403 cannot_increase_limit`. A value above `max` is refused first, on every line, with `422 limit_out_of_bounds` or `400 validation_failed`.","isRequired":true,"uniqueKey":"data.knobs.daily_reply_limit.max","typeLabel":"integer"}},"required":["current","default","min","max"],"description":"One limit of the line: the value in force, its default, and its bounds. A value above the default is accepted only for the five message limits of a BYOD line.","isRequired":true,"uniqueKey":"data.knobs.daily_reply_limit","typeLabel":"object"}},"required":["daily_new_contact_limit","daily_known_contact_limit","daily_total_message_limit","hourly_message_limit","minute_message_limit","reply_window_hours","reply_max_per_inbound","daily_reply_limit"],"description":"The eight limits that have a default and bounds: the five message limits and the three reply limits. Each has its value in force, its default and its bounds `min` and `max`. A value above `default` is accepted only for the five message limits of a BYOD line, up to `max`.","isRequired":true,"uniqueKey":"data.knobs","typeLabel":"object"},"default_activity_curve":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"integer","minimum":0,"maximum":23,"description":"Hour of the day, from 0 to 23, in the local time of the recipient.","isRequired":true,"uniqueKey":"data.default_activity_curve.items.[INDEX].hour","typeLabel":"integer"},"weight":{"type":"integer","minimum":0,"description":"Weight of this hour, a non-negative integer. 0 makes it a quiet hour; a larger weight gives the hour a larger share of the held messages.","isRequired":true,"uniqueKey":"data.default_activity_curve.items.[INDEX].weight","typeLabel":"integer"}},"required":["hour","weight"],"uniqueKey":"data.default_activity_curve.items.[INDEX]","typeLabel":"object"},"description":"The sending hours the line has without an `activity_curve` override, as a list of hours with a weight. Never empty. It depends on whether the line is an iMessage line or an Android line, and iSnap can change it: read it here instead of storing it. Send it as `activity_curve` in `PATCH /v1/lines/{id}/config` to remove the override.","isRequired":true,"uniqueKey":"data.default_activity_curve","typeLabel":"object[]"}},"required":["line_id","config","overridden_keys","knobs","default_activity_curve"],"description":"The sending configuration of a line.","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":{"line_id":"\u003cstring>","config":{"default_use_typing_indicator":true,"quota_overflow_behavior":"queue","daily_new_contact_limit":1,"daily_known_contact_limit":1,"daily_total_message_limit":1,"hourly_message_limit":1,"minute_message_limit":1,"min_inter_message_seconds":1,"min_inter_new_contact_seconds":1,"max_queue_depth":1,"reply_window_hours":1,"reply_max_per_inbound":1,"daily_reply_limit":1,"timezone":"\u003cstring>","activity_curve":[{"hour":11,"weight":1}]},"overridden_keys":["\u003cstring>"],"knobs":{"daily_new_contact_limit":{"current":1,"default":1,"min":1,"max":1},"daily_known_contact_limit":{"current":1,"default":1,"min":1,"max":1},"daily_total_message_limit":{"current":1,"default":1,"min":1,"max":1},"hourly_message_limit":{"current":1,"default":1,"min":1,"max":1},"minute_message_limit":{"current":1,"default":1,"min":1,"max":1},"reply_window_hours":{"current":1,"default":1,"min":1,"max":1},"reply_max_per_inbound":{"current":1,"default":1,"min":1,"max":1},"daily_reply_limit":{"current":1,"default":1,"min":1,"max":1}},"default_activity_curve":[{"hour":11,"weight":1}]},"trace_id":"\u003cstring>","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0907c377-3bb5-4f5e-9deb-27a498d1bd7f":{"description":"Invalid request. `validation_failed`: an unknown key, a `null` value, a value outside the range the schema declares, or a `timezone` that is not an IANA time zone name.","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"},"b4dacf98-a430-4a4c-8285-3ff48279ea76":{"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"},"f785170a-ceea-4405-b5c9-dcfc351be24f":{"description":"Refused. `forbidden`: the request carries neither an API key in its `Authorization` header nor the header `X-Requested-With: XMLHttpRequest`, or the key is line-scoped and this line is outside its list. `cannot_increase_limit`: a limit is above its default. `cannot_decrease_delay`: a delay is below its default.","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"},"a402b993-929a-446c-9c9c-34de87ab9c0e":{"description":"Not found. `not_found`: the line does not exist, or it is not yours.","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"},"01862a81-c41d-4b73-816f-d96c4dab6412":{"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"},"dd42d350-77eb-4fe3-8e40-7932c40c2353":{"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":{"0609578a-a281-4397-bbde-39f98b63cc4f":{"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":"Update the configuration of a line - iSnap","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T10:45:16.093Z","originalFileLocation":"api-reference/lines/update-line-config.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=\"Sets per-line overrides of the send configuration of a line.\">\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=\"Update the configuration of a line - iSnap\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sets per-line overrides of the send configuration of a line.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"iSnap\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.isnap.ai/api-reference/lines/update-line-config\">\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=Line+configuration+and+state\u0026amp;title=Update+the+configuration+of+a+line\u0026amp;description=Sets+per-line+overrides+of+the+send+configuration+of+a+line.\u0026amp;theme=f241cf48d31b6385a79939a4\u0026amp;signature=5483867eea6c88349f0893a45559c2f3d03cae77502f238d8d325f285038263f\">\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=\"Update the configuration of a line - iSnap\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sets per-line overrides of the send configuration of a line.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://isnap.mintlify.site/_mintlify/api/og/v2?division=Line+configuration+and+state\u0026amp;title=Update+the+configuration+of+a+line\u0026amp;description=Sets+per-line+overrides+of+the+send+configuration+of+a+line.\u0026amp;theme=f241cf48d31b6385a79939a4\u0026amp;signature=5483867eea6c88349f0893a45559c2f3d03cae77502f238d8d325f285038263f\">\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/lines/update-line-config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/lines/update-line-config.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/lines/update-line-config#webpage\",\"url\":\"https://docs.isnap.ai/api-reference/lines/update-line-config\",\"name\":\"Update the configuration of a line\",\"description\":\"Sets per-line overrides of the send configuration of a line.\",\"dateModified\":\"2026-10-15T10:45:16.093Z\",\"isPartOf\":{\"@id\":\"https://docs.isnap.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.isnap.ai/api-reference/lines/update-line-config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.isnap.ai/api-reference/lines/update-line-config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Line configuration and state\",\"item\":\"https://docs.isnap.ai/api-reference/lines/get-line-config\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update the configuration of a line\",\"item\":\"https://docs.isnap.ai/api-reference/lines/update-line-config\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.isnap.ai/api-reference/lines/update-line-config#apireference\",\"headline\":\"Update the configuration of a line\",\"name\":\"Update the configuration of a line\",\"description\":\"Sets per-line overrides of the send configuration of a line.\",\"url\":\"https://docs.isnap.ai/api-reference/lines/update-line-config\",\"mainEntityOfPage\":{\"@id\":\"https://docs.isnap.ai/api-reference/lines/update-line-config#webpage\"},\"dateModified\":\"2026-10-15T10:45:16.093Z\",\"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/lines/update-line-config.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","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","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","description":"Returns the send configuration in force on a line, the keys that are overridden, and the default and bounds of eight of its limits.","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","description":"Returns the five sending counters of a line with their limits, the reply-lane budget and the time each full counter frees room.","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":"Update the configuration of a line - 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"]}