curl -X POST https://api.telzino.com/v1/agents/3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f/sms \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Idempotency-Key: order-9312-ready" \ -H "Content-Type: application/json" \ -d '{ "to": "+15551234567", "body": "Your order is ready for pickup." }'
await telzino.sms.send({ agentId: '3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f', to: '+15551234567', body: 'Your order is ready for pickup.', idempotencyKey: 'order-9312-ready',});
{ "error": "opted_out", "error_description": "The recipient replied STOP to this number."}
Agents
Send SMS
Send a text message from the agent’s SMS number
POST
/
v1
/
agents
/
{agentId}
/
sms
curl -X POST https://api.telzino.com/v1/agents/3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f/sms \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Idempotency-Key: order-9312-ready" \ -H "Content-Type: application/json" \ -d '{ "to": "+15551234567", "body": "Your order is ready for pickup." }'
await telzino.sms.send({ agentId: '3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f', to: '+15551234567', body: 'Your order is ready for pickup.', idempotencyKey: 'order-9312-ready',});
{ "error": "opted_out", "error_description": "The recipient replied STOP to this number."}
Queues one text message from the agent’s hosted SMS number. The message joins that contact’s conversation, so when the customer texts back, the agent answers the reply like any other inbound text.The agent needs an enabled SMS number (a hosted SMS channel). Agents without one get 409 sms_not_enabled.Account, reseller, organization and agent-scoped API keys can all call this endpoint. An agent-scoped key can only send from its own agent.
Path Parameters
string
required
The agent that sends the text (UUID)
Headers
string
Optional, up to 200 characters. Retrying with the same key returns the first message (200) instead of sending a second text. Use your own id for the event, for example order-9312-ready.
Request Body
string
required
Recipient in E.164 format, e.g. +15551234567
string
required
The text, 1 to 1600 characters. Leading and trailing spaces are removed.
string
One of the agent’s SMS numbers, in E.164. Defaults to the agent’s first SMS number.
curl -X POST https://api.telzino.com/v1/agents/3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f/sms \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Idempotency-Key: order-9312-ready" \ -H "Content-Type: application/json" \ -d '{ "to": "+15551234567", "body": "Your order is ready for pickup." }'
await telzino.sms.send({ agentId: '3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f', to: '+15551234567', body: 'Your order is ready for pickup.', idempotencyKey: 'order-9312-ready',});
{ "error": "opted_out", "error_description": "The recipient replied STOP to this number."}
Response
string
The message id
string
Always queued. Telzino sends the text within a few seconds.
string
The agent number it is sent from
202 means the text is queued. A repeat with the same Idempotency-Key answers 200 with the first message.
Errors
Status
error
Meaning
400
invalid_request
to or from is not E.164, or body is empty or too long.
403
insufficient_scope
The key cannot call this endpoint.
404
not_found
No such agent, or it is outside the key’s scope.
409
sms_not_enabled
The agent has no enabled SMS number (or from is not one of them).
409
opted_out
The recipient texted STOP to this number. Nothing is sent.
429
rate_limited
More than 60 texts in a minute from this agent.
503
temporarily_unavailable
Retry shortly. With an Idempotency-Key a retry never sends twice.
Only send to people who agreed to receive texts from you. A recipient who replies STOP is opted out of that number, and later sends to them answer 409 opted_out.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AI Phone Agent Docs","colors":{"primary":"#0075FF","light":"#0075FF","dark":"#0075FF"},"logo":{"light":"https://mintcdn.com/telimatic/yiNgz-d0a-JfVRwO/logo/mainlogo.png?fit=max\u0026auto=format\u0026n=yiNgz-d0a-JfVRwO\u0026q=85\u0026s=a231ffe7491e72d2aa1f0b2e60ba2bfe","dark":"https://mintcdn.com/telimatic/yiNgz-d0a-JfVRwO/logo/mainlogo.png?fit=max\u0026auto=format\u0026n=yiNgz-d0a-JfVRwO\u0026q=85\u0026s=a231ffe7491e72d2aa1f0b2e60ba2bfe","href":"https://telzino.com"},"favicon":"https://mintcdn.com/telimatic/Pjr_MfdVwCp3s3aG/favicon.ico?fit=max\u0026auto=format\u0026n=Pjr_MfdVwCp3s3aG\u0026q=85\u0026s=a7ec57eb85142c4fa0a7496227c435a8","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://telzino.com/examples","label":"Examples"},{"href":"https://telzino.com/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Login","href":"https://dashboard.telzino.com/auth/login"}},"seo":{"metatags":{"description":"The AI phone agent for small business. Answer calls and texts with an AI phone agent that always works and is never busy.","og:title":"Docs - AI phone agents for SMB","og:description":"The AI phone agent for small business. Answer calls and texts with an AI phone agent that always works and is never busy.","og:image":"https://telzino.com/images/openGraphImage-noBrand.png","og:image:width":"3600","og:image:height":"1881","og:site_name":"Docs - AI phone agents for SMB"},"indexing":"navigable"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"telimatic","hasAudioNarration":false,"actualSubdomain":"telimatic","customDomains":["docs.telzino.com"],"gitSource":{"type":"github","owner":"telimatic","repo":"telzino-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af613d1701afd0a5b2ef42c","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Documentation","count":117},{"language":"default","tag":"API Reference","count":110},{"language":"default","tag":"Agent Functions","count":29},{"language":"default","tag":"Event Webhooks","count":20},{"language":"default","tag":"Agents","count":16},{"language":"default","tag":"Telzino Dashboard","count":13},{"language":"default","tag":"Connect App","count":12},{"language":"default","tag":"Integrations","count":10},{"language":"default","tag":"Agent Examples","count":10},{"language":"default","tag":"NetSapiens Functions","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html[data-domain] img[alt=\"light logo\"],html[data-domain] img[alt=\"dark logo\"]{visibility:hidden}#sidebar a,#navigation-items a,.sidebar-title{text-decoration:none}"}],"page":{"pagePath":"api-reference/agents/send-sms","slug":"/api-reference/agents/send-sms","pageMetadata":{"title":"Send SMS","api":"POST https://api.telzino.com/v1/agents/{agentId}/sms","description":"Send a text message from the agent's SMS number","href":"/api-reference/agents/send-sms"},"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: \"Send a text message from the agent’s SMS number\"\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`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Info,ParamField,ResponseField,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Queues one text message from the agent’s hosted SMS number. The message joins that contact’s conversation, so when the customer texts back, the agent answers the reply like any other inbound text.`}),`\n`,_jsxs(_components.p,{children:[`The agent needs an enabled SMS number (a hosted SMS channel). Agents without one get `,_jsx(_components.code,{children:`409 sms_not_enabled`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Account, reseller, organization and `,_jsx(_components.a,{href:`/api-reference/authentication#agent-scoped-api-keys`,children:`agent-scoped`}),` API keys can all call this endpoint. An agent-scoped key can only send from its own agent.`]}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`agentId`,type:`string`,required:true,id:`param-agent-id`,children:_jsx(_components.p,{children:`The agent that sends the text (UUID)`})}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsxs(_components.p,{children:[`Optional, up to 200 characters. Retrying with the same key returns the first message (`,_jsx(_components.code,{children:`200`}),`) instead of sending a second text. Use your own id for the event, for example `,_jsx(_components.code,{children:`order-9312-ready`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`to`,type:`string`,required:true,id:`param-to`,children:_jsxs(_components.p,{children:[`Recipient in E.164 format, e.g. `,_jsx(_components.code,{children:`+15551234567`})]})}),`\n`,_jsx(ParamField,{body:`body`,type:`string`,required:true,id:`param-body`,children:_jsx(_components.p,{children:`The text, 1 to 1600 characters. Leading and trailing spaces are removed.`})}),`\n`,_jsx(ParamField,{body:`from`,type:`string`,id:`param-from`,children:_jsx(_components.p,{children:`One of the agent’s SMS numbers, in E.164. Defaults to the agent’s first SMS number.`})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The message id`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`queued`}),`. Telzino sends the text within a few seconds.`]})}),`\n`,_jsx(ResponseField,{name:`from`,type:`string`,id:`param-from-1`,children:_jsx(_components.p,{children:`The agent number it is sent from`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`202`}),` means the text is queued. A repeat with the same `,_jsx(_components.code,{children:`Idempotency-Key`}),` answers `,_jsx(_components.code,{children:`200`}),` with the first message.`]}),`\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`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_request`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`to`}),` or `,_jsx(_components.code,{children:`from`}),` is not E.164, or `,_jsx(_components.code,{children:`body`}),` is empty or too long.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsx(_components.td,{children:`The key cannot call this endpoint.`})]}),_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 such agent, or it is outside the key’s scope.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sms_not_enabled`})}),_jsxs(_components.td,{children:[`The agent has no enabled SMS number (or `,_jsx(_components.code,{children:`from`}),` is not one of them).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`opted_out`})}),_jsx(_components.td,{children:`The recipient texted STOP to this number. Nothing is sent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_limited`})}),_jsx(_components.td,{children:`More than 60 texts in a minute from this agent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`temporarily_unavailable`})}),_jsxs(_components.td,{children:[`Retry shortly. With an `,_jsx(_components.code,{children:`Idempotency-Key`}),` a retry never sends twice.`]})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Only send to people who agreed to receive texts from you. A recipient who replies STOP is opted out of that number, and later sends to them answer `,_jsx(_components.code,{children:`409 opted_out`}),`.`]})})]})}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":"Send SMS","api":"POST https://api.telzino.com/v1/agents/{agentId}/sms","description":"Send a text message from the agent's SMS number","href":"/api-reference/agents/send-sms"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Queues one text message from the agent’s hosted SMS number. The message joins that contact’s conversation, so when the customer texts back, the agent answers the reply like any other inbound text.`}),`\n`,_jsxs(_components.p,{children:[`The agent needs an enabled SMS number (a hosted SMS channel). Agents without one get `,_jsx(_components.code,{children:`409 sms_not_enabled`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Account, reseller, organization and `,_jsx(_components.a,{href:`/api-reference/authentication#agent-scoped-api-keys`,children:`agent-scoped`}),` API keys can all call this endpoint. An agent-scoped key can only send from its own agent.`]}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`agentId`,type:`string`,required:true,id:`param-agent-id`,children:_jsx(_components.p,{children:`The agent that sends the text (UUID)`})}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsxs(_components.p,{children:[`Optional, up to 200 characters. Retrying with the same key returns the first message (`,_jsx(_components.code,{children:`200`}),`) instead of sending a second text. Use your own id for the event, for example `,_jsx(_components.code,{children:`order-9312-ready`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`to`,type:`string`,required:true,id:`param-to`,children:_jsxs(_components.p,{children:[`Recipient in E.164 format, e.g. `,_jsx(_components.code,{children:`+15551234567`})]})}),`\n`,_jsx(ParamField,{body:`body`,type:`string`,required:true,id:`param-body`,children:_jsx(_components.p,{children:`The text, 1 to 1600 characters. Leading and trailing spaces are removed.`})}),`\n`,_jsx(ParamField,{body:`from`,type:`string`,id:`param-from`,children:_jsx(_components.p,{children:`One of the agent’s SMS numbers, in E.164. Defaults to the agent’s first SMS number.`})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.telzino.com/v1/agents/3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f/sms`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: order-9312-ready\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"to\": \"+15551234567\", \"body\": \"Your order is ready for pickup.\" }'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`@telzino/server`,numberOfLines:`6`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` telzino`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`send`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agentId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` to:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '+15551234567'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Your order is ready for pickup.'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` idempotencyKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'order-9312-ready'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`202`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6d0c8b8e-2f2a-4a8e-9b1c-5f3e2d1a0b9c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"queued\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15551234567\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15550000001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`409`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opted_out\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error_description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The recipient replied STOP to this number.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The message id`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`queued`}),`. Telzino sends the text within a few seconds.`]})}),`\n`,_jsx(ResponseField,{name:`from`,type:`string`,id:`param-from-1`,children:_jsx(_components.p,{children:`The agent number it is sent from`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`202`}),` means the text is queued. A repeat with the same `,_jsx(_components.code,{children:`Idempotency-Key`}),` answers `,_jsx(_components.code,{children:`200`}),` with the first message.`]}),`\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`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_request`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`to`}),` or `,_jsx(_components.code,{children:`from`}),` is not E.164, or `,_jsx(_components.code,{children:`body`}),` is empty or too long.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsx(_components.td,{children:`The key cannot call this endpoint.`})]}),_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 such agent, or it is outside the key’s scope.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sms_not_enabled`})}),_jsxs(_components.td,{children:[`The agent has no enabled SMS number (or `,_jsx(_components.code,{children:`from`}),` is not one of them).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`opted_out`})}),_jsx(_components.td,{children:`The recipient texted STOP to this number. Nothing is sent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_limited`})}),_jsx(_components.td,{children:`More than 60 texts in a minute from this agent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`temporarily_unavailable`})}),_jsxs(_components.td,{children:[`Retry shortly. With an `,_jsx(_components.code,{children:`Idempotency-Key`}),` a retry never sends twice.`]})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Only send to people who agreed to receive texts from you. A recipient who replies STOP is opted out of that number, and later sends to them answer `,_jsx(_components.code,{children:`409 opted_out`}),`.`]})})]})}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":"Send SMS","api":"POST https://api.telzino.com/v1/agents/{agentId}/sms","description":"Send a text message from the agent's SMS number","href":"/api-reference/agents/send-sms"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.telzino.com/v1/agents/3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f/sms\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer YOUR_ACCESS_TOKEN\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Idempotency-Key: order-9312-ready\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{ \"to\": \"+15551234567\", \"body\": \"Your order is ready for pickup.\" }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"@telzino/server","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> telzino\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">sms\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">send\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> agentId:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> to:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '+15551234567'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Your order is ready for pickup.'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> idempotencyKey:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'order-9312-ready'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"202","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6d0c8b8e-2f2a-4a8e-9b1c-5f3e2d1a0b9c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"queued\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+15551234567\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"from\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+15550000001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agent_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3f1c2a4e-8b7d-4c3a-9e2f-1a2b3c4d5e6f\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"409","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"opted_out\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error_description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The recipient replied STOP to this number.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Send SMS","path":"/v1/agents/{agentId}/sms","servers":[{"url":"https://api.telzino.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Idempotency-Key":{"schema":[{"type":"string","description":"Optional, up to 200 characters. Retrying with the same key returns the first message ( `200` ) instead of sending a second text. Use your own id for the event, for example `order-9312-ready` ."}]}},"cookie":{},"path":{"agentId":{"schema":[{"type":"string","description":"The agent that sends the text (UUID)","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"to":[{"type":"string","description":"Recipient in E.164 format, e.g. `+15551234567`","required":true}],"body":[{"type":"string","description":"The text, 1 to 1600 characters. Leading and trailing spaces are removed.","required":true}],"from":[{"type":"string","description":"One of the agent’s SMS numbers, in E.164. Defaults to the agent’s first SMS number."}]}}],"examples":{"example":{"value":{"to":"\u003cstring>","body":"\u003cstring>","from":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"The message id"}],"status":[{"type":"string","description":"Always `queued` . Telzino sends the text within a few seconds."}],"from":[{"type":"string","description":"The agent number it is sent from"}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","status":"\u003cstring>","from":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/telimatic/792bea19b1ef8860/updateMintlifyDocs.js"],"subdomain":"telimatic","siteName":"AI Phone Agent Docs","title":"Docs - AI phone agents for SMB","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T23:11:50.578Z","originalFileLocation":"api-reference/agents/send-sms.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"Send a text message from the agent\u0026#x27;s SMS number\">\u003cmeta data-mint-head name=\"application-name\" content=\"AI Phone Agent Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/telimatic/NnaTq6owhepGnYbT/_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/telimatic/NnaTq6owhepGnYbT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/telimatic/NnaTq6owhepGnYbT/_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/telimatic/NnaTq6owhepGnYbT/_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/telimatic/NnaTq6owhepGnYbT/_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/telimatic/NnaTq6owhepGnYbT/_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/telimatic/NnaTq6owhepGnYbT/_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/telimatic/NnaTq6owhepGnYbT/_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/telimatic/NnaTq6owhepGnYbT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Docs - AI phone agents for SMB\">\u003cmeta data-mint-head property=\"og:description\" content=\"The AI phone agent for small business. Answer calls and texts with an AI phone agent that always works and is never busy.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Docs - AI phone agents for SMB\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.telzino.com/api-reference/agents/send-sms\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://telzino.com/images/openGraphImage-noBrand.png\">\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=\"Docs - AI phone agents for SMB\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The AI phone agent for small business. Answer calls and texts with an AI phone agent that always works and is never busy.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://telzino.com/images/openGraphImage-noBrand.png\">\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/telimatic/NnaTq6owhepGnYbT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AI Phone Agent Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0075FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.telzino.com/api-reference/agents/send-sms\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents/send-sms.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.telzino.com/#organization\",\"name\":\"AI Phone Agent Docs\",\"url\":\"https://docs.telzino.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/telimatic/yiNgz-d0a-JfVRwO/logo/mainlogo.png?fit=max\u0026auto=format\u0026n=yiNgz-d0a-JfVRwO\u0026q=85\u0026s=a231ffe7491e72d2aa1f0b2e60ba2bfe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.telzino.com#website\",\"name\":\"AI Phone Agent Docs\",\"url\":\"https://docs.telzino.com\",\"publisher\":{\"@id\":\"https://docs.telzino.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.telzino.com/api-reference/agents/send-sms#webpage\",\"url\":\"https://docs.telzino.com/api-reference/agents/send-sms\",\"name\":\"Send SMS\",\"description\":\"Send a text message from the agent's SMS number\",\"dateModified\":\"2026-11-11T23:11:50.578Z\",\"isPartOf\":{\"@id\":\"https://docs.telzino.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.telzino.com/api-reference/agents/send-sms#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.telzino.com/api-reference/agents/send-sms#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.telzino.com/api-reference/agents/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send SMS\",\"item\":\"https://docs.telzino.com/api-reference/agents/send-sms\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.telzino.com/api-reference/agents/send-sms#apireference\",\"headline\":\"Send SMS\",\"name\":\"Send SMS\",\"description\":\"Send a text message from the agent's SMS number\",\"url\":\"https://docs.telzino.com/api-reference/agents/send-sms\",\"mainEntityOfPage\":{\"@id\":\"https://docs.telzino.com/api-reference/agents/send-sms#webpage\"},\"image\":\"https://telzino.com/images/openGraphImage-noBrand.png\",\"dateModified\":\"2026-11-11T23:11:50.578Z\",\"publisher\":{\"@id\":\"https://docs.telzino.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.telzino.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AI Phone Agent Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AI Phone Agent Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/agents/send-sms.md","siteName":"AI Phone Agent Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/setup-guides/start-here"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Overview","href":"/api-reference/overview"},{"title":"Authentication","api":"POST https://api.telzino.com/oauth/token","href":"/api-reference/authentication"},{"title":"Get Current Account","api":"GET https://api.telzino.com/v1/me","href":"/api-reference/me"}]},{"group":"Agents","pages":[{"title":"List Agents","api":"GET https://api.telzino.com/v1/agents","href":"/api-reference/agents/list"},{"title":"Create Agent","api":"POST https://api.telzino.com/v1/agents","href":"/api-reference/agents/create"},{"title":"Get Agent","api":"GET https://api.telzino.com/v1/agents/{agentId}","href":"/api-reference/agents/get"},{"title":"Update Agent","api":"PUT https://api.telzino.com/v1/agents/{agentId}","href":"/api-reference/agents/update"},{"title":"Update Agent Status","api":"PATCH https://api.telzino.com/v1/agents/{agentId}/status","href":"/api-reference/agents/update-status"},{"title":"List Agent Change History","api":"GET https://api.telzino.com/v1/agents/{agentId}/history","href":"/api-reference/agents/history"},{"title":"Revert Agent to a Version","api":"POST https://api.telzino.com/v1/agents/{agentId}/history/{versionId}/revert","href":"/api-reference/agents/revert"},{"title":"SMS Functions in extensions.tools","sidebarTitle":"SMS functions format","description":"The exact JSON for adding Send SMS (Twilio, hosted SMS or NetSapiens) and Notify functions to an agent through Create Agent and Update Agent","href":"/api-reference/agents/sms-functions"},{"title":"Send SMS","api":"POST https://api.telzino.com/v1/agents/{agentId}/sms","href":"/api-reference/agents/send-sms"},{"title":"Delete Agent","api":"DELETE https://api.telzino.com/v1/agents/{agentId}","description":"Deletes an existing agent","href":"/api-reference/agents/delete"},{"title":"Upload Hold Music","api":"POST https://api.telzino.com/v1/agents/{agentId}/moh","href":"/api-reference/agents/upload-moh"},{"title":"Delete Hold Music","api":"DELETE https://api.telzino.com/v1/agents/{agentId}/moh","href":"/api-reference/agents/delete-moh"},{"title":"Set SIP Registration","api":"PUT https://api.telzino.com/v1/agents/{agentId}/sip/registration","href":"/api-reference/agents/sip-registration"},{"title":"Enable/Disable SIP Registration","api":"PATCH https://api.telzino.com/v1/agents/{agentId}/sip/registration","href":"/api-reference/agents/toggle-sip-registration"},{"title":"Delete SIP Registration","api":"DELETE https://api.telzino.com/v1/agents/{agentId}/sip/registration","href":"/api-reference/agents/delete-sip-registration"},{"title":"Get SIP Registration Status","api":"GET https://api.telzino.com/v1/agents/{agentId}/sip/registration/status","href":"/api-reference/agents/sip-registration-status"}]},{"group":"SMS Templates","pages":[{"title":"List SMS Templates","api":"GET https://api.telzino.com/v1/sms-templates","href":"/api-reference/sms-templates/list"},{"title":"Create SMS Template","api":"POST https://api.telzino.com/v1/sms-templates","href":"/api-reference/sms-templates/create"},{"title":"Get SMS Template","api":"GET https://api.telzino.com/v1/sms-templates/{templateId}","href":"/api-reference/sms-templates/get"},{"title":"Update SMS Template","api":"PATCH https://api.telzino.com/v1/sms-templates/{templateId}","href":"/api-reference/sms-templates/update"},{"title":"Delete SMS Template","api":"DELETE https://api.telzino.com/v1/sms-templates/{templateId}","href":"/api-reference/sms-templates/delete"}]},{"group":"Places","pages":[{"title":"Search Places","api":"GET https://api.telzino.com/v1/places/search","href":"/api-reference/places/search"}]},{"group":"MCP","pages":[{"title":"Test MCP Connection","api":"POST https://api.telzino.com/v1/mcp/test-connection","href":"/api-reference/mcp/test-connection"}]},{"group":"Knowledge Bases","pages":[{"title":"Knowledge Bases","href":"/api-reference/knowledge-bases/overview"},{"title":"List and Create Knowledge Bases","api":"GET https://api.telzino.com/v1/organizations/{organization_id}/knowledge-bases","href":"/api-reference/knowledge-bases/list-create"},{"title":"Update or Delete Knowledge Base","api":"PUT https://api.telzino.com/v1/knowledge-bases/{knowledgeBaseId}","href":"/api-reference/knowledge-bases/update-delete"},{"title":"Knowledge Base Sources","api":"POST https://api.telzino.com/v1/knowledge-bases/{knowledgeBaseId}/sources","href":"/api-reference/knowledge-bases/sources"},{"title":"Source Actions","api":"POST https://api.telzino.com/v1/knowledge-sources/{sourceId}/reingest","href":"/api-reference/knowledge-bases/source-actions"},{"title":"Refreshing Content","api":"POST https://api.telzino.com/v1/knowledge-bases/{knowledgeBaseId}/reingest","href":"/api-reference/knowledge-bases/refresh"},{"title":"Get RAG Job Status","api":"GET https://api.telzino.com/v1/rag/jobs/{jobId}","href":"/api-reference/knowledge-bases/job-status"}]},{"group":"Guardrails","pages":[{"title":"Guardrails","href":"/api-reference/guardrails/overview"},{"title":"List and Create Guardrails","api":"GET https://api.telzino.com/v1/organizations/{organization_id}/guardrails","href":"/api-reference/guardrails/list-create"},{"title":"Update and Delete Guardrails","api":"PATCH https://api.telzino.com/v1/guardrails/{guardrailId}","href":"/api-reference/guardrails/update-delete"}]},{"group":"Email Servers","pages":[{"title":"List Email Servers","api":"GET https://api.telzino.com/v1/email-servers","href":"/api-reference/email-servers/list"}]},{"group":"Email Templates","pages":[{"title":"Email Templates Overview","href":"/api-reference/email-templates/overview"},{"title":"List and Create Email Templates","api":"GET https://api.telzino.com/v1/email-templates","href":"/api-reference/email-templates/list-create"},{"title":"Get, Update, and Delete an Email Template","api":"GET https://api.telzino.com/v1/email-templates/{templateId}","href":"/api-reference/email-templates/get-update-delete"}]},{"group":"Voices","pages":[{"title":"List Voices","api":"GET https://api.telzino.com/v1/voices","href":"/api-reference/voices/list"},{"title":"Preview Voice","api":"POST https://api.telzino.com/v1/voices/preview","href":"/api-reference/voices/preview"}]},{"group":"Custom Voices","pages":[{"title":"Create Custom Voice","api":"POST https://api.telzino.com/v1/custom-voices","href":"/api-reference/custom-voices/create"},{"title":"List Custom Voices","api":"GET https://api.telzino.com/v1/custom-voices","href":"/api-reference/custom-voices/list"},{"title":"Delete Custom Voice","api":"DELETE https://api.telzino.com/v1/custom-voices/{voiceId}","href":"/api-reference/custom-voices/delete"}]},{"group":"STT Providers","pages":[{"title":"List STT Providers","api":"GET https://api.telzino.com/v1/stt-providers","href":"/api-reference/stt-providers"}]},{"group":"LLM Models","pages":[{"title":"List LLM Models","api":"GET https://api.telzino.com/v1/llm-models","href":"/api-reference/llm-models"}]},{"group":"Features","pages":[{"title":"List Feature Availability","api":"GET https://api.telzino.com/v1/features","href":"/api-reference/features"}]},{"group":"Call Logs","pages":[{"title":"List Call Logs","api":"GET https://api.telzino.com/v1/agents/{agentId}/call-logs","href":"/api-reference/call-logs"},{"title":"Get Call Recording","api":"GET https://api.telzino.com/v1/call-logs/{callLogId}/recording","href":"/api-reference/call-logs/recording"},{"title":"Share Call Transcript","api":"POST https://api.telzino.com/v1/call-logs/{callLogId}/share","href":"/api-reference/call-logs/share"}]},{"group":"Outbound Calls","pages":[{"title":"Outbound Calls Overview","href":"/api-reference/outbound-calls/overview"},{"title":"Trigger Outbound Call","api":"POST https://api.telzino.com/v1/agents/{agentId}/outbound-calls","href":"/api-reference/outbound-calls/create"},{"title":"Get Outbound Call","api":"GET https://api.telzino.com/v1/agents/{agentId}/outbound-calls/{callId}","href":"/api-reference/outbound-calls/get"},{"title":"List Outbound Calls","api":"GET https://api.telzino.com/v1/agents/{agentId}/outbound-calls","href":"/api-reference/outbound-calls/list"},{"title":"Cancel or Delete an Outbound Call","api":"DELETE https://api.telzino.com/v1/agents/{agentId}/outbound-calls/{callId}","href":"/api-reference/outbound-calls/delete"},{"title":"Cancel Retries for a Number","api":"DELETE https://api.telzino.com/v1/outbound-calls/queued","href":"/api-reference/outbound-calls/cancel-queued"},{"title":"Compliance Audit Export","api":"GET https://api.telzino.com/v1/outbound-calls/export","href":"/api-reference/outbound-calls/export"}]},{"group":"Retry Policies","pages":[{"title":"List / Create Retry Policies","api":"POST https://api.telzino.com/v1/retry-policies","href":"/api-reference/retry-policies/list-create"},{"title":"Get / Update / Delete a Retry Policy","api":"PATCH https://api.telzino.com/v1/retry-policies/{policyId}","href":"/api-reference/retry-policies/get-update-delete"}]},{"group":"Suppression List","pages":[{"title":"List / Add Suppression Entries","api":"POST https://api.telzino.com/v1/organizations/{organization_id}/suppression-list","href":"/api-reference/suppression-list/list-add"},{"title":"Remove a Suppression Entry","api":"DELETE https://api.telzino.com/v1/organizations/{organization_id}/suppression-list/{number}","href":"/api-reference/suppression-list/remove"},{"title":"Reseller Suppression List","api":"POST https://api.telzino.com/v1/resellers/{reseller_id}/suppression-list","href":"/api-reference/suppression-list/reseller"},{"title":"Partner Suppression List","api":"POST https://api.telzino.com/v1/accounts/{account_id}/suppression-list","href":"/api-reference/suppression-list/partner"},{"title":"Suppression Settings","api":"PATCH https://api.telzino.com/v1/accounts/{account_id}/suppression-settings","href":"/api-reference/suppression-list/settings"},{"title":"Check a Number","api":"GET https://api.telzino.com/v1/suppression-check","href":"/api-reference/suppression-list/check"}]},{"group":"Metrics","pages":[{"title":"Get Metrics","api":"GET https://api.telzino.com/v1/metrics","href":"/api-reference/metrics"}]},{"group":"Reports","pages":[{"title":"Minutes by Agent","api":"GET https://api.telzino.com/v1/reports/minutes-by-agent","href":"/api-reference/reports/minutes-by-agent"},{"title":"Minutes by Organization","api":"GET https://api.telzino.com/v1/reports/minutes-by-organization","href":"/api-reference/reports/minutes-by-organization"},{"title":"Reservation Analytics","api":"GET https://api.telzino.com/v1/reservations/analytics","href":"/api-reference/reports/reservation-analytics"}]},{"group":"Resellers","pages":[{"title":"List Resellers","api":"GET https://api.telzino.com/v1/accounts/{accountId}/resellers","href":"/api-reference/resellers/list"},{"title":"Create Reseller","api":"POST https://api.telzino.com/v1/accounts/{accountId}/resellers","href":"/api-reference/resellers/create"},{"title":"Delete Reseller","api":"DELETE https://api.telzino.com/v1/resellers/{resellerId}","href":"/api-reference/resellers/delete"}]},{"group":"Organizations","pages":[{"title":"List Organizations","api":"GET https://api.telzino.com/v1/resellers/{resellerId}/organizations","href":"/api-reference/organizations/list"},{"title":"Create Organization","api":"POST https://api.telzino.com/v1/resellers/{resellerId}/organizations","href":"/api-reference/organizations/create"},{"title":"Create Agent in Organization","api":"POST https://api.telzino.com/v1/organizations/{organization_id}/agents","href":"/api-reference/organizations/create-agent"},{"title":"Update Organization Status","api":"PATCH https://api.telzino.com/v1/organizations/{organization_id}","href":"/api-reference/organizations/update"},{"title":"Delete Organization","api":"DELETE https://api.telzino.com/v1/organizations/{organization_id}","href":"/api-reference/organizations/delete"},{"title":"List SMS Numbers","api":"GET https://api.telzino.com/v1/organizations/{organization_id}/sms-numbers","href":"/api-reference/organizations/sms-numbers-list"},{"title":"Add an SMS Number","api":"POST https://api.telzino.com/v1/organizations/{organization_id}/sms-numbers","href":"/api-reference/organizations/sms-numbers-add"},{"title":"Remove an SMS Number","api":"DELETE https://api.telzino.com/v1/organizations/{organization_id}/sms-numbers/{number}","href":"/api-reference/organizations/sms-numbers-remove"}]},{"group":"Sessions","pages":[{"title":"Sessions","href":"/api-reference/sessions"},{"title":"Voice Sessions","api":"POST https://api.telzino.com/v1/voice/sessions","href":"/api-reference/voice-sessions"}]},{"group":"Chat","pages":[{"title":"Send Chat Message","api":"POST https://api.telzino.com/v1/chat/messages","href":"/api-reference/chat/send"},{"title":"List Chat Messages","api":"GET https://api.telzino.com/v1/chat/messages","href":"/api-reference/chat/list"}]},{"group":"Billing","pages":[{"title":"Billing Report","api":"GET https://api.telzino.com/v1/billing-report","href":"/api-reference/billing-report"}]},{"group":"Payments","pages":[{"title":"Payments Overview","href":"/api-reference/payments/overview"},{"title":"Start Merchant Onboarding","api":"POST https://api.telzino.com/v1/organizations/{organization_id}/payments/onboarding","href":"/api-reference/payments/onboarding"},{"title":"Get Merchant Payment Status","api":"GET https://api.telzino.com/v1/organizations/{organization_id}/payments/status","href":"/api-reference/payments/status"},{"title":"List Merchants","api":"GET https://api.telzino.com/v1/payments/merchants","href":"/api-reference/payments/merchants"},{"title":"Get Agent Payment Readiness","api":"GET https://api.telzino.com/v1/agents/{agentId}/payments/readiness","href":"/api-reference/payments/agent-readiness"},{"title":"Enable / Disable Agent Payments","api":"PUT https://api.telzino.com/v1/agents/{agentId}/payments/tool","href":"/api-reference/payments/agent-tool"},{"title":"List Transactions","api":"GET https://api.telzino.com/v1/payments/transactions","href":"/api-reference/payments/transactions"}]},{"group":"Event Webhooks","pages":[{"title":"List Event Webhooks","api":"GET https://api.telzino.com/v1/webhooks","href":"/api-reference/event-webhooks/list"},{"title":"Create Event Webhook","api":"POST https://api.telzino.com/v1/webhooks","href":"/api-reference/event-webhooks/create"},{"title":"Get Event Webhook","api":"GET https://api.telzino.com/v1/webhooks/{webhookId}","href":"/api-reference/event-webhooks/get"},{"title":"Update Event Webhook","api":"PATCH https://api.telzino.com/v1/webhooks/{webhookId}","href":"/api-reference/event-webhooks/update"},{"title":"Delete Event Webhook","api":"DELETE https://api.telzino.com/v1/webhooks/{webhookId}","href":"/api-reference/event-webhooks/delete"},{"title":"Rotate Event Webhook Secret","api":"POST https://api.telzino.com/v1/webhooks/{webhookId}/rotate-secret","href":"/api-reference/event-webhooks/rotate-secret"},{"title":"Send Test Event","api":"POST https://api.telzino.com/v1/webhooks/{webhookId}/test","href":"/api-reference/event-webhooks/test"},{"title":"Enable Event Webhook","api":"POST https://api.telzino.com/v1/webhooks/{webhookId}/enable","href":"/api-reference/event-webhooks/enable"},{"title":"Disable Event Webhook","api":"POST https://api.telzino.com/v1/webhooks/{webhookId}/disable","href":"/api-reference/event-webhooks/disable"},{"title":"List Deliveries","api":"GET https://api.telzino.com/v1/webhooks/{webhookId}/deliveries","href":"/api-reference/event-webhooks/deliveries"},{"title":"Get Delivery","api":"GET https://api.telzino.com/v1/webhook-deliveries/{deliveryId}","href":"/api-reference/event-webhooks/delivery"},{"title":"Replay Delivery","api":"POST https://api.telzino.com/v1/webhook-deliveries/{deliveryId}/replay","href":"/api-reference/event-webhooks/replay-delivery"},{"title":"Replay Failed Deliveries","api":"POST https://api.telzino.com/v1/webhooks/{webhookId}/replay","href":"/api-reference/event-webhooks/replay-failed"},{"title":"List Event Types","api":"GET https://api.telzino.com/v1/webhook-event-types","href":"/api-reference/event-webhooks/event-types"}]}]}]},"basePath":"","title":"Docs - AI phone agents for SMB","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js"]}