{
"error": "Calling out through your own Telnyx account is switched off for this workspace. Contact Yappr support.",
"code": "CARRIER_ACCOUNTS_NOT_ENABLED",
"enabled": false
}
Save a Telnyx API key made just for Yappr. The key is checked with Telnyx
first; nothing is saved if Telnyx refuses it. Then
choose the Call Control App and
add your numbers. Requires
carrier_accounts:manage. Limit: 10 per workspace per day.
{
"error": "Calling out through your own Telnyx account is switched off for this workspace. Contact Yappr support.",
"code": "CARRIER_ACCOUNTS_NOT_ENABLED",
"enabled": false
}
Connect your own Telnyx account so agents can call from the numbers you already
own there. Yappr places those calls on your Telnyx account, with your API key, so
Telnyx bills you for the phone minutes and its calling fees. Yappr still bills each
call’s minutes at the Phone calls price, the same as a call from a number bought from
Yappr — it is not lowered for what Telnyx bills. Requires carrier_accounts:manage, which API keys do not have by
default: create a key with it (the dashboard’s full access includes it).Carrier accounts are available in every workspace.
GET /carrier-accounts/status answers
{ "enabled": true } unless Yappr has switched them off for yours.Set Telnyx up first: Level 2 verification, an outbound voice profile with your
destination countries allowed, and an API key made just for Yappr. The
setup guide walks through it.
A Telnyx API key. Telnyx is asked first; if it refuses the key, nothing is saved. Stored encrypted and never returned.
public_key
Optional, recommended: your account’s public key (Keys & Credentials → Public Key). Yappr uses it to check that call events really come from your account.
Telnyx API keys cannot be limited to certain actions, so use a key made only for
Yappr: switching it off in Telnyx stops Yappr’s calls from your account at once.Next: choose the Call Control App.
Yappr has switched carrier accounts off for this workspace. Nothing was sent to Telnyx. Contact Yappr support.
422
TELNYX_KEY_REJECTED
Telnyx refused the key. Check it is switched on and pasted in full.
422
KEY_IS_YAPPR_ACCOUNT
The key belongs to Yappr’s own Telnyx account.
429
RATE_LIMITED
10 accounts connected in this workspace today.
503
TELNYX_UNAVAILABLE
Telnyx did not answer. Nothing was saved.
Authorizations
Authorization
string
header
required
Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).
Body
application/json
name
string
required
Required string length: 1 - 100
Example:
"Main Telnyx account"
api_key
string<password>
required
write-only
A Telnyx API key created just for Yappr (Account Settings → API Keys).
Checked with Telnyx before anything is saved; stored encrypted; never returned.
public_key
string
write-only
Your account's public key (Keys & Credentials → Public Key), 44 characters of base64. Recommended.
Example:
"3MYsSvZbhKUP9VZ1pRgGNlDtJGbNkFMhTqwPjGEgUoY="
Response
Connected (status untested, no app yet)
data
object
Your own Telnyx account, connected so agents can call from the numbers you
own there. Yappr places each call on your Call Control App, with your API
key, so the call runs on your Telnyx account and Telnyx bills you for it.
The API key is write-only: no response ever contains it.
Show child attributes
webhook_url
string<uri>
The URL a Call Control App you made must use.
telnyx
object
The Call Control Apps and outbound voice profiles your key can see (same shape as the test result's telnyx).
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Yappr","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"favicon":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/favicon.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a8c28fe51e78b8e4701c773698ba2378","logo":{"light":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/light.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a117ff3aa08c2017e8d58b0da5be882f","dark":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/dark.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=613f48501928d9122f97fb91bfcf9b87"},"api":{"openapi":"openapi.yaml"},"footer":{"socials":{"website":"https://goyappr.com"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yappr","hasAudioNarration":false,"actualSubdomain":"yappr","customDomains":["docs.goyappr.com"],"gitSource":{"type":"github","owner":"simon-isf","repo":"hebrew-voice-ai","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b097bda241cbb20e7401d81","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":210},{"language":"default","tag":"Tools \u0026 integrations","count":35},{"language":"default","tag":"Agent Eval","count":24},{"language":"default","tag":"Agents","count":20},{"language":"default","tag":"Tools","count":19},{"language":"default","tag":"Connected accounts","count":16},{"language":"default","tag":"Campaigns","count":15},{"language":"default","tag":"Carrier accounts","count":14},{"language":"default","tag":"Workflows","count":12},{"language":"default","tag":"Billing","count":11}]},"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":"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":"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":"site-roles","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":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/carrier-accounts/create","slug":"/api-reference/carrier-accounts/create","pageMetadata":{"title":"Connect a Telnyx Account","openapi":"POST /carrier-accounts","description":"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx\nfirst; nothing is saved if Telnyx refuses it. Then\n[choose the Call Control App](/api-reference/carrier-accounts/connection) and\n[add your numbers](/api-reference/carrier-accounts/add-number). Requires\n`carrier_accounts:manage`. Limit: 10 per workspace per day.\n","href":"/api-reference/carrier-accounts/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx\\nfirst; nothing is saved if Telnyx refuses it. Then\\n\", _jsx(_components.a, {\n href: \"/api-reference/carrier-accounts/connection\",\n children: \"choose the Call Control App\"\n }), \" and\\n\", _jsx(_components.a, {\n href: \"/api-reference/carrier-accounts/add-number\",\n children: \"add your numbers\"\n }), \". Requires\\n\", _jsx(_components.code, {\n children: \"carrier_accounts:manage\"\n }), \". Limit: 10 per workspace per day.\"]\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`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Connect `,_jsx(_components.strong,{children:`your own Telnyx account`}),` so agents can call from the numbers you already\nown there. Yappr places those calls on your Telnyx account, with your API key, so\nTelnyx bills you for the phone minutes and its calling fees. Yappr still bills each\ncall’s minutes at the Phone calls price, the same as a call from a number bought from\nYappr — it is not lowered for what Telnyx bills. Requires `,_jsx(_components.code,{children:`carrier_accounts:manage`}),`, which API keys do not have by\ndefault: create a key with it (the dashboard’s full access includes it).`]}),`\n`,_jsxs(_components.p,{children:[`Carrier accounts are available in every workspace.\n`,_jsx(_components.a,{href:`/api-reference/carrier-accounts/status`,children:`GET /carrier-accounts/status`}),` answers\n`,_jsx(_components.code,{children:`{ \"enabled\": true }`}),` unless Yappr has switched them off for yours.`]}),`\n`,_jsxs(_components.p,{children:[`Set Telnyx up first: Level 2 verification, an outbound voice profile with your\ndestination countries allowed, and an API key made just for Yappr. The\n`,_jsx(_components.a,{href:`/concepts/bring-your-own-carrier`,children:`setup guide`}),` walks through it.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,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.goyappr.com/carrier-accounts`}),_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 ypr_live_...\"`}),_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:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Main Telnyx account\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"api_key\": \"KEY0199…\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"public_key\": \"3MYsSvZbhKUP9VZ1pRgGNlDtJGbNkFMhTqwPjGEgUoY=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,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:`21`,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:` \"data\"`}),_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:`\"7c1e…\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Main Telnyx account\"`}),_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:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"telnyx\"`}),_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:` \"api_key_last4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9XyZ\"`}),_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:` \"public_key_set\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"signature_verified\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"connection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:`\"untested\"`}),_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:` \"numbers\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"webhook_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://voice.goyappr.com/webhook/telnyx?ca=7c1e…\u0026t=…\"`}),_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:` \"telnyx\"`}),_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:` \"connections\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"2890…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My app\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"outbound_voice_profile_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2890…\"`}),_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:` \"outbound_voice_profiles\"`}),_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\":`#D4D4D4`},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:`\"2890…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Israel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"allowed_destinations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"IL\"`}),_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:` \"daily_spend_limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"20.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"daily_spend_limit_enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"channel_limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_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`,_jsx(_components.span,{className:`line`,children:_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(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Rule`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`1–100 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`api_key`})}),_jsxs(_components.td,{children:[`A Telnyx API key. Telnyx is asked first; if it refuses the key, `,_jsx(_components.strong,{children:`nothing is saved`}),`. Stored encrypted and never returned.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`public_key`})}),_jsx(_components.td,{children:`Optional, recommended: your account’s public key (Keys \u0026 Credentials → Public Key). Yappr uses it to check that call events really come from your account.`})]})]})]}),`\n`,_jsx(_components.p,{children:`Telnyx API keys cannot be limited to certain actions, so use a key made only for\nYappr: switching it off in Telnyx stops Yappr’s calls from your account at once.`}),`\n`,_jsxs(_components.p,{children:[`Next: `,_jsx(_components.a,{href:`/api-reference/carrier-accounts/connection`,children:`choose the Call Control App`}),`.`]}),`\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:`code`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`INVALID_NAME`}),`, `,_jsx(_components.code,{children:`INVALID_API_KEY`}),`, `,_jsx(_components.code,{children:`INVALID_PUBLIC_KEY`}),`, `,_jsx(_components.code,{children:`INVALID_JSON`})]}),_jsxs(_components.td,{children:[`Fix the field named in `,_jsx(_components.code,{children:`error`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CARRIER_ACCOUNTS_NOT_ENABLED`})}),_jsx(_components.td,{children:`Yappr has switched carrier accounts off for this workspace. Nothing was sent to Telnyx. Contact Yappr support.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TELNYX_KEY_REJECTED`})}),_jsx(_components.td,{children:`Telnyx refused the key. Check it is switched on and pasted in full.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`KEY_IS_YAPPR_ACCOUNT`})}),_jsx(_components.td,{children:`The key belongs to Yappr’s own Telnyx account.`})]}),_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:`10 accounts connected in this workspace today.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TELNYX_UNAVAILABLE`})}),_jsx(_components.td,{children:`Telnyx did not answer. Nothing was saved.`})]})]})]})]})}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":"Connect a Telnyx Account","openapi":"POST /carrier-accounts","description":"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx\nfirst; nothing is saved if Telnyx refuses it. Then\n[choose the Call Control App](/api-reference/carrier-accounts/connection) and\n[add your numbers](/api-reference/carrier-accounts/add-number). Requires\n`carrier_accounts:manage`. Limit: 10 per workspace per day.\n","href":"/api-reference/carrier-accounts/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Connect a Telnyx account","description":"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx\nfirst; nothing is saved if Telnyx refuses it. Then\n[choose the Call Control App](/api-reference/carrier-accounts/connection) and\n[add your numbers](/api-reference/carrier-accounts/add-number). Requires\n`carrier_accounts:manage`. Limit: 10 per workspace per day.\n","operationId":"createCarrierAccount","tags":["Carrier Accounts"],"requestBody":"bba89ca3-8ab0-4b73-803d-e8e44f1d8586","responses":{"201":"7765dd0d-d807-4415-862f-13054bc81314","400":"e02af861-e99b-4ada-a8ec-e64e91d9b3ea","403":"73dc38ef-a738-48ac-9393-b24653b00a78","422":"5c4b9f0f-bdcc-4611-91f2-9fc77bbc5eca","429":"2961836c-ed14-40c2-80f3-70c3f91beff5","503":"032ad870-f880-4549-b599-90a8cb105306"},"method":"post","type":"path","servers":["dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d"],"security":["2767439e-f0c6-4cd4-a450-ba11a6ab8311"],"path":"/carrier-accounts","baseUrlOptions":["https://api.goyappr.com"],"title":"Connect a Telnyx account","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","api_key"],"properties":{"name":{"type":"string","minLength":1,"maxLength":100,"example":"Main Telnyx account","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"api_key":{"type":"string","format":"password","writeOnly":true,"description":"A Telnyx API key created just for Yappr (Account Settings → API Keys).\nChecked with Telnyx before anything is saved; stored encrypted; never returned.\n","isRequired":true,"uniqueKey":"api_key","typeLabel":"string\u003cpassword>"},"public_key":{"type":"string","writeOnly":true,"description":"Your account's public key (Keys \u0026 Credentials → Public Key), 44 characters of base64. Recommended.","example":"3MYsSvZbhKUP9VZ1pRgGNlDtJGbNkFMhTqwPjGEgUoY=","uniqueKey":"public_key","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"Main Telnyx account","api_key":"\u003cstring>","public_key":"3MYsSvZbhKUP9VZ1pRgGNlDtJGbNkFMhTqwPjGEgUoY="}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7765dd0d-d807-4415-862f-13054bc81314":{"description":"Connected (status `untested`, no app yet)","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"Your own Telnyx account, connected so agents can call from the numbers you\nown there. Yappr places each call **on your Call Control App, with your API\nkey**, so the call runs on your Telnyx account and Telnyx bills you for it.\nThe API key is write-only: no response ever contains it.\n","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Main Telnyx account","uniqueKey":"data.name","typeLabel":"string"},"provider":{"type":"string","enum":["telnyx"],"uniqueKey":"data.provider","typeLabel":"enum\u003cstring>"},"api_key_last4":{"type":"string","example":"9XyZ","description":"The last four characters of the saved key. The key itself is never returned.","uniqueKey":"data.api_key_last4","typeLabel":"string"},"api_key_updated_at":{"type":"string","format":"date-time","uniqueKey":"data.api_key_updated_at","typeLabel":"string\u003cdate-time>"},"public_key_set":{"type":"boolean","description":"Whether you saved your account's public key.","uniqueKey":"data.public_key_set","typeLabel":"boolean"},"signature_verified":{"type":"boolean","description":"`true` once a call event from Telnyx verified against your public key.\nFrom then on every event for this account must carry a valid signature.\n","uniqueKey":"data.signature_verified","typeLabel":"boolean"},"connection":{"oneOf":[{"type":"object","description":"The Call Control App calls go through. `null` until you [choose one](/api-reference/carrier-accounts/connection).","properties":{"id":{"type":"string","example":"2890000000000000001","uniqueKey":"data.connection.oneOf.0.id","typeLabel":"string"},"created_by_yappr":{"type":"boolean","uniqueKey":"data.connection.oneOf.0.created_by_yappr","typeLabel":"boolean"},"outbound_voice_profile_id":{"oneOf":[{"type":"string","uniqueKey":"data.connection.oneOf.0.outbound_voice_profile_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.connection.oneOf.0.outbound_voice_profile_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.connection.oneOf.0.outbound_voice_profile_id","typeLabel":"string | null"}},"uniqueKey":"data.connection.oneOf.0","typeLabel":"object"},{"type":"null","description":"The Call Control App calls go through. `null` until you [choose one](/api-reference/carrier-accounts/connection).","properties":{"id":{"type":"string","example":"2890000000000000001"},"created_by_yappr":{"type":"boolean"},"outbound_voice_profile_id":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"data.connection.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.connection","typeLabel":"object | null"},"status":{"type":"string","enum":["untested","active","paused"],"description":"`untested` — no call answered on your app since you connected or turned it\nback on. `active` — the last answered call ran on your app. `paused` —\nTelnyx refused your key, your app is gone, or Telnyx refused 5 calls in a\nrow; every number on the account is paused (`is_active: false`) until you\nfix the cause and call [reactivate](/api-reference/carrier-accounts/reactivate).\n","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"pause_reason":{"oneOf":[{"type":"string","enum":["key_rejected","connection_invalid","carrier_rejections"],"uniqueKey":"data.pause_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["key_rejected","connection_invalid","carrier_rejections"],"uniqueKey":"data.pause_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.pause_reason","typeLabel":"enum\u003cstring> | null"},"last_error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","description":"`carrier_rejected`, `key_rejected`, `connection_invalid`, `public_key_mismatch`, `connection_mismatch`, `inbound_on_app` or `number_released`.","uniqueKey":"data.last_error.oneOf.0.code","typeLabel":"string"},"sip_code":{"oneOf":[{"type":"string","example":"403","description":"The SIP code Telnyx ended a ringing call with (`401`, `403`, `407`, …). `null` when Telnyx refused over its API instead: the call itself before it rang, a command on it, or a test.","uniqueKey":"data.last_error.oneOf.0.sip_code.oneOf.0","typeLabel":"string"},{"type":"null","example":"403","description":"The SIP code Telnyx ended a ringing call with (`401`, `403`, `407`, …). `null` when Telnyx refused over its API instead: the call itself before it rang, a command on it, or a test.","uniqueKey":"data.last_error.oneOf.0.sip_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_error.oneOf.0.sip_code","typeLabel":"string | null"},"at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.last_error.oneOf.0.at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.last_error.oneOf.0.at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_error.oneOf.0.at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.last_error.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"code":{"type":"string","description":"`carrier_rejected`, `key_rejected`, `connection_invalid`, `public_key_mismatch`, `connection_mismatch`, `inbound_on_app` or `number_released`."},"sip_code":{"oneOf":[{"type":"string","example":"403","description":"The SIP code Telnyx ended a ringing call with (`401`, `403`, `407`, …). `null` when Telnyx refused over its API instead: the call itself before it rang, a command on it, or a test."},{"type":"null","example":"403","description":"The SIP code Telnyx ended a ringing call with (`401`, `403`, `407`, …). `null` when Telnyx refused over its API instead: the call itself before it rang, a command on it, or a test."}]},"at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"uniqueKey":"data.last_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_error","typeLabel":"object | null"},"last_success_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.last_success_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.last_success_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_success_at","typeLabel":"string\u003cdate-time> | null"},"last_tested_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.last_tested_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.last_tested_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_tested_at","typeLabel":"string\u003cdate-time> | null"},"last_synced_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the last [sync](/api-reference/carrier-accounts/sync) of the account's numbers finished. `null` before the first one.","uniqueKey":"data.last_synced_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the last [sync](/api-reference/carrier-accounts/sync) of the account's numbers finished. `null` before the first one.","uniqueKey":"data.last_synced_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_synced_at","typeLabel":"string\u003cdate-time> | null"},"last_sync_error":{"oneOf":[{"type":"string","enum":["key_rejected","telnyx_refused_request","too_many_numbers","telnyx_unavailable","sync_failed",null],"description":"Why the last sync failed: Telnyx refused the key (`key_rejected`) or this\nrequest (`telnyx_refused_request`), the account holds more than 10,000\nnumbers (`too_many_numbers`), Telnyx did not answer (`telnyx_unavailable`),\nor Yappr could not save the result (`sync_failed`). A failed sync changes no\nnumber. `null` when the last sync worked, and before the first.\n","uniqueKey":"data.last_sync_error.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["key_rejected","telnyx_refused_request","too_many_numbers","telnyx_unavailable","sync_failed",null],"description":"Why the last sync failed: Telnyx refused the key (`key_rejected`) or this\nrequest (`telnyx_refused_request`), the account holds more than 10,000\nnumbers (`too_many_numbers`), Telnyx did not answer (`telnyx_unavailable`),\nor Yappr could not save the result (`sync_failed`). A failed sync changes no\nnumber. `null` when the last sync worked, and before the first.\n","uniqueKey":"data.last_sync_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_sync_error","typeLabel":"enum\u003cstring> | null"},"sync":{"oneOf":[{"type":"object","description":"What the last sync found (the run so far while `in_progress`). `null` before the first one.","properties":{"in_progress":{"type":"boolean","description":"`true` while a large account is still being read in parts: the next part is read when you sync again, or by Yappr within 5 minutes.","uniqueKey":"data.sync.oneOf.0.in_progress","typeLabel":"boolean"},"run_started_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.sync.oneOf.0.run_started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.sync.oneOf.0.run_started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync.oneOf.0.run_started_at","typeLabel":"string\u003cdate-time> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","description":"`null` while `in_progress`.","uniqueKey":"data.sync.oneOf.0.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"`null` while `in_progress`.","uniqueKey":"data.sync.oneOf.0.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync.oneOf.0.completed_at","typeLabel":"string\u003cdate-time> | null"},"seen":{"type":"integer","uniqueKey":"data.sync.oneOf.0.seen","typeLabel":"integer"},"added":{"type":"integer","uniqueKey":"data.sync.oneOf.0.added","typeLabel":"integer"},"updated":{"type":"integer","uniqueKey":"data.sync.oneOf.0.updated","typeLabel":"integer"},"removed":{"type":"integer","uniqueKey":"data.sync.oneOf.0.removed","typeLabel":"integer"},"not_ready":{"type":"integer","uniqueKey":"data.sync.oneOf.0.not_ready","typeLabel":"integer"},"held_elsewhere":{"type":"integer","uniqueKey":"data.sync.oneOf.0.held_elsewhere","typeLabel":"integer"},"held_elsewhere_numbers":{"type":"array","items":{"type":"string","uniqueKey":"data.sync.oneOf.0.held_elsewhere_numbers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.sync.oneOf.0.held_elsewhere_numbers","typeLabel":"string[]"},"held_elsewhere_details":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","uniqueKey":"data.sync.oneOf.0.held_elsewhere_details.items.[INDEX].phone_number","typeLabel":"string"},"reason":{"type":"string","enum":["other_workspace","own_removed","pending_release"],"uniqueKey":"data.sync.oneOf.0.held_elsewhere_details.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.sync.oneOf.0.held_elsewhere_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.sync.oneOf.0.held_elsewhere_details","typeLabel":"object[]"},"excluded":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","uniqueKey":"data.sync.oneOf.0.excluded.items.[INDEX].phone_number","typeLabel":"string"},"telnyx_number_id":{"oneOf":[{"type":"string","uniqueKey":"data.sync.oneOf.0.excluded.items.[INDEX].telnyx_number_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.sync.oneOf.0.excluded.items.[INDEX].telnyx_number_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync.oneOf.0.excluded.items.[INDEX].telnyx_number_id","typeLabel":"string | null"}},"uniqueKey":"data.sync.oneOf.0.excluded.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.sync.oneOf.0.excluded","typeLabel":"object[]"},"batch":{"type":"object","description":"The counts of the last part read.","additionalProperties":{"type":"integer","uniqueKey":"data.sync.oneOf.0.batch.additionalProperties","typeLabel":"integer"},"uniqueKey":"data.sync.oneOf.0.batch","typeLabel":"object"},"run":{"type":"object","description":"The counts of the whole run so far.","additionalProperties":{"type":"integer","uniqueKey":"data.sync.oneOf.0.run.additionalProperties","typeLabel":"integer"},"uniqueKey":"data.sync.oneOf.0.run","typeLabel":"object"}},"uniqueKey":"data.sync.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.sync.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync","typeLabel":"object | null"},"sync_status":{"type":"object","description":"Whether and why this account's numbers are synced, read without running a sync.\nYappr syncs an account by itself once a day, and when you choose its Call\nControl App, test it or turn it back on.\n","properties":{"enabled":{"type":"boolean","description":"Yappr syncs this account by itself. `false` before a Call Control App is\nchosen, while the account is paused by a refused key or a missing app (the\ndaily run skips it until you turn it back on), and on Yappr's own account.\n","uniqueKey":"data.sync_status.enabled","typeLabel":"boolean"},"ready":{"oneOf":[{"type":"boolean","description":"Yappr has switched number syncing on. While it is `false`, no account is\nsynced and [POST /sync](/api-reference/carrier-accounts/sync) answers `503\nSYNC_NOT_READY`; your numbers stay as they are and calls from them still\nwork. `null` when Yappr cannot say right now.\n","uniqueKey":"data.sync_status.ready.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Yappr has switched number syncing on. While it is `false`, no account is\nsynced and [POST /sync](/api-reference/carrier-accounts/sync) answers `503\nSYNC_NOT_READY`; your numbers stay as they are and calls from them still\nwork. `null` when Yappr cannot say right now.\n","uniqueKey":"data.sync_status.ready.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync_status.ready","typeLabel":"boolean | null"},"last_synced_at":{"oneOf":[{"type":"string","format":"date-time","description":"The account's `last_synced_at`.","uniqueKey":"data.sync_status.last_synced_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The account's `last_synced_at`.","uniqueKey":"data.sync_status.last_synced_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync_status.last_synced_at","typeLabel":"string\u003cdate-time> | null"},"last_sync_error":{"oneOf":[{"type":"string","description":"The account's `last_sync_error`.","uniqueKey":"data.sync_status.last_sync_error.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account's `last_sync_error`.","uniqueKey":"data.sync_status.last_sync_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync_status.last_sync_error","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","enum":["connection_required","account_paused","sync_not_ready","never_synced","key_rejected","telnyx_refused_request","too_many_numbers","telnyx_unavailable","sync_failed",null],"description":"Why the numbers are not synced, the first that applies; `null` when the last\nsync worked and nothing stands in the way.\n- `connection_required` — choose the [Call Control App](/api-reference/carrier-accounts/connection) first (`enabled: false`).\n- `account_paused` — [turn it back on](/api-reference/carrier-accounts/reactivate) (`enabled: false`).\n- `sync_not_ready` — Yappr has not switched number syncing on yet (`ready: false`). Nothing to do; it starts by itself.\n- `key_rejected`, `telnyx_refused_request`, `too_many_numbers`, `telnyx_unavailable`, `sync_failed` — the last sync failed (`last_sync_error`).\n- `never_synced` — on, and not run yet: the next test, Turn back on, or the daily run does it, or call POST /sync.\n","uniqueKey":"data.sync_status.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["connection_required","account_paused","sync_not_ready","never_synced","key_rejected","telnyx_refused_request","too_many_numbers","telnyx_unavailable","sync_failed",null],"description":"Why the numbers are not synced, the first that applies; `null` when the last\nsync worked and nothing stands in the way.\n- `connection_required` — choose the [Call Control App](/api-reference/carrier-accounts/connection) first (`enabled: false`).\n- `account_paused` — [turn it back on](/api-reference/carrier-accounts/reactivate) (`enabled: false`).\n- `sync_not_ready` — Yappr has not switched number syncing on yet (`ready: false`). Nothing to do; it starts by itself.\n- `key_rejected`, `telnyx_refused_request`, `too_many_numbers`, `telnyx_unavailable`, `sync_failed` — the last sync failed (`last_sync_error`).\n- `never_synced` — on, and not run yet: the next test, Turn back on, or the daily run does it, or call POST /sync.\n","uniqueKey":"data.sync_status.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync_status.reason","typeLabel":"enum\u003cstring> | null"}},"example":{"enabled":true,"ready":true,"last_synced_at":"2026-09-23T03:17:04Z","last_sync_error":null,"reason":null},"uniqueKey":"data.sync_status","typeLabel":"object"},"numbers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"data.numbers.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"number":{"type":"string","example":"+972551234567","uniqueKey":"data.numbers.items.[INDEX].number","typeLabel":"string"},"friendly_name":{"oneOf":[{"type":"string","uniqueKey":"data.numbers.items.[INDEX].friendly_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.numbers.items.[INDEX].friendly_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].friendly_name","typeLabel":"string | null"},"provider":{"type":"string","description":"Where the number comes from: `telnyx` for a number bought from Yappr,\n`external` for a number in your own Telnyx account, added to a\n[carrier account](/api-reference/carrier-accounts/add-number), `phone_system`\nfor the business number of an extension endpoint that calls out through your own\nphone system ([register.outbound](/concepts/sip-trunks#outbound-calls-through-the-extension)):\nswitched on and off on that endpoint, never released here, no rent, and no calls in\n(they reach the endpoint's own agent; `inbound_agent_id` and `inbound_split` are\nrefused with `422 FIELD_NOT_ALLOWED`).\n","enum":["telnyx","external","phone_system"],"uniqueKey":"data.numbers.items.[INDEX].provider","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["active","pending_requirements","suspended"],"uniqueKey":"data.numbers.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"is_active":{"type":"boolean","uniqueKey":"data.numbers.items.[INDEX].is_active","typeLabel":"boolean"},"inbound_agent_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.numbers.items.[INDEX].inbound_agent_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.numbers.items.[INDEX].inbound_agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].inbound_agent_id","typeLabel":"string\u003cuuid> | null"},"outbound_agent_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.numbers.items.[INDEX].outbound_agent_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.numbers.items.[INDEX].outbound_agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].outbound_agent_id","typeLabel":"string\u003cuuid> | null"},"inbound_split":{"oneOf":[{"type":"object","description":"The A/B test on incoming calls, or `null` when the number always\nanswers with `inbound_agent_id`.\n\n**`percent` is the share of calls that go to the SECOND agent**\n(`agent_id` below). The agent already bound to the number takes the\nrest — a `percent` of 30 means 70% of calls to `inbound_agent_id`\nand 30% to the second agent. The dashboard slider shows the first\nagent's share and stores `100 - slider`; the API always states the\nsecond agent's.\n\nWhich agent answers a given call is fixed for that call: it is\nderived from the carrier's call id, so a redelivered webhook and\nevery internal re-derivation agree. If the second agent cannot take\ncalls (inactive, an unpublished workflow, or a different kind of\nagent from the first), the call goes to the first agent and the call\nrecord says so.\n","required":["agent_id","percent"],"properties":{"agent_id":{"type":"string","format":"uuid","description":"The second agent — the one being tested against the existing one.","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].inbound_split.oneOf.0.agent_id","typeLabel":"string\u003cuuid>"},"percent":{"type":"integer","minimum":1,"maximum":99,"description":"Share of calls routed to `agent_id`, 1–99.","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].inbound_split.oneOf.0.percent","typeLabel":"integer"}},"uniqueKey":"data.numbers.items.[INDEX].inbound_split.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.numbers.items.[INDEX].inbound_split.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].inbound_split","typeLabel":"object | null"},"outbound_split":{"oneOf":[{"type":"object","description":"The same thing for calls this number places: when `POST /calls` is\nsent without an `agent_id`, this split decides which agent calls.\nAn explicit `agent_id` always wins. BYOC SIP endpoints carry no\nsplit.\n","required":["agent_id","percent"],"properties":{"agent_id":{"type":"string","format":"uuid","description":"The second agent — the one being tested against the existing one.","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].outbound_split.oneOf.0.agent_id","typeLabel":"string\u003cuuid>"},"percent":{"type":"integer","minimum":1,"maximum":99,"description":"Share of calls routed to `agent_id`, 1–99.","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].outbound_split.oneOf.0.percent","typeLabel":"integer"}},"uniqueKey":"data.numbers.items.[INDEX].outbound_split.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.numbers.items.[INDEX].outbound_split.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].outbound_split","typeLabel":"object | null"},"sip_inbound_configured":{"type":"boolean","description":"Whether carrier-side routing for incoming calls is in place. On an\n`external` number: whether the number is on Yappr's Call Control App\nin your Telnyx account, so calls to it reach Yappr.\n","uniqueKey":"data.numbers.items.[INDEX].sip_inbound_configured","typeLabel":"boolean"},"sip_outbound_configured":{"type":"boolean","uniqueKey":"data.numbers.items.[INDEX].sip_outbound_configured","typeLabel":"boolean"},"country_code":{"oneOf":[{"type":"string","uniqueKey":"data.numbers.items.[INDEX].country_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.numbers.items.[INDEX].country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].country_code","typeLabel":"string | null"},"monthly_cost":{"oneOf":[{"type":"number","description":"The number's monthly price in cents, before VAT, as listed for it. Whether Yappr charges it is `rent`. Null on an `external` number.\n","uniqueKey":"data.numbers.items.[INDEX].monthly_cost.oneOf.0","typeLabel":"number"},{"type":"null","description":"The number's monthly price in cents, before VAT, as listed for it. Whether Yappr charges it is `rent`. Null on an `external` number.\n","uniqueKey":"data.numbers.items.[INDEX].monthly_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].monthly_cost","typeLabel":"number | null"},"rent":{"type":"object","description":"Whether Yappr charges the number's monthly rent. Returned by GET /phone-numbers and PATCH /phone-numbers/{id}; not part of a number embedded elsewhere (a campaign's from_phone_number, a carrier account's numbers).\n","required":["included","reason","monthly_price_cents","last_charged_at"],"properties":{"included":{"type":"boolean","description":"False when a rent was charged for the number in the last 40 days (each renewal is a phone_number row on GET /billing/transactions); true when none was.\n","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.included","typeLabel":"boolean"},"reason":{"oneOf":[{"type":"string","enum":["own_carrier","not_charged","no_subscription","phone_system",null],"description":"Why the rent is included: `own_carrier` - a number in your own Telnyx account, whose rent Telnyx bills you; `not_charged` - a monthly subscription is on record but has charged nothing in the last 40 days; `no_subscription` - a Yappr number with no subscription (one Yappr set up for you); `phone_system` - a number that calls out through your own phone system, which Yappr does not rent. Null when the rent is charged.\n","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["own_carrier","not_charged","no_subscription","phone_system",null],"description":"Why the rent is included: `own_carrier` - a number in your own Telnyx account, whose rent Telnyx bills you; `not_charged` - a monthly subscription is on record but has charged nothing in the last 40 days; `no_subscription` - a Yappr number with no subscription (one Yappr set up for you); `phone_system` - a number that calls out through your own phone system, which Yappr does not rent. Null when the rent is charged.\n","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.reason","typeLabel":"enum\u003cstring> | null"},"monthly_price_cents":{"oneOf":[{"type":"integer","description":"The monthly rent before VAT, paid by card. Null when included.","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.monthly_price_cents.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The monthly rent before VAT, paid by card. Null when included.","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.monthly_price_cents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.monthly_price_cents","typeLabel":"integer | null"},"last_charged_at":{"oneOf":[{"type":"string","format":"date-time","description":"The newest rent charge in the last 40 days, or null.","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.last_charged_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The newest rent charge in the last 40 days, or null.","isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.last_charged_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.numbers.items.[INDEX].rent.last_charged_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.numbers.items.[INDEX].rent","typeLabel":"object"},"next_renewal_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the rent next renews: monthly, on the day and time the subscription started (the last day of a shorter month). Null when `rent.included`, and when the number's release is scheduled (`scheduled_release_at`): it does not renew. Returned by GET /phone-numbers and PATCH /phone-numbers/{id}.\n","uniqueKey":"data.numbers.items.[INDEX].next_renewal_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the rent next renews: monthly, on the day and time the subscription started (the last day of a shorter month). Null when `rent.included`, and when the number's release is scheduled (`scheduled_release_at`): it does not renew. Returned by GET /phone-numbers and PATCH /phone-numbers/{id}.\n","uniqueKey":"data.numbers.items.[INDEX].next_renewal_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].next_renewal_at","typeLabel":"string\u003cdate-time> | null"},"scheduled_release_at":{"oneOf":[{"type":"string","format":"date-time","description":"When a number released with POST /phone-numbers/{id}/release goes: the end of the period already paid for. Until then the number keeps working as before; POST /phone-numbers/{id}/keep undoes the release. Null when no release is scheduled.\n","uniqueKey":"data.numbers.items.[INDEX].scheduled_release_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When a number released with POST /phone-numbers/{id}/release goes: the end of the period already paid for. Until then the number keeps working as before; POST /phone-numbers/{id}/keep undoes the release. Null when no release is scheduled.\n","uniqueKey":"data.numbers.items.[INDEX].scheduled_release_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].scheduled_release_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.numbers.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"phone_system":{"oneOf":[{"type":"object","description":"The extension endpoint a `phone_system` number calls out through; `null` on every\nother number.\n","properties":{"sip_endpoint_id":{"type":"string","format":"uuid","uniqueKey":"data.numbers.items.[INDEX].phone_system.oneOf.0.sip_endpoint_id","typeLabel":"string\u003cuuid>"},"sip_endpoint_name":{"oneOf":[{"type":"string","uniqueKey":"data.numbers.items.[INDEX].phone_system.oneOf.0.sip_endpoint_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.numbers.items.[INDEX].phone_system.oneOf.0.sip_endpoint_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].phone_system.oneOf.0.sip_endpoint_name","typeLabel":"string | null"}},"uniqueKey":"data.numbers.items.[INDEX].phone_system.oneOf.0","typeLabel":"object"},{"type":"null","description":"The extension endpoint a `phone_system` number calls out through; `null` on every\nother number.\n","properties":{"sip_endpoint_id":{"type":"string","format":"uuid"},"sip_endpoint_name":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"data.numbers.items.[INDEX].phone_system.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].phone_system","typeLabel":"object | null"},"carrier_account":{"oneOf":[{"type":"object","description":"The Telnyx account an `external` number calls through. `null` on numbers\nbought from Yappr, and for a key without `carrier_accounts:read` —\n`provider: external` still says the number is your own. On a number a\n[disconnect](/api-reference/carrier-accounts/delete) kept for its history,\n`status` is `disconnected`: `GET /carrier-accounts/{id}` no longer finds the\naccount, and its `id` is what removes the number\n(`DELETE /carrier-accounts/{id}/numbers/{phone_number_id}`).\n","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"data.numbers.items.[INDEX].carrier_account.oneOf.0.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"data.numbers.items.[INDEX].carrier_account.oneOf.0.name","typeLabel":"string"},"provider":{"type":"string","enum":["telnyx"],"uniqueKey":"data.numbers.items.[INDEX].carrier_account.oneOf.0.provider","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["untested","active","paused","disconnected"],"uniqueKey":"data.numbers.items.[INDEX].carrier_account.oneOf.0.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.numbers.items.[INDEX].carrier_account.oneOf.0","typeLabel":"object"},{"type":"null","description":"The Telnyx account an `external` number calls through. `null` on numbers\nbought from Yappr, and for a key without `carrier_accounts:read` —\n`provider: external` still says the number is your own. On a number a\n[disconnect](/api-reference/carrier-accounts/delete) kept for its history,\n`status` is `disconnected`: `GET /carrier-accounts/{id}` no longer finds the\naccount, and its `id` is what removes the number\n(`DELETE /carrier-accounts/{id}/numbers/{phone_number_id}`).\n","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"provider":{"type":"string","enum":["telnyx"]},"status":{"type":"string","enum":["untested","active","paused","disconnected"]}},"uniqueKey":"data.numbers.items.[INDEX].carrier_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].carrier_account","typeLabel":"object | null"},"carrier_state":{"oneOf":[{"type":"object","description":"Where an `external` number stands in your Telnyx account. `null` on\nnumbers bought from Yappr, and for a key without\n`carrier_accounts:read`. `state` is the first of these that applies:\n`telnyx_gone` (Telnyx no longer lists it: a sync found it gone, since\n`removed_at`; it cannot call), `removed` (Removed from this workspace: a\ndisconnect kept it for its call history, since `removed_at`; it may still be\nin your Telnyx account, it cannot call, and `carrier_account.status` is\n`disconnected`), `not_ready` (Telnyx lists it\nwith a status other than `active`), `paused` (its carrier account is\npaused), `blocked` (not configured, and a setting in `blockers` stops\nYappr answering it), `not_configured` (calls out work; calls in still\nring at `current_connection_name` until you configure it with\n`POST /carrier-accounts/{id}/numbers/{phone_number_id}/configure`) and\n`ready` (calls to it are answered here).\n","properties":{"state":{"type":"string","enum":["ready","not_configured","blocked","paused","not_ready","telnyx_gone","removed"],"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.state","typeLabel":"enum\u003cstring>"},"telnyx_status":{"oneOf":[{"type":"string","description":"The number's status in Telnyx, as of the last sync. `null` until a sync has read it.","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.telnyx_status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number's status in Telnyx, as of the last sync. `null` until a sync has read it.","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.telnyx_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.telnyx_status","typeLabel":"string | null"},"current_connection_name":{"oneOf":[{"type":"string","description":"The connection the number is on in Telnyx, as of the last sync. `null` when it is on none.","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.current_connection_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The connection the number is on in Telnyx, as of the last sync. `null` when it is on none.","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.current_connection_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.current_connection_name","typeLabel":"string | null"},"previous_connection_name":{"oneOf":[{"type":"string","description":"The connection the number goes back to when you stop answering it here. `null` when it had none.","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.previous_connection_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The connection the number goes back to when you stop answering it here. `null` when it had none.","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.previous_connection_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.previous_connection_name","typeLabel":"string | null"},"blockers":{"type":"array","items":{"type":"string","enum":["forwarding_always","translated_number","tech_prefix"],"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.blockers.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Telnyx settings that stop Yappr answering the number. Configure is refused while any is on.\n`forwarding_always`: Telnyx forwards every call to it elsewhere. `translated_number`: Telnyx\ndelivers its calls as another number. `tech_prefix`: Telnyx adds a tech prefix to the dialled\nnumber, so Yappr could not match it. Change the setting in Telnyx, then sync.\n","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.blockers","typeLabel":"enum\u003cstring>[]"},"notes":{"type":"array","items":{"type":"string","enum":["number_recording","forwarding_on_failure","call_screening","off_by_owner","off_until_active","off_while_paused"],"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.notes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Telnyx voice settings on the number that configuring leaves on (recording, forwarding when\nunanswered, call screening). They stay as they are when you configure it. When the number is\nswitched off (`is_active` is `false`, so it places no calls), one more note says why:\n`off_by_owner` (an owner or admin switched it off; it stays off until one switches it on),\n`off_until_active` (Telnyx did not list it as active; the sync switches it on once Telnyx does)\nor `off_while_paused` (its carrier account paused; turning the account back on switches it on).\n","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.notes","typeLabel":"enum\u003cstring>[]"},"removed_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the number went out of use here, on a `telnyx_gone` or `removed` number. `null` on every other.","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.removed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the number went out of use here, on a `telnyx_gone` or `removed` number. `null` on every other.","uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.removed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0.removed_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.0","typeLabel":"object"},{"type":"null","description":"Where an `external` number stands in your Telnyx account. `null` on\nnumbers bought from Yappr, and for a key without\n`carrier_accounts:read`. `state` is the first of these that applies:\n`telnyx_gone` (Telnyx no longer lists it: a sync found it gone, since\n`removed_at`; it cannot call), `removed` (Removed from this workspace: a\ndisconnect kept it for its call history, since `removed_at`; it may still be\nin your Telnyx account, it cannot call, and `carrier_account.status` is\n`disconnected`), `not_ready` (Telnyx lists it\nwith a status other than `active`), `paused` (its carrier account is\npaused), `blocked` (not configured, and a setting in `blockers` stops\nYappr answering it), `not_configured` (calls out work; calls in still\nring at `current_connection_name` until you configure it with\n`POST /carrier-accounts/{id}/numbers/{phone_number_id}/configure`) and\n`ready` (calls to it are answered here).\n","properties":{"state":{"type":"string","enum":["ready","not_configured","blocked","paused","not_ready","telnyx_gone","removed"]},"telnyx_status":{"oneOf":[{"type":"string","description":"The number's status in Telnyx, as of the last sync. `null` until a sync has read it."},{"type":"null","description":"The number's status in Telnyx, as of the last sync. `null` until a sync has read it."}]},"current_connection_name":{"oneOf":[{"type":"string","description":"The connection the number is on in Telnyx, as of the last sync. `null` when it is on none."},{"type":"null","description":"The connection the number is on in Telnyx, as of the last sync. `null` when it is on none."}]},"previous_connection_name":{"oneOf":[{"type":"string","description":"The connection the number goes back to when you stop answering it here. `null` when it had none."},{"type":"null","description":"The connection the number goes back to when you stop answering it here. `null` when it had none."}]},"blockers":{"type":"array","items":{"type":"string","enum":["forwarding_always","translated_number","tech_prefix"]},"description":"Telnyx settings that stop Yappr answering the number. Configure is refused while any is on.\n`forwarding_always`: Telnyx forwards every call to it elsewhere. `translated_number`: Telnyx\ndelivers its calls as another number. `tech_prefix`: Telnyx adds a tech prefix to the dialled\nnumber, so Yappr could not match it. Change the setting in Telnyx, then sync.\n"},"notes":{"type":"array","items":{"type":"string","enum":["number_recording","forwarding_on_failure","call_screening","off_by_owner","off_until_active","off_while_paused"]},"description":"Telnyx voice settings on the number that configuring leaves on (recording, forwarding when\nunanswered, call screening). They stay as they are when you configure it. When the number is\nswitched off (`is_active` is `false`, so it places no calls), one more note says why:\n`off_by_owner` (an owner or admin switched it off; it stays off until one switches it on),\n`off_until_active` (Telnyx did not list it as active; the sync switches it on once Telnyx does)\nor `off_while_paused` (its carrier account paused; turning the account back on switches it on).\n"},"removed_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the number went out of use here, on a `telnyx_gone` or `removed` number. `null` on every other."},{"type":"null","format":"date-time","description":"When the number went out of use here, on a `telnyx_gone` or `removed` number. `null` on every other."}]}},"uniqueKey":"data.numbers.items.[INDEX].carrier_state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].carrier_state","typeLabel":"object | null"},"ownership_verified_at":{"oneOf":[{"type":"string","format":"date-time","description":"When your Telnyx API key last proved that this `external` number is an\nactive number in your account. `null` means that is not proven now: Telnyx\nno longer lists it as active, or its account was disconnected. The number is\nnot callable until a [test](/api-reference/carrier-accounts/test) or a sync\nfinds it again. Always `null` on numbers bought from Yappr.\n","uniqueKey":"data.numbers.items.[INDEX].ownership_verified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When your Telnyx API key last proved that this `external` number is an\nactive number in your account. `null` means that is not proven now: Telnyx\nno longer lists it as active, or its account was disconnected. The number is\nnot callable until a [test](/api-reference/carrier-accounts/test) or a sync\nfinds it again. Always `null` on numbers bought from Yappr.\n","uniqueKey":"data.numbers.items.[INDEX].ownership_verified_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.numbers.items.[INDEX].ownership_verified_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.numbers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.numbers","typeLabel":"object[]"},"removed_numbers":{"type":"array","description":"Numbers [removed from this workspace](/api-reference/carrier-accounts/remove-number),\nnewest first. A removed number leaves `numbers` and GET /phone-numbers; this keeps\nthe `id` it had - the id its past calls and charges were recorded under - with its\nnumber and when it was removed.\n","items":{"type":"object","required":["id","number","removed_at"],"properties":{"id":{"type":"string","format":"uuid","description":"The phone number id it had.","isRequired":true,"uniqueKey":"data.removed_numbers.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"number":{"type":"string","description":"E.164.","isRequired":true,"uniqueKey":"data.removed_numbers.items.[INDEX].number","typeLabel":"string"},"removed_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.removed_numbers.items.[INDEX].removed_at","typeLabel":"string\u003cdate-time>"},"friendly_name":{"oneOf":[{"type":"string","uniqueKey":"data.removed_numbers.items.[INDEX].friendly_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.removed_numbers.items.[INDEX].friendly_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.removed_numbers.items.[INDEX].friendly_name","typeLabel":"string | null"},"telnyx_number_id":{"oneOf":[{"type":"string","description":"Its id in your Telnyx account.","uniqueKey":"data.removed_numbers.items.[INDEX].telnyx_number_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Its id in your Telnyx account.","uniqueKey":"data.removed_numbers.items.[INDEX].telnyx_number_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.removed_numbers.items.[INDEX].telnyx_number_id","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","description":"When it was added to this workspace.","uniqueKey":"data.removed_numbers.items.[INDEX].created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When it was added to this workspace.","uniqueKey":"data.removed_numbers.items.[INDEX].created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.removed_numbers.items.[INDEX].created_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.removed_numbers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.removed_numbers","typeLabel":"object[]"},"webhook_url":{"type":"string","format":"uri","description":"The exact webhook URL a Call Control App you made must use. It carries a\nsecret for your account: treat it like a password. Returned only to API keys\nwith `carrier_accounts:manage` (and workspace owners and admins), and only\nwhen it is needed: on [connect](/api-reference/carrier-accounts/create) (at\nthe top level), on an [update](/api-reference/carrier-accounts/update) that\nsends a new `api_key`, and on [GET /carrier-accounts/{id}](/api-reference/carrier-accounts/get)\nwith `?include=webhook_url`. Every other read leaves it out.\n","uniqueKey":"data.webhook_url","typeLabel":"string\u003curi>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data","typeLabel":"object"},"webhook_url":{"type":"string","format":"uri","description":"The URL a Call Control App you made must use.","uniqueKey":"webhook_url","typeLabel":"string\u003curi>"},"telnyx":{"type":"object","description":"The Call Control Apps and outbound voice profiles your key can see (same shape as the test result's `telnyx`).","uniqueKey":"telnyx","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"Main Telnyx account","provider":"telnyx","api_key_last4":"9XyZ","api_key_updated_at":"2023-11-07T05:31:56Z","public_key_set":true,"signature_verified":true,"connection":{"id":"2890000000000000001","created_by_yappr":true,"outbound_voice_profile_id":"\u003cstring>"},"status":"untested","pause_reason":"key_rejected","last_error":{"code":"\u003cstring>","sip_code":"403","at":"2023-11-07T05:31:56Z"},"last_success_at":"2023-11-07T05:31:56Z","last_tested_at":"2023-11-07T05:31:56Z","last_synced_at":"2023-11-07T05:31:56Z","last_sync_error":"key_rejected","sync":{"in_progress":true,"run_started_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","seen":123,"added":123,"updated":123,"removed":123,"not_ready":123,"held_elsewhere":123,"held_elsewhere_numbers":["\u003cstring>"],"held_elsewhere_details":[{"phone_number":"\u003cstring>","reason":"other_workspace"}],"excluded":[{"phone_number":"\u003cstring>","telnyx_number_id":"\u003cstring>"}],"batch":{},"run":{}},"sync_status":{"enabled":true,"ready":true,"last_synced_at":"2026-09-23T03:17:04Z","last_sync_error":null,"reason":null},"numbers":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","number":"+972551234567","friendly_name":"\u003cstring>","provider":"telnyx","status":"active","is_active":true,"inbound_agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","outbound_agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","inbound_split":{"agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","percent":50},"outbound_split":{"agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","percent":50},"sip_inbound_configured":true,"sip_outbound_configured":true,"country_code":"\u003cstring>","monthly_cost":123,"rent":{"included":true,"reason":"own_carrier","monthly_price_cents":123,"last_charged_at":"2023-11-07T05:31:56Z"},"next_renewal_at":"2023-11-07T05:31:56Z","scheduled_release_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z","phone_system":{"sip_endpoint_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","sip_endpoint_name":"\u003cstring>"},"carrier_account":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","provider":"telnyx","status":"untested"},"carrier_state":{"state":"ready","telnyx_status":"\u003cstring>","current_connection_name":"\u003cstring>","previous_connection_name":"\u003cstring>","blockers":["forwarding_always"],"notes":["number_recording"],"removed_at":"2023-11-07T05:31:56Z"},"ownership_verified_at":"2023-11-07T05:31:56Z"}],"removed_numbers":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","number":"\u003cstring>","removed_at":"2023-11-07T05:31:56Z","friendly_name":"\u003cstring>","telnyx_number_id":"\u003cstring>","created_at":"2023-11-07T05:31:56Z"}],"webhook_url":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"},"webhook_url":"\u003cstring>","telnyx":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"e02af861-e99b-4ada-a8ec-e64e91d9b3ea":{"description":"`INVALID_NAME`, `INVALID_API_KEY`, `INVALID_PUBLIC_KEY` or `INVALID_JSON`.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"73dc38ef-a738-48ac-9393-b24653b00a78":{"description":"`CARRIER_ACCOUNTS_NOT_ENABLED` — Yappr has switched calling out through your own\nTelnyx account off for this workspace. It is available in every workspace, so this\nis only the emergency-off answer; contact Yappr support. Every carrier-accounts\nroute answers this while it is off (check with\n[GET /carrier-accounts/status](/api-reference/carrier-accounts/status)). An API key\nwithout the route's scope gets a 403 of its own.\n","content":{"application/json":{"schema":{"type":"object","description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","required":["error","code"],"properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"},"enabled":{"type":"boolean","example":false,"uniqueKey":"enabled","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Calling out through your own Telnyx account is switched off for this workspace. Contact Yappr support.","code":"CARRIER_ACCOUNTS_NOT_ENABLED","enabled":false},"examples":{"Example":{"title":"Example","value":{"error":"Calling out through your own Telnyx account is switched off for this workspace. Contact Yappr support.","code":"CARRIER_ACCOUNTS_NOT_ENABLED","enabled":false}}},"exampleType":"examples"}},"exampleType":"examples"},"5c4b9f0f-bdcc-4611-91f2-9fc77bbc5eca":{"description":"`TELNYX_KEY_REJECTED` — Telnyx refused the key. `KEY_IS_YAPPR_ACCOUNT` — the key belongs to Yappr's own Telnyx account.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"2961836c-ed14-40c2-80f3-70c3f91beff5":{"description":"`RATE_LIMITED` — 10 accounts connected today.","headers":{"Retry-After":{"description":"Whole seconds to wait before sending the request again. Never zero.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"032ad870-f880-4549-b599-90a8cb105306":{"description":"`TELNYX_UNAVAILABLE` — Telnyx did not answer. Nothing changed; try again.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2767439e-f0c6-4cd4-a450-ba11a6ab8311":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","scopes":[],"schemeName":"apiKey"}}},"servers":{"dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d":{"url":"https://api.goyappr.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"yappr","siteName":"Yappr","title":"Connect a Telnyx Account - Yappr","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T15:44:23.089Z","originalFileLocation":"api-reference/carrier-accounts/create.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=\"system\"}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=\"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx first; nothing is saved if Telnyx refuses it. Then choose the Call Control App and add your numbers. Requires carrier_accounts:manage. Limit: 10 per workspace per day.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yappr\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect a Telnyx Account - Yappr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx first; nothing is saved if Telnyx refuses it. Then choose the Call Control App and add your numbers. Requires carrier_accounts:manage. Limit: 10 per workspace per day.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yappr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.goyappr.com/api-reference/carrier-accounts/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Carrier+accounts\u0026amp;title=Connect+a+Telnyx+Account\u0026amp;description=Save+a+Telnyx+API+key+made+just+for+Yappr.+The+key+is+checked+with+Telnyx%0Afirst%3B+nothing+is+saved+if+Telnyx+refuses+it.+Then%0A%5Bchoose+the+Call+Control+App%5D%28%2Fapi-\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=549493e799f760f6031e7de6ee0d6c519b71ffcbf25d5e6d57270d1b061681ca\">\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=\"Connect a Telnyx Account - Yappr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx first; nothing is saved if Telnyx refuses it. Then choose the Call Control App and add your numbers. Requires carrier_accounts:manage. Limit: 10 per workspace per day.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Carrier+accounts\u0026amp;title=Connect+a+Telnyx+Account\u0026amp;description=Save+a+Telnyx+API+key+made+just+for+Yappr.+The+key+is+checked+with+Telnyx%0Afirst%3B+nothing+is+saved+if+Telnyx+refuses+it.+Then%0A%5Bchoose+the+Call+Control+App%5D%28%2Fapi-\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=549493e799f760f6031e7de6ee0d6c519b71ffcbf25d5e6d57270d1b061681ca\">\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/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yappr\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.goyappr.com/api-reference/carrier-accounts/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/carrier-accounts/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.goyappr.com/#organization\",\"name\":\"Yappr\",\"url\":\"https://docs.goyappr.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/light.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a117ff3aa08c2017e8d58b0da5be882f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.goyappr.com#website\",\"name\":\"Yappr\",\"url\":\"https://docs.goyappr.com\",\"publisher\":{\"@id\":\"https://docs.goyappr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.goyappr.com/api-reference/carrier-accounts/create#webpage\",\"url\":\"https://docs.goyappr.com/api-reference/carrier-accounts/create\",\"name\":\"Connect a Telnyx Account\",\"description\":\"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx first; nothing is saved if Telnyx refuses it. Then choose the Call Control App and add your numbers. Requires carrier_accounts:manage. Limit: 10 per workspace per day.\",\"dateModified\":\"2026-11-12T15:44:23.089Z\",\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.goyappr.com/api-reference/carrier-accounts/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.goyappr.com/api-reference/carrier-accounts/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Carrier accounts\",\"item\":\"https://docs.goyappr.com/api-reference/carrier-accounts/status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect a Telnyx Account\",\"item\":\"https://docs.goyappr.com/api-reference/carrier-accounts/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.goyappr.com/api-reference/carrier-accounts/create#apireference\",\"headline\":\"Connect a Telnyx Account\",\"name\":\"Connect a Telnyx Account\",\"description\":\"Save a Telnyx API key made just for Yappr. The key is checked with Telnyx first; nothing is saved if Telnyx refuses it. Then choose the Call Control App and add your numbers. Requires carrier_accounts:manage. Limit: 10 per workspace per day.\",\"url\":\"https://docs.goyappr.com/api-reference/carrier-accounts/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.goyappr.com/api-reference/carrier-accounts/create#webpage\"},\"dateModified\":\"2026-11-12T15:44:23.089Z\",\"publisher\":{\"@id\":\"https://docs.goyappr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yappr\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Yappr\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/carrier-accounts/create.md","siteName":"Yappr","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Connect through MCP","href":"/api-reference/mcp/connect"},{"title":"Error Codes","href":"/api-reference/errors"},{"title":"Report an issue","openapi":"POST /report-issue","href":"/api-reference/report-issue"}]},{"group":"Billing","pages":[{"title":"Get Billing Status","openapi":"GET /billing","href":"/api-reference/billing/get-status"},{"title":"Get Billing Rates","openapi":"GET /billing/rates","href":"/api-reference/billing/rates"},{"title":"Set Spending Limit","openapi":"PATCH /billing","href":"/api-reference/billing/spending-limit"},{"title":"Setup Payment Method","openapi":"POST /billing/setup","href":"/api-reference/billing/setup-payment"},{"title":"Top Up Credits","openapi":"POST /billing/topup","href":"/api-reference/billing/topup"},{"title":"Billing Consumption","openapi":"GET /billing/consumption","href":"/api-reference/billing/consumption"},{"title":"Billing Transactions","openapi":"GET /billing/transactions","href":"/api-reference/billing/transactions"},{"title":"Get Billing Transaction","openapi":"GET /billing/transactions/{id}","href":"/api-reference/billing/transaction"},{"title":"Get Billing Details","openapi":"GET /billing/details","href":"/api-reference/billing/details"},{"title":"Update Billing Details","openapi":"PATCH /billing/details","href":"/api-reference/billing/update-details"},{"title":"List Invoices","openapi":"GET /billing/invoices","href":"/api-reference/billing/invoices"}]},{"group":"Agents","pages":[{"title":"List Agents","openapi":"GET /agents","href":"/api-reference/agents/list"},{"title":"Create Agent","openapi":"POST /agents","href":"/api-reference/agents/create"},{"title":"Duplicate Agent","openapi":"POST /agents/{id}/duplicate","href":"/api-reference/agents/duplicate"},{"title":"Test an Agent by Phone","openapi":"POST /agents/{id}/test-call","href":"/api-reference/agents/test-call"},{"title":"Which Line Rings a Test Call","openapi":"GET /agents/{id}/test-call","href":"/api-reference/agents/test-call-caller"},{"title":"Get Agent","openapi":"GET /agents/{id}","href":"/api-reference/agents/get"},{"title":"Update Agent","openapi":"PATCH /agents/{id}","href":"/api-reference/agents/update"},{"title":"Read workflow agent settings","openapi":"GET /agents/{id}/settings","href":"/api-reference/agents/settings"},{"title":"Idle reminders","href":"/api-reference/agents/idle-reminders"},{"title":"List an agent's tools \u0026 integrations","openapi":"GET /agents/{id}/tools-and-integrations","href":"/api-reference/agents/tools-and-integrations"},{"title":"List an agent's integrations","openapi":"GET /agents/{id}/integrations","href":"/api-reference/agents/integrations-list"},{"title":"Give an agent a connected app","openapi":"POST /agents/{id}/integrations","href":"/api-reference/agents/integrations-add"},{"title":"Change an integration's actions","openapi":"PATCH /agents/{id}/integrations/{integration_id}","href":"/api-reference/agents/integrations-update"},{"title":"Stop an agent using an app","openapi":"DELETE /agents/{id}/integrations/{integration_id}","href":"/api-reference/agents/integrations-remove"},{"title":"Dry-run Extraction","openapi":"POST /agents/{id}/extraction/dry-run","href":"/api-reference/agents/extraction-dry-run"},{"title":"Remove Agent","openapi":"DELETE /agents/{id}","href":"/api-reference/agents/delete"},{"title":"Models","href":"/api-reference/agents/models"},{"title":"Languages","href":"/api-reference/agents/languages"},{"title":"Voices","href":"/api-reference/agents/voices"},{"title":"Flow Config Schema","href":"/api-reference/agents/flow-config-schema"}]},{"group":"Flow Agents","pages":[{"title":"List Flow Versions","openapi":"GET /agents/{id}/flow/versions","href":"/api-reference/flows/list-versions"},{"title":"Restore Flow Version","openapi":"POST /agents/{id}/flow/restore","href":"/api-reference/flows/restore-version"},{"title":"Test a Flow","openapi":"POST /agents/{id}/flow/test","href":"/api-reference/flows/test"}]},{"group":"Workflows","pages":[{"title":"Read workflow","openapi":"GET /agents/{id}/workflow","href":"/api-reference/workflows/get"},{"title":"Save workflow draft","openapi":"PUT /agents/{id}/workflow","href":"/api-reference/workflows/save"},{"title":"Point bindings at other tools","openapi":"POST /agents/{id}/workflow/rebind","href":"/api-reference/workflows/rebind"},{"title":"Check workflow","openapi":"POST /agents/{id}/workflow/validate","href":"/api-reference/workflows/validate"},{"title":"Publish workflow","openapi":"POST /agents/{id}/workflow/publish","href":"/api-reference/workflows/publish"},{"title":"List workflow versions","openapi":"GET /agents/{id}/workflow/versions","href":"/api-reference/workflows/versions"},{"title":"Get workflow version","openapi":"GET /agents/{id}/workflow/versions/{version_id}","href":"/api-reference/workflows/version"},{"title":"Restore workflow version","openapi":"POST /agents/{id}/workflow/restore","href":"/api-reference/workflows/restore"},{"title":"Teach an agent from a test call","openapi":"POST /agents/{id}/workflow/train","href":"/api-reference/workflows/train"},{"title":"Read workflow tool catalog","openapi":"GET /tools/workflow-catalog","href":"/api-reference/workflows/catalog"},{"title":"Trigger events","href":"/api-reference/workflows/events"},{"title":"Opening line from a Before step","href":"/api-reference/workflows/greeting-from-before"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference/webhooks"},{"title":"List Deliveries","openapi":"GET /deliveries","href":"/api-reference/deliveries/list"},{"title":"Get Delivery","openapi":"GET /deliveries/{id}","href":"/api-reference/deliveries/get"},{"title":"Retry Delivery","openapi":"POST /deliveries/{id}/retry","href":"/api-reference/deliveries/retry"}]},{"group":"Tools \u0026 integrations","pages":[{"group":"Connected accounts","pages":[{"title":"List account connection options","openapi":"GET /tool-apps/connection-options","href":"/api-reference/tool-connections/apps"},{"title":"List connected accounts","openapi":"GET /tool-connections","href":"/api-reference/tool-connections/list"},{"title":"Get connection readiness","openapi":"GET /tool-connections/{id}","href":"/api-reference/tool-connections/get"},{"title":"Connect a workspace account","openapi":"POST /tool-connections","href":"/api-reference/tool-connections/connect"},{"title":"Read authorization status","openapi":"GET /tool-connection-auth-attempts/{id}","href":"/api-reference/tool-connections/auth-attempt"},{"title":"Cancel an authorization attempt","openapi":"POST /tool-connections/attempts/{id}/cancel","href":"/api-reference/tool-connections/cancel-attempt"},{"title":"Connect a replacement account","openapi":"POST /tool-connections/{id}/reconnect","href":"/api-reference/tool-connections/reconnect"},{"title":"Disconnect an account","openapi":"DELETE /tool-connections/{id}","href":"/api-reference/tool-connections/disconnect"},{"title":"Rename an account","openapi":"PATCH /tool-connections/{id}","href":"/api-reference/tool-connections/rename"},{"title":"What a connected app can do","openapi":"GET /tool-connections/{id}/actions","href":"/api-reference/tool-connections/actions"},{"title":"Make an app's actions ready","openapi":"POST /tool-connections/{id}/actions/prepare","href":"/api-reference/tool-connections/prepare-actions"},{"title":"List an account's choices for an input","openapi":"GET /tool-connections/{id}/options/{resource}","href":"/api-reference/tool-connections/options"},{"title":"Check that an account works","openapi":"POST /tool-connections/{id}/check","href":"/api-reference/tool-connections/check"},{"title":"The agents using an app","openapi":"GET /tool-connections/{id}/agents","href":"/api-reference/tool-connections/agents"},{"title":"Take an account off the list","openapi":"POST /tool-connections/{id}/remove","href":"/api-reference/tool-connections/remove"},{"title":"Clear the attempts nobody finished","openapi":"POST /tool-connections/cleanup","href":"/api-reference/tool-connections/cleanup"}]},{"group":"Tools","pages":[{"title":"List Tools","openapi":"GET /tools","href":"/api-reference/tools/list"},{"title":"Create Tool","openapi":"POST /tools","href":"/api-reference/tools/create"},{"title":"Discover Apps","openapi":"GET /tool-apps","href":"/api-reference/tools/apps"},{"title":"Get App Versions","openapi":"GET /tool-apps/{slug}","href":"/api-reference/tools/app"},{"title":"Discover Versioned Actions","openapi":"GET /tool-apps/{slug}/actions","href":"/api-reference/tools/actions"},{"title":"Get Full Action Schemas","openapi":"GET /tool-apps/{slug}/actions/{action}","href":"/api-reference/tools/action"},{"title":"Get Tool","openapi":"GET /tools/{id}","href":"/api-reference/tools/get"},{"title":"Get Current Tool Schemas","openapi":"GET /tools/{id}/schema","href":"/api-reference/tools/schema"},{"title":"List Tool Bindings","openapi":"GET /tools/{id}/bindings","href":"/api-reference/tools/bindings"},{"title":"List Tool Contract Revisions","openapi":"GET /tools/{id}/workflow-revisions","href":"/api-reference/tools/revisions"},{"title":"Add a Tool Contract Revision","openapi":"POST /tools/{id}/workflow-revisions","href":"/api-reference/tools/create-revision"},{"title":"Update Tool","openapi":"PATCH /tools/{id}","href":"/api-reference/tools/update"},{"title":"Archive Tool","openapi":"DELETE /tools/{id}","href":"/api-reference/tools/delete"},{"title":"Restore Tool","openapi":"POST /tools/{id}/restore","href":"/api-reference/tools/restore"},{"title":"Attach Tool to Agent","openapi":"POST /tools/attach","href":"/api-reference/tools/attach"},{"title":"Detach Tool from Agent","openapi":"POST /tools/detach","href":"/api-reference/tools/detach"},{"title":"Test Saved Tool","openapi":"POST /tools/{id}/test","href":"/api-reference/tools/test"},{"title":"Get Saved Tool Test","openapi":"GET /tools/{id}/tests/{test_id}","href":"/api-reference/tools/test-get"},{"title":"Cancel Tool Test","openapi":"POST /tools/{id}/tests/{test_id}/cancel","href":"/api-reference/tools/test-cancel"}]}]},{"group":"Phone Numbers","pages":[{"title":"List Owned Numbers","openapi":"GET /phone-numbers","href":"/api-reference/phone-numbers/list"},{"title":"Search Available Numbers","openapi":"POST /phone-numbers/search","href":"/api-reference/phone-numbers/search"},{"title":"Purchase Number","openapi":"POST /phone-numbers/purchase","href":"/api-reference/phone-numbers/purchase"},{"title":"Update Number","openapi":"PATCH /phone-numbers/{id}","href":"/api-reference/phone-numbers/update"},{"title":"Configure Number","openapi":"POST /phone-numbers/configure","href":"/api-reference/phone-numbers/configure"},{"title":"Release Number","openapi":"POST /phone-numbers/{id}/release","href":"/api-reference/phone-numbers/release"},{"title":"Keep Number","openapi":"POST /phone-numbers/{id}/keep","href":"/api-reference/phone-numbers/keep"}]},{"group":"SIP Endpoints","pages":[{"title":"SIP Endpoints Status","openapi":"GET /sip-endpoints/status","href":"/api-reference/sip-endpoints/status"},{"title":"List SIP Endpoints","openapi":"GET /sip-endpoints","href":"/api-reference/sip-endpoints/list"},{"title":"Create SIP Endpoint","openapi":"POST /sip-endpoints","href":"/api-reference/sip-endpoints/create"},{"title":"Get SIP Endpoint","openapi":"GET /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/get"},{"title":"Update SIP Endpoint","openapi":"PATCH /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/update"},{"title":"Delete SIP Endpoint","openapi":"DELETE /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/delete"},{"title":"Rotate SIP Endpoint Password","openapi":"POST /sip-endpoints/{id}/rotate-password","href":"/api-reference/sip-endpoints/rotate-password"}]},{"group":"Carrier accounts","pages":[{"title":"Carrier Accounts Status","openapi":"GET /carrier-accounts/status","href":"/api-reference/carrier-accounts/status"},{"title":"List Carrier Accounts","openapi":"GET /carrier-accounts","description":"Your connected Telnyx accounts, each with the numbers added to it. Requires\n`carrier_accounts:read`.\n","href":"/api-reference/carrier-accounts/list"},{"title":"Connect a Telnyx Account","openapi":"POST /carrier-accounts","href":"/api-reference/carrier-accounts/create"},{"title":"Get Carrier Account","openapi":"GET /carrier-accounts/{id}","description":"Requires `carrier_accounts:read`. The account's `webhook_url` carries a secret,\nso it is left out unless you ask for it with `?include=webhook_url`, which needs\n`carrier_accounts:manage`.\n","href":"/api-reference/carrier-accounts/get"},{"title":"Update Carrier Account","openapi":"PATCH /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/update"},{"title":"Disconnect Carrier Account","openapi":"DELETE /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/delete"},{"title":"Choose the Call Control App","openapi":"POST /carrier-accounts/{id}/connection","href":"/api-reference/carrier-accounts/connection"},{"title":"Test Carrier Account","openapi":"POST /carrier-accounts/{id}/test","href":"/api-reference/carrier-accounts/test"},{"title":"Turn a Paused Account Back On","openapi":"POST /carrier-accounts/{id}/reactivate","href":"/api-reference/carrier-accounts/reactivate"},{"title":"Sync Numbers","openapi":"POST /carrier-accounts/{id}/sync","href":"/api-reference/carrier-accounts/sync"},{"title":"Add Number to Carrier Account","openapi":"POST /carrier-accounts/{id}/numbers","href":"/api-reference/carrier-accounts/add-number"},{"title":"Answer a Number's Calls in Yappr","openapi":"POST /carrier-accounts/{id}/numbers/{phone_number_id}/configure","href":"/api-reference/carrier-accounts/configure-number"},{"title":"Stop Answering a Number's Calls in Yappr","openapi":"DELETE /carrier-accounts/{id}/numbers/{phone_number_id}/configure","href":"/api-reference/carrier-accounts/restore-number"},{"title":"Remove Number from This Workspace","openapi":"DELETE /carrier-accounts/{id}/numbers/{phone_number_id}","href":"/api-reference/carrier-accounts/remove-number"}]},{"group":"Calls","pages":[{"title":"Create Outbound Call","openapi":"POST /calls","href":"/api-reference/calls/create"},{"title":"List Calls","openapi":"GET /calls","href":"/api-reference/calls/list"},{"title":"Export Calls","openapi":"GET /calls/export","href":"/api-reference/calls/export"},{"title":"Get Call","openapi":"GET /calls/{id}","href":"/api-reference/calls/get"},{"title":"End an Unopened Browser Session","openapi":"POST /calls/{id}/end","href":"/api-reference/calls/end"},{"title":"Get Call Recording","openapi":"GET /calls/{id}/recording","href":"/api-reference/calls/recording"},{"title":"Revoke Recording Links","openapi":"POST /calls/{id}/recording/revoke","href":"/api-reference/calls/recording-revoke"},{"title":"Create Web Call Request","openapi":"POST /call-requests","href":"/api-reference/calls/request-create"},{"title":"Get Call Request","openapi":"GET /call-requests/{id}","href":"/api-reference/calls/request-get"},{"title":"Start Web Call Request","openapi":"POST /call-requests/{id}/start","href":"/api-reference/calls/request-start"},{"title":"Cancel Call Request","openapi":"POST /call-requests/{id}/cancel","href":"/api-reference/calls/request-cancel"}]},{"group":"Browser calls","pages":[{"title":"TURN Credentials","openapi":"POST /turn-credentials","href":"/api-reference/web-call/turn-credentials"},{"title":"Connect a Browser Call","openapi":"POST /web-call","href":"/api-reference/web-call/offer"},{"title":"Cancel a Browser Session","openapi":"POST /web-call/cancel","href":"/api-reference/web-call/cancel"},{"title":"Create Browser Call Request","openapi":"POST /web-call/call-requests","href":"/api-reference/web-call/request-create"},{"title":"Poll Browser Call Request","openapi":"GET /web-call/call-requests/{id}","href":"/api-reference/web-call/request-get"},{"title":"Start Browser Call Request","openapi":"POST /web-call/call-requests/{id}/start","href":"/api-reference/web-call/request-start"},{"title":"Cancel Browser Call Request","openapi":"POST /web-call/call-requests/{id}/cancel","href":"/api-reference/web-call/request-cancel"}]},{"group":"Do Not Call","pages":[{"title":"List DNC entries","openapi":"GET /do-not-call","href":"/api-reference/do-not-call/list"},{"title":"Add to DNC list","openapi":"POST /do-not-call","href":"/api-reference/do-not-call/add"},{"title":"Get DNC entry","openapi":"GET /do-not-call/{id}","href":"/api-reference/do-not-call/get"},{"title":"Update DNC entry","openapi":"PATCH /do-not-call/{id}","href":"/api-reference/do-not-call/update"},{"title":"Remove from DNC list","openapi":"DELETE /do-not-call/{id}","href":"/api-reference/do-not-call/delete"}]},{"group":"API Keys","pages":[{"title":"List API keys","openapi":"GET /api-keys","href":"/api-reference/api-keys/list"},{"title":"Issue an API key","openapi":"POST /api-keys","href":"/api-reference/api-keys/create"},{"title":"Get an API key","openapi":"GET /api-keys/{id}","href":"/api-reference/api-keys/get"},{"title":"Revoke an API key","openapi":"DELETE /api-keys/{id}","href":"/api-reference/api-keys/delete"}]},{"group":"Call Windows","pages":[{"title":"Get call time windows","openapi":"GET /call-windows","href":"/api-reference/call-windows/get"},{"title":"Update call time windows","openapi":"PUT /call-windows","href":"/api-reference/call-windows/update"}]},{"group":"Dispositions","pages":[{"title":"List Dispositions","openapi":"GET /dispositions","href":"/api-reference/dispositions/list"},{"title":"Create Disposition","openapi":"POST /dispositions","href":"/api-reference/dispositions/create"},{"title":"Get Disposition","openapi":"GET /dispositions/{id}","href":"/api-reference/dispositions/get"},{"title":"Update Disposition","openapi":"PATCH /dispositions/{id}","href":"/api-reference/dispositions/update"},{"title":"Delete Disposition","openapi":"DELETE /dispositions/{id}","href":"/api-reference/dispositions/delete"}]},{"group":"Leads","pages":[{"title":"List Leads","openapi":"GET /leads","href":"/api-reference/leads/list"},{"title":"Create Lead","openapi":"POST /leads","href":"/api-reference/leads/create"},{"title":"Get Lead","openapi":"GET /leads/{id}","href":"/api-reference/leads/get"},{"title":"Update Lead","openapi":"PATCH /leads/{id}","href":"/api-reference/leads/update"},{"title":"Delete Lead","openapi":"DELETE /leads/{id}","href":"/api-reference/leads/delete"}]},{"group":"Lead Tags","pages":[{"title":"List Lead Tags","openapi":"GET /lead-tags","href":"/api-reference/lead-tags/list"},{"title":"Create Lead Tag","openapi":"POST /lead-tags","href":"/api-reference/lead-tags/create"},{"title":"Get Lead Tag","openapi":"GET /lead-tags/{id}","href":"/api-reference/lead-tags/get"},{"title":"Update Lead Tag","openapi":"PATCH /lead-tags/{id}","href":"/api-reference/lead-tags/update"},{"title":"Delete Lead Tag","openapi":"DELETE /lead-tags/{id}","href":"/api-reference/lead-tags/delete"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","openapi":"GET /campaigns","href":"/api-reference/campaigns/list"},{"title":"Suggested campaign settings","openapi":"GET /campaigns/defaults","href":"/api-reference/campaigns/defaults"},{"title":"Create a campaign","openapi":"POST /campaigns","href":"/api-reference/campaigns/create"},{"title":"Get a campaign","openapi":"GET /campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"Update a campaign","openapi":"PATCH /campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Archive a campaign","openapi":"DELETE /campaigns/{id}","href":"/api-reference/campaigns/archive"},{"title":"Restore a campaign","openapi":"POST /campaigns/{id}/restore","href":"/api-reference/campaigns/restore"},{"title":"Launch a campaign","openapi":"POST /campaigns/{id}/launch","href":"/api-reference/campaigns/launch"},{"title":"Pause a campaign","openapi":"POST /campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"Resume a campaign","openapi":"POST /campaigns/{id}/resume","href":"/api-reference/campaigns/resume"},{"title":"Stop a campaign","openapi":"POST /campaigns/{id}/stop","href":"/api-reference/campaigns/stop"},{"title":"Campaign stats","openapi":"GET /campaigns/{id}/stats","href":"/api-reference/campaigns/stats"},{"group":"Contacts","pages":[{"title":"Enroll contacts","openapi":"POST /campaigns/{id}/leads","href":"/api-reference/campaigns/enroll"},{"title":"List enrolled contacts","openapi":"GET /campaigns/{id}/leads","href":"/api-reference/campaigns/list-leads"},{"title":"Exclude a contact","openapi":"DELETE /campaigns/{id}/leads/{lead_id}","href":"/api-reference/campaigns/exclude"}]}]},{"group":"Shared Links","pages":[{"title":"List Shared Links","openapi":"GET /shared-links","href":"/api-reference/shared-links/list"},{"title":"Create Shared Link","openapi":"POST /shared-links","href":"/api-reference/shared-links/create"},{"title":"Get Shared Link","openapi":"GET /shared-links/{id}","href":"/api-reference/shared-links/get"},{"title":"Revoke Shared Link","openapi":"PATCH /shared-links/{id}","href":"/api-reference/shared-links/update"}]},{"group":"Affiliates","pages":[{"title":"Affiliate stats","openapi":"GET /affiliates/stats","href":"/api-reference/affiliates/stats"},{"title":"List sub-affiliates","openapi":"GET /affiliates/downline","href":"/api-reference/affiliates/downline"}]},{"group":"Agent Eval","pages":[{"group":"Personas","pages":[{"title":"List Personas","openapi":"GET /agent-eval/personas","href":"/api-reference/agent-eval/personas/list"},{"title":"Create Persona","openapi":"POST /agent-eval/personas","href":"/api-reference/agent-eval/personas/create"},{"title":"Get Persona","openapi":"GET /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/get"},{"title":"Update Persona","openapi":"PATCH /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/update"},{"title":"Delete Persona","openapi":"DELETE /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/delete"}]},{"group":"Cases","pages":[{"title":"List Cases","openapi":"GET /agent-eval/cases","href":"/api-reference/agent-eval/cases/list"},{"title":"Create Case","openapi":"POST /agent-eval/cases","href":"/api-reference/agent-eval/cases/create"},{"title":"Get Case","openapi":"GET /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/get"},{"title":"Update Case","openapi":"PATCH /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/update"},{"title":"Delete Case","openapi":"DELETE /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/delete"},{"title":"Run a Case","openapi":"POST /agent-eval/cases/{case_id}/run","href":"/api-reference/agent-eval/cases/run"}]},{"group":"Suites","pages":[{"title":"List Suites","openapi":"GET /agent-eval/suites","href":"/api-reference/agent-eval/suites/list"},{"title":"Create Suite","openapi":"POST /agent-eval/suites","href":"/api-reference/agent-eval/suites/create"},{"title":"Get Suite","openapi":"GET /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/get"},{"title":"Update Suite","openapi":"PATCH /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/update"},{"title":"Delete Suite","openapi":"DELETE /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/delete"},{"title":"Run a Suite","openapi":"POST /agent-eval/suites/{id}/run","href":"/api-reference/agent-eval/suites/run"},{"title":"List Suite Executions","openapi":"GET /agent-eval/suites/{id}/runs","href":"/api-reference/agent-eval/suites/runs/list"},{"title":"Get Suite Execution","openapi":"GET /agent-eval/suites/{id}/runs/{suite_run_id}","href":"/api-reference/agent-eval/suites/runs/get"}]},{"group":"Runs","pages":[{"title":"List Runs","openapi":"GET /agent-eval/runs","href":"/api-reference/agent-eval/runs/list"},{"title":"Get Run","openapi":"GET /agent-eval/runs/{id}","href":"/api-reference/agent-eval/runs/get"},{"title":"Get Run Turns","openapi":"GET /agent-eval/runs/{id}/turns","href":"/api-reference/agent-eval/runs/turns"},{"title":"Get Run Evaluation","openapi":"GET /agent-eval/runs/{id}/evaluation","href":"/api-reference/agent-eval/runs/evaluation"},{"title":"Cancel a Run","openapi":"POST /agent-eval/runs/{id}/cancel","href":"/api-reference/agent-eval/runs/cancel"}]}]}]}]},"basePath":"","title":"Connect a Telnyx Account - Yappr","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}