Username-and-password trunks only. Issues the trunk a new SIP password and
returns it once, in sip_password. The username stays the same. Send
no body (or an empty JSON object): Yappr issues the password, so it can’t
be chosen.
The old password stops working within seconds, and calls already in
progress are not dropped. Enter the new password in your phone system
right away. If it registers, it learns of the change only at its next
registration refresh, which fails until the new password is in.
Requires sip_endpoints:manage; in the dashboard, only workspace owners
and admins. Limit: 10 attempts per trunk in an hour that runs from the
first attempt. The limit counts attempts, not new passwords issued, and
rotations_left says how many are left. The trunk’s
password_rotated_at (and updated_at) say when the password changed.
Issues a username-and-password trunk a new SIP password and returns it once,
in sip_password. The username stays the same. Use it when a password was lost or
may have leaked. Send no body (or an empty JSON object): Yappr issues the password,
so it can’t be chosen.Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins
can issue a new password. Limit: 10 attempts per trunk in an hour that runs from
the first attempt. The limit counts attempts, not new passwords issued;
rotations_left in the answer says how many are left this hour (null if Yappr
could not read it, which never affects the new password). The trunk’s
password_rotated_at is when the password last changed, and updated_at moves
with it; every later read of the trunk shows it.
curl -X POST https://api.goyappr.com/sip-endpoints/8d0c5f4e-2b1a-4c3d-9e8f-7a6b5c4d3e2f/rotate-password \ -H "Authorization: Bearer ypr_live_..."
The new password is in this response only. Store it now: neither the API nor the
dashboard can show it again.
What happens to calls
The old password stops working within seconds. Your phone system’s next call
with it is refused with SIP 403 Forbidden, so enter the new password right away.
Calls in progress are not dropped.
A phone system that registers learns of the change only at its next
registration refresh, and that refresh fails until the new password is in.
To switch with no gap at all, create a second
trunk on the same agent, move your phone system to it, then
delete the old trunk.A SIP address endpoint has no password. Its address can’t be changed either: create
a new endpoint, point your phone system at its sip_uri, then delete the old one.
Errors
Status
code
Meaning
400
SIP_ENDPOINT_REQUEST_INVALID
The body has a field, or is JSON that is not an object, such as a list: this call takes no body. The password did not change. A body that is not JSON at all is ignored, and the password is changed as if you had sent none.
400
SIP_ENDPOINT_QUERY_INVALID
The request has a query parameter: this call takes none. The password did not change.
403
INSUFFICIENT_SCOPE
The API key does not hold sip_endpoints:manage, and the message names it. The password did not change.
403
FORBIDDEN_ROLE
Dashboard: only workspace owners and admins can issue a new password.
404
SIP_ENDPOINT_NOT_FOUND
No SIP endpoint with this id in this workspace.
404
RESOURCE_ID_INVALID
The id in the path is not an id at all. Use an id exactly as the list or the create returned it.
409
SIP_ENDPOINT_NOT_CREDENTIALS
This is a SIP address endpoint, which has no password.
409
NOT_SUPPORTED_FOR_MODE
This is an extension endpoint (register): its password is your phone system’s. Send the new one as register.password with update.
409
SIP_TRUNK_NOT_PROVISIONED
This trunk’s username and password were never finished, or are no longer set up at Yappr’s carrier. Delete it and create a new one.
429
RATE_LIMITED
This trunk already had 10 attempts at a new password in the current hour, which runs from its first attempt. The limit counts attempts, so an attempt that failed can count too. The password did not change; try again once the hour is up.
500
INTERNAL_ERROR
Yappr could not load the trunk. The password did not change; try again.
502
SIP_TRUNK_PROVISIONING_FAILED
The new password could not be set or confirmed at Yappr’s carrier. error says whether the current password still works. Try again in a minute: the password from the next successful answer is the one that works.
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).
Path Parameters
id
string<uuid>
required
Response
The trunk, with its new password in sip_password. Store it now; it is never shown again.
data
object
A SIP endpoint lets your own phone system (a PBX, a contact-center
platform or a SIP provider) send calls to a Yappr agent, without a Yappr
phone number. It comes in three kinds, set by auth_mode when you create it:
credentials: username and password. Yappr issues a SIP username
and password. Your phone system sends calls to sip.telnyx.eu or
sip.telnyx.com with them, dialling any number or extension, and the
endpoint's agent answers every call. A call with a wrong username or
password is refused before it reaches Yappr. The password is returned
only once: by create and by
rotate-password. Any agent
of the workspace can answer, including one that runs a workflow: see
inbound_agent_id.
uri: SIP address only. Your phone system dials the endpoint's
sip_uri, with no username or password. It works with any agent,
including one that runs a workflow. The address is the secret:
anyone who has it can call the agent, on your workspace's minutes, so
treat it like an API key. Calls are not filtered by source address. To
replace it, create a new endpoint, point your phone system at it, then
delete the old one; calls to a deleted or switched-off endpoint are
refused before they are answered.
register: register as an extension. For a hosted phone system that
only gives you an extension account (server, username, password).
Yappr registers to it like a softphone and the agent answers the calls
the system routes to that extension. Yappr does not keep or return the
extension's password. You send it to create the endpoint and again
whenever it changes on your phone system, because Yappr's carrier holds
it to keep the extension registered and to place transfers.
The register object carries the settings and the registration
status. See Register as an extension.
sip_username and sip_connection appear on username-and-password
trunks only, max_concurrent_calls on trunks and extension endpoints,
register on extension endpoints only, and allowed_source_ips on SIP
address endpoints only. List, get and update never return a password. A SIP
address endpoint's slug and sip_uri are its credential, and a trunk's
sip_username is half of its, so list and get return them only to a key
that also holds sip_endpoints:manage; with sip_endpoints:read alone
(the Read-only preset) they are null. The
setup guide covers the phone system side.
Show child attributes
rotations_left
integer | null
How many more attempts at a new password this trunk has in
the current hour, which runs from its first attempt. null
when it could not be read; the new password is valid either way.
Required range: 0 <= x <= 10
Example:
9
{"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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/sip-endpoints/rotate-password","slug":"/api-reference/sip-endpoints/rotate-password","pageMetadata":{"title":"Rotate SIP Endpoint Password","openapi":"POST /sip-endpoints/{id}/rotate-password","description":"Username-and-password trunks only. Issues the trunk a new SIP password and\nreturns it **once**, in `sip_password`. The username stays the same. Send\nno body (or an empty JSON object): Yappr issues the password, so it can't\nbe chosen.\n\nThe old password stops working within seconds, and calls already in\nprogress are not dropped. Enter the new password in your phone system\nright away. If it registers, it learns of the change only at its next\nregistration refresh, which fails until the new password is in.\n\nRequires `sip_endpoints:manage`; in the dashboard, only workspace owners\nand admins. Limit: 10 attempts per trunk in an hour that runs from the\nfirst attempt. The limit counts attempts, not new passwords issued, and\n`rotations_left` says how many are left. The trunk's\n`password_rotated_at` (and `updated_at`) say when the password changed.\n","href":"/api-reference/sip-endpoints/rotate-password"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Username-and-password trunks only. Issues the trunk a new SIP password and\\nreturns it \", _jsx(_components.strong, {\n children: \"once\"\n }), \", in \", _jsx(_components.code, {\n children: \"sip_password\"\n }), \". The username stays the same. Send\\nno body (or an empty JSON object): Yappr issues the password, so it can’t\\nbe chosen.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The old password stops working within seconds, and calls already in\\nprogress are not dropped. Enter the new password in your phone system\\nright away. If it registers, it learns of the change only at its next\\nregistration refresh, which fails until the new password is in.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires \", _jsx(_components.code, {\n children: \"sip_endpoints:manage\"\n }), \"; in the dashboard, only workspace owners\\nand admins. Limit: 10 attempts per trunk in an hour that runs from the\\nfirst attempt. The limit counts attempts, not new passwords issued, and\\n\", _jsx(_components.code, {\n children: \"rotations_left\"\n }), \" says how many are left. The trunk’s\\n\", _jsx(_components.code, {\n children: \"password_rotated_at\"\n }), \" (and \", _jsx(_components.code, {\n children: \"updated_at\"\n }), \") say when the password changed.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Issues a username-and-password trunk a new SIP password and returns it `,_jsx(_components.strong,{children:`once`}),`,\nin `,_jsx(_components.code,{children:`sip_password`}),`. The username stays the same. Use it when a password was lost or\nmay have leaked. Send no body (or an empty JSON object): Yappr issues the password,\nso it can’t be chosen.`]}),`\n`,_jsxs(_components.p,{children:[`Requires `,_jsx(_components.code,{children:`sip_endpoints:manage`}),`; in the dashboard, only workspace owners and admins\ncan issue a new password. Limit: 10 attempts per trunk in an hour that runs from\nthe first attempt. The limit counts attempts, not new passwords issued;\n`,_jsx(_components.code,{children:`rotations_left`}),` in the answer says how many are left this hour (`,_jsx(_components.code,{children:`null`}),` if Yappr\ncould not read it, which never affects the new password). The trunk’s\n`,_jsx(_components.code,{children:`password_rotated_at`}),` is when the password last changed, and `,_jsx(_components.code,{children:`updated_at`}),` moves\nwith it; every later read of the trunk shows it.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,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/sip-endpoints/8d0c5f4e-2b1a-4c3d-9e8f-7a6b5c4d3e2f/rotate-password`}),_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_...\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`29`,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:`29`,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:`\"8d0c5f4e-2b1a-4c3d-9e8f-7a6b5c4d3e2f\"`}),_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 office PBX\"`}),_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:` \"auth_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"credentials\"`}),_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:` \"slug\"`}),_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:` \"sip_uri\"`}),_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:` \"sip_username\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"yp4k7d2m9x1q8w3z\"`}),_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:` \"max_concurrent_calls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_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:` \"sip_connection\"`}),_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:` \"server\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sip.telnyx.com\"`}),_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:` \"alternate_servers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sip.telnyx.eu\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sip.telnyx.me\"`}),_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:` \"transports\"`}),_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:`\"protocol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"port\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5061`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"recommended\"`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"protocol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tcp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"port\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5060`}),_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:`\"protocol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"udp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"port\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5060`}),_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:` \"registration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"optional\"`})]}),`\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:` \"inbound_agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3f1c2b9e-7a4d-4e21-9c55-1b2d3e4f5a6b\"`}),_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:` \"is_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:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_call_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T14:05:12Z\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T12:00:00Z\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-02T08:00:00Z\"`}),_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:` \"password_rotated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-02T08:00:00Z\"`}),_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:` \"sip_password\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"N3wExampleOnlyNotARealPassword99\"`})]}),`\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:` \"rotations_left\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The new password is in this response only. Store it now: neither the API nor the\ndashboard can show it again.`})}),`\n`,_jsx(Heading,{level:`2`,id:`what-happens-to-calls`,children:`What happens to calls`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The old password stops working within seconds.`}),` Your phone system’s next call\nwith it is refused with SIP `,_jsx(_components.code,{children:`403 Forbidden`}),`, so enter the new password right away.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Calls in progress are not dropped.`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A phone system that registers`}),` learns of the change only at its next\nregistration refresh, and that refresh fails until the new password is in.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To switch with no gap at all, `,_jsx(_components.a,{href:`/api-reference/sip-endpoints/create`,children:`create`}),` a second\ntrunk on the same agent, move your phone system to it, then\n`,_jsx(_components.a,{href:`/api-reference/sip-endpoints/delete`,children:`delete`}),` the old trunk.`]}),`\n`,_jsxs(_components.p,{children:[`A SIP address endpoint has no password. Its address can’t be changed either: create\na new endpoint, point your phone system at its `,_jsx(_components.code,{children:`sip_uri`}),`, then delete the old one.`]}),`\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`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_ENDPOINT_REQUEST_INVALID`})}),_jsx(_components.td,{children:`The body has a field, or is JSON that is not an object, such as a list: this call takes no body. The password did not change. A body that is not JSON at all is ignored, and the password is changed as if you had sent none.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_ENDPOINT_QUERY_INVALID`})}),_jsx(_components.td,{children:`The request has a query parameter: this call takes none. The password did not change.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INSUFFICIENT_SCOPE`})}),_jsxs(_components.td,{children:[`The API key does not hold `,_jsx(_components.code,{children:`sip_endpoints:manage`}),`, and the message names it. The password did not change.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN_ROLE`})}),_jsx(_components.td,{children:`Dashboard: only workspace owners and admins can issue a new password.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_ENDPOINT_NOT_FOUND`})}),_jsx(_components.td,{children:`No SIP endpoint with this id in this workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`RESOURCE_ID_INVALID`})}),_jsxs(_components.td,{children:[`The id in the path is not an id at all. Use an `,_jsx(_components.code,{children:`id`}),` exactly as the list or the create returned it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_ENDPOINT_NOT_CREDENTIALS`})}),_jsx(_components.td,{children:`This is a SIP address endpoint, which has no password.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_SUPPORTED_FOR_MODE`})}),_jsxs(_components.td,{children:[`This is an extension endpoint (`,_jsx(_components.code,{children:`register`}),`): its password is your phone system’s. Send the new one as `,_jsx(_components.code,{children:`register.password`}),` with `,_jsx(_components.a,{href:`/api-reference/sip-endpoints/update`,children:`update`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_TRUNK_NOT_PROVISIONED`})}),_jsx(_components.td,{children:`This trunk’s username and password were never finished, or are no longer set up at Yappr’s carrier. Delete it and create a new one.`})]}),_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:`This trunk already had 10 attempts at a new password in the current hour, which runs from its first attempt. The limit counts attempts, so an attempt that failed can count too. The password did not change; try again once the hour is up.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_ERROR`})}),_jsx(_components.td,{children:`Yappr could not load the trunk. The password did not change; try again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`502`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_TRUNK_PROVISIONING_FAILED`})}),_jsxs(_components.td,{children:[`The new password could not be set or confirmed at Yappr’s carrier. `,_jsx(_components.code,{children:`error`}),` says whether the current password still works. Try again in a minute: the password from the next successful answer is the one that works.`]})]})]})]})]})}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":"Rotate SIP Endpoint Password","openapi":"POST /sip-endpoints/{id}/rotate-password","description":"Username-and-password trunks only. Issues the trunk a new SIP password and\nreturns it **once**, in `sip_password`. The username stays the same. Send\nno body (or an empty JSON object): Yappr issues the password, so it can't\nbe chosen.\n\nThe old password stops working within seconds, and calls already in\nprogress are not dropped. Enter the new password in your phone system\nright away. If it registers, it learns of the change only at its next\nregistration refresh, which fails until the new password is in.\n\nRequires `sip_endpoints:manage`; in the dashboard, only workspace owners\nand admins. Limit: 10 attempts per trunk in an hour that runs from the\nfirst attempt. The limit counts attempts, not new passwords issued, and\n`rotations_left` says how many are left. The trunk's\n`password_rotated_at` (and `updated_at`) say when the password changed.\n","href":"/api-reference/sip-endpoints/rotate-password"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What happens to calls","slug":"what-happens-to-calls","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Issue a new SIP password","description":"Username-and-password trunks only. Issues the trunk a new SIP password and\nreturns it **once**, in `sip_password`. The username stays the same. Send\nno body (or an empty JSON object): Yappr issues the password, so it can't\nbe chosen.\n\nThe old password stops working within seconds, and calls already in\nprogress are not dropped. Enter the new password in your phone system\nright away. If it registers, it learns of the change only at its next\nregistration refresh, which fails until the new password is in.\n\nRequires `sip_endpoints:manage`; in the dashboard, only workspace owners\nand admins. Limit: 10 attempts per trunk in an hour that runs from the\nfirst attempt. The limit counts attempts, not new passwords issued, and\n`rotations_left` says how many are left. The trunk's\n`password_rotated_at` (and `updated_at`) say when the password changed.\n","operationId":"rotateSipEndpointPassword","tags":["SIP Endpoints"],"parameters":["be890674-e8e3-4263-9178-ed205b068d42"],"responses":{"200":"ea5a6db1-f68e-4c83-b6f0-72926d5e5b24","400":"aea82a20-ecc7-4be9-81dc-4967ff12951f","401":"e6973f4c-d6c2-45b7-8be1-0a476eead90c","403":"247f980c-d76b-468b-a25b-d5cc632606cd","404":"32bac549-e74d-49f6-8157-2855fc3d98b2","409":"ec934bbc-b3db-4809-82db-3d982e314af7","429":"5f7046e4-7786-48a8-944d-4ee83372d814","500":"57a922a9-b859-4eb1-b48b-6dcf60e759e1","502":"a7d98d82-4848-4e75-8644-05d57196a4c7"},"method":"post","type":"path","servers":["dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d"],"security":["2767439e-f0c6-4cd4-a450-ba11a6ab8311"],"path":"/sip-endpoints/{id}/rotate-password","baseUrlOptions":["https://api.goyappr.com"],"title":"Issue a new SIP password","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"be890674-e8e3-4263-9178-ed205b068d42":{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"ea5a6db1-f68e-4c83-b6f0-72926d5e5b24":{"description":"The trunk, with its new password in `sip_password`. Store it now; it is never shown again.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"A SIP endpoint lets your own phone system (a PBX, a contact-center\nplatform or a SIP provider) send calls to a Yappr agent, without a Yappr\nphone number. It comes in three kinds, set by `auth_mode` when you create it:\n\n- `credentials`: **username and password**. Yappr issues a SIP username\n and password. Your phone system sends calls to `sip.telnyx.eu` or\n `sip.telnyx.com` with them, dialling any number or extension, and the\n endpoint's agent answers every call. A call with a wrong username or\n password is refused before it reaches Yappr. The password is returned\n only once: by [create](/api-reference/sip-endpoints/create) and by\n [rotate-password](/api-reference/sip-endpoints/rotate-password). Any agent\n of the workspace can answer, including one that runs a workflow: see\n `inbound_agent_id`.\n- `uri`: **SIP address only**. Your phone system dials the endpoint's\n `sip_uri`, with no username or password. It works with any agent,\n including one that runs a workflow. The address is the secret:\n anyone who has it can call the agent, on your workspace's minutes, so\n treat it like an API key. Calls are not filtered by source address. To\n replace it, create a new endpoint, point your phone system at it, then\n delete the old one; calls to a deleted or switched-off endpoint are\n refused before they are answered.\n- `register`: **register as an extension**. For a hosted phone system that\n only gives you an extension account (server, username, password).\n Yappr registers to it like a softphone and the agent answers the calls\n the system routes to that extension. Yappr does not keep or return the\n extension's password. You send it to create the endpoint and again\n whenever it changes on your phone system, because Yappr's carrier holds\n it to keep the extension registered and to place transfers.\n The `register` object carries the settings and the registration\n `status`. See [Register as an extension](/concepts/sip-trunks#register-as-an-extension).\n\n`sip_username` and `sip_connection` appear on username-and-password\ntrunks only, `max_concurrent_calls` on trunks and extension endpoints,\n`register` on extension endpoints only, and `allowed_source_ips` on SIP\naddress endpoints only. List, get and update never return a password. A SIP\naddress endpoint's `slug` and `sip_uri` are its credential, and a trunk's\n`sip_username` is half of its, so list and get return them only to a key\nthat also holds `sip_endpoints:manage`; with `sip_endpoints:read` alone\n(the Read-only preset) they are `null`. The\n[setup guide](/concepts/sip-trunks) covers the phone system side.\n","required":["sip_password","id","name","auth_mode","slug","sip_uri","inbound_agent_id","is_active","last_call_at","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Main office PBX","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"auth_mode":{"type":"string","enum":["credentials","uri","register"],"description":"`credentials`: a username-and-password trunk. `uri`: a SIP address\nendpoint. `register`: an extension on your phone system that Yappr\nregisters to. Endpoints created before username-and-password trunks\nexisted are `uri`. It cannot be changed after the endpoint is created.\n","example":"credentials","isRequired":true,"uniqueKey":"data.auth_mode","typeLabel":"enum\u003cstring>"},"slug":{"oneOf":[{"type":"string","description":"SIP address endpoints: the user part of `sip_uri`, made of a readable\nprefix (the `slug` you sent, or one derived from `name`), a hyphen and\n24 random characters, about 120 bits that cannot be guessed. `null` on\nusername-and-password trunks, and on list and get for a key without\n`sip_endpoints:manage`.\n","example":"after-hours-bz3r3mtypuwuw8tpdw3x392s","isRequired":true,"uniqueKey":"data.slug.oneOf.0","typeLabel":"string"},{"type":"null","description":"SIP address endpoints: the user part of `sip_uri`, made of a readable\nprefix (the `slug` you sent, or one derived from `name`), a hyphen and\n24 random characters, about 120 bits that cannot be guessed. `null` on\nusername-and-password trunks, and on list and get for a key without\n`sip_endpoints:manage`.\n","example":"after-hours-bz3r3mtypuwuw8tpdw3x392s","isRequired":true,"uniqueKey":"data.slug.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.slug","typeLabel":"string | null"},"sip_uri":{"oneOf":[{"type":"string","description":"SIP address endpoints: the full address your phone system dials, over\nUDP or TCP (port 5060) or TLS (port 5061). Over UDP or TCP it crosses\nthe network in clear text, so use TLS where your phone system supports\nit. No username and no password: anyone who has it can call the agent,\nso treat it like an API key. `null` on username-and-password trunks, and\non list and get for a key without `sip_endpoints:manage`.\n","example":"sip:after-hours-bz3r3mtypuwuw8tpdw3x392s@yappr-byoc.sip.telnyx.com","isRequired":true,"uniqueKey":"data.sip_uri.oneOf.0","typeLabel":"string"},{"type":"null","description":"SIP address endpoints: the full address your phone system dials, over\nUDP or TCP (port 5060) or TLS (port 5061). Over UDP or TCP it crosses\nthe network in clear text, so use TLS where your phone system supports\nit. No username and no password: anyone who has it can call the agent,\nso treat it like an API key. `null` on username-and-password trunks, and\non list and get for a key without `sip_endpoints:manage`.\n","example":"sip:after-hours-bz3r3mtypuwuw8tpdw3x392s@yappr-byoc.sip.telnyx.com","isRequired":true,"uniqueKey":"data.sip_uri.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sip_uri","typeLabel":"string | null"},"inbound_agent_id":{"type":"string","format":"uuid","description":"The agent that answers every call on this endpoint. Any agent of\nthe workspace can answer, including one that runs a workflow, on\neither kind of endpoint. Publish the workflow first: calls to an agent\nthat is switched off, or whose workflow has never been published, are\nrefused (on a trunk with SIP `603 Decline`).\n","isRequired":true,"uniqueKey":"data.inbound_agent_id","typeLabel":"string\u003cuuid>"},"is_active":{"type":"boolean","description":"`false` switches the endpoint off: new calls are refused before they\nare answered until you switch it back on (a trunk or SIP address\nendpoint answers SIP `603 Decline`; on an extension endpoint `register.status`\nreads `disabled` and Yappr refuses new calls, but your phone system is not\ntold). Calls in progress are not affected.\n","isRequired":true,"uniqueKey":"data.is_active","typeLabel":"boolean"},"last_call_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.last_call_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.last_call_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.last_call_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the endpoint last changed, a new password included.","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"sip_password":{"type":"string","description":"The trunk's new SIP password, 32 letters and digits.\nStore it now: neither the API nor the dashboard can\nshow it again. If it is lost, issue a new one.\n","example":"N3wExampleOnlyNotARealPassword99","isRequired":true,"uniqueKey":"data.sip_password","typeLabel":"string"},"sip_username":{"oneOf":[{"type":"string","description":"Username-and-password trunks only. The SIP username your phone system\nauthenticates with: `yp` followed by 14 lowercase letters and digits.\nIt never changes; only the password can be replaced. `null` on list\nand get for a key without `sip_endpoints:manage`, and on a trunk whose\nsetup never finished (switched off; delete it and create a new one).\n","example":"yp4k7d2m9x1q8w3z","uniqueKey":"data.sip_username.oneOf.0","typeLabel":"string"},{"type":"null","description":"Username-and-password trunks only. The SIP username your phone system\nauthenticates with: `yp` followed by 14 lowercase letters and digits.\nIt never changes; only the password can be replaced. `null` on list\nand get for a key without `sip_endpoints:manage`, and on a trunk whose\nsetup never finished (switched off; delete it and create a new one).\n","example":"yp4k7d2m9x1q8w3z","uniqueKey":"data.sip_username.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sip_username","typeLabel":"string | null"},"max_concurrent_calls":{"type":"integer","minimum":1,"maximum":8,"description":"Username-and-password trunks and extension endpoints only. The most\ncalls the endpoint takes at once, counting calls ringing and in\nprogress: 1 to 8, 2 unless you changed it. The next call is refused (a trunk\nanswers SIP `486 Busy Here`; an extension endpoint's call is refused\nwithout a specified code).\n","example":5,"uniqueKey":"data.max_concurrent_calls","typeLabel":"integer"},"sip_connection":{"type":"object","description":"Username-and-password trunks only: where and how your phone system sends\nthe trunk's calls. It is the same on every trunk. The\n[setup guide](/concepts/sip-trunks) explains each value.\n","required":["server","alternate_servers","transports","registration"],"properties":{"server":{"type":"string","description":"The SIP server (proxy, registrar) your phone system sends the trunk's\ncalls to, for example in the US. From Israel or Europe,\n`sip.telnyx.eu` (in `alternate_servers`) is closer. If your system\nasks for a realm, the realm is the server name you send to.\n","example":"sip.telnyx.com","isRequired":true,"uniqueKey":"data.sip_connection.server","typeLabel":"string"},"alternate_servers":{"type":"array","items":{"type":"string","uniqueKey":"data.sip_connection.alternate_servers.items.[INDEX]","typeLabel":"string"},"description":"Other servers that take the same username and password: use\n`sip.telnyx.eu` from Israel or Europe, and any other one for a backup\nroute. The realm follows the server you use.\n","example":["sip.telnyx.eu","sip.telnyx.me"],"isRequired":true,"uniqueKey":"data.sip_connection.alternate_servers","typeLabel":"string[]"},"transports":{"type":"array","description":"The transports and ports to send the trunk's calls on. TLS (1.2 or\n1.3) is recommended. Telnyx publishes the same transports and ports\nfor the alternate servers.\n","items":{"type":"object","required":["protocol","port"],"properties":{"protocol":{"type":"string","enum":["tls","tcp","udp"],"isRequired":true,"uniqueKey":"data.sip_connection.transports.items.[INDEX].protocol","typeLabel":"enum\u003cstring>"},"port":{"type":"integer","isRequired":true,"uniqueKey":"data.sip_connection.transports.items.[INDEX].port","typeLabel":"integer"},"recommended":{"type":"boolean","description":"`true` on the transport to prefer. Absent on the others.","uniqueKey":"data.sip_connection.transports.items.[INDEX].recommended","typeLabel":"boolean"}},"uniqueKey":"data.sip_connection.transports.items.[INDEX]","typeLabel":"object"},"example":[{"protocol":"tls","port":5061,"recommended":true},{"protocol":"tcp","port":5060},{"protocol":"udp","port":5060}],"isRequired":true,"uniqueKey":"data.sip_connection.transports","typeLabel":"object[]"},"registration":{"type":"string","enum":["optional"],"description":"`optional`: each call is checked against the username and password, so\nregistering is not what lets a call in. Keep the connection open\nanyway: over TLS or TCP, register the trunk or send keep-alives (SIP\n`OPTIONS`) every 30 seconds or less; over UDP behind NAT or a\nfirewall, send keep-alives every 30 seconds or less even if your\nsystem registers, because a registration is refreshed only every few\nminutes. Otherwise the agent's hang-up may not reach your phone system\n([setup guide](/concepts/sip-trunks#register-or-send-keep-alives)).\n","isRequired":true,"uniqueKey":"data.sip_connection.registration","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.sip_connection","typeLabel":"object"},"register":{"type":"object","description":"Extension endpoints (`auth_mode: \"register\"`) only: the extension Yappr\nregisters as, and how that registration is going. It is absent on the\nother kinds. The extension's password is never returned.\n[Register as an extension](/concepts/sip-trunks#register-as-an-extension)\nexplains what to set up on your phone system.\n","required":["server","username","auth_username","transport","region","pbx_feature_code","pbx_feature_code_hangup_after_secs","status","status_detail","status_checked_at","last_activity_at","last_activity_kind","allow_list"],"properties":{"server":{"type":"string","description":"The registrar of your phone system, as `host` or `host:port`.","example":"sip1.example.net:5060","isRequired":true,"uniqueKey":"data.register.server","typeLabel":"string"},"username":{"type":"string","description":"The extension, as your phone system calls it. It must be unique across\nYappr: two endpoints can't register the same one.\n","example":"101","isRequired":true,"uniqueKey":"data.register.username","typeLabel":"string"},"auth_username":{"oneOf":[{"type":"string","description":"The login user when your phone system uses a different one from the extension. `null` when it is the extension.","isRequired":true,"uniqueKey":"data.register.auth_username.oneOf.0","typeLabel":"string"},{"type":"null","description":"The login user when your phone system uses a different one from the extension. `null` when it is the extension.","isRequired":true,"uniqueKey":"data.register.auth_username.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.auth_username","typeLabel":"string | null"},"transport":{"type":"string","enum":["udp","tcp","tls"],"description":"How Yappr registers. UDP is the transport that was tested end to end;\nTCP and TLS are accepted.\n","isRequired":true,"uniqueKey":"data.register.transport","typeLabel":"enum\u003cstring>"},"region":{"type":"string","enum":["middle_east","europe"],"description":"Which Telnyx region registers and carries the media. It decides the\naddress `allow_list` names: `192.76.120.75` for `middle_east` (observed\nlive) and `192.76.120.72` for `europe` (this address comes from the\ncarrier's documentation and was not observed live; read it from\n`allow_list`).\n","isRequired":true,"uniqueKey":"data.register.region","typeLabel":"enum\u003cstring>"},"pbx_feature_code":{"oneOf":[{"type":"string","description":"Your phone system's in-call transfer code, which every transfer to an extension on this\nendpoint's calls uses, on every agent\n([how it works](/concepts/sip-trunks#hand-the-call-to-your-phone-system-with-its-transfer-code)).\n`null` when none is set: transfers then place a new call through the extension.\n","example":"##","isRequired":true,"uniqueKey":"data.register.pbx_feature_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your phone system's in-call transfer code, which every transfer to an extension on this\nendpoint's calls uses, on every agent\n([how it works](/concepts/sip-trunks#hand-the-call-to-your-phone-system-with-its-transfer-code)).\n`null` when none is set: transfers then place a new call through the extension.\n","example":"##","isRequired":true,"uniqueKey":"data.register.pbx_feature_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.pbx_feature_code","typeLabel":"string | null"},"pbx_feature_code_hangup_after_secs":{"oneOf":[{"type":"integer","description":"Set when the code starts an attended transfer that your phone system completes when\nYappr hangs up: Yappr hangs up this many seconds after the code. `null` when Yappr\nwaits for your phone system to take the call.\n","example":4,"isRequired":true,"uniqueKey":"data.register.pbx_feature_code_hangup_after_secs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Set when the code starts an attended transfer that your phone system completes when\nYappr hangs up: Yappr hangs up this many seconds after the code. `null` when Yappr\nwaits for your phone system to take the call.\n","example":4,"isRequired":true,"uniqueKey":"data.register.pbx_feature_code_hangup_after_secs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.pbx_feature_code_hangup_after_secs","typeLabel":"integer | null"},"status":{"type":"string","enum":["pending","registering","registered","failed","disabled","unknown"],"description":"`pending`: just created or changed, and the carrier is still applying\nit (a few minutes). An endpoint that is switched off and still reads\n`pending` after a failed create never finished its setup: delete it and\ncreate it again. `registering`: the carrier is trying. `registered`:\nyour phone system accepted the registration. `failed`: it did not;\n`status_detail` says why. `disabled`: the endpoint is switched off and Yappr refuses new calls; your phone system is not told.\n`unknown`: Yappr cannot read the state. When `status_detail` is set, the\ncarrier's status could not be read for a while and the state was still\n`pending` or `registering` after the ten minutes a change takes: this does\nnot mean the extension is not working or that calls are stopped. Do not\ntreat it as `failed`; read the endpoint again later, and the first read\nthat succeeds replaces it. While it is unknown for that reason, a call that\nwent through the extension in the last 24 hours, after its settings last\nchanged, is in `last_activity_at`: evidence that a call went through, not a\nregistration. **`registered` does not\nprove the endpoint works end to end**: send a test call, and a test\ntransfer if the agent transfers.\n","example":"registered","isRequired":true,"uniqueKey":"data.register.status","typeLabel":"enum\u003cstring>"},"status_detail":{"oneOf":[{"type":"string","description":"A short plain reason while `status` is `registering`, `failed` or `unknown`, for\nexample \"authentication failed (check the extension and password)\",\n\"your phone system is not reachable\", \"no answer from your phone\nsystem\" or \"extension username already in use\" (the name is\nregistered through Yappr, possibly by an endpoint deleted earlier: a deleted\nextension endpoint can keep its name for hours). On `unknown` it reads\n\"we cannot read the carrier status right now (this does not mean the\nextension is not working)\". `null` otherwise.\n","isRequired":true,"uniqueKey":"data.register.status_detail.oneOf.0","typeLabel":"string"},{"type":"null","description":"A short plain reason while `status` is `registering`, `failed` or `unknown`, for\nexample \"authentication failed (check the extension and password)\",\n\"your phone system is not reachable\", \"no answer from your phone\nsystem\" or \"extension username already in use\" (the name is\nregistered through Yappr, possibly by an endpoint deleted earlier: a deleted\nextension endpoint can keep its name for hours). On `unknown` it reads\n\"we cannot read the carrier status right now (this does not mean the\nextension is not working)\". `null` otherwise.\n","isRequired":true,"uniqueKey":"data.register.status_detail.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.status_detail","typeLabel":"string | null"},"status_checked_at":{"oneOf":[{"type":"string","format":"date-time","description":"When Yappr last asked the carrier for the status. It moves on every\nattempt, including one the carrier did not answer, so on its own it does not\nshow that the status is current: while the carrier cannot be read it is the\ntime of the last attempt, not of the last answer, and a stored `registered`\nkeeps showing a fresh time though no read has succeeded. A read is refreshed\nwhen it is older than 15 seconds; a list of more than 20 extension\nendpoints serves stored values, so check this time.\n","isRequired":true,"uniqueKey":"data.register.status_checked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When Yappr last asked the carrier for the status. It moves on every\nattempt, including one the carrier did not answer, so on its own it does not\nshow that the status is current: while the carrier cannot be read it is the\ntime of the last attempt, not of the last answer, and a stored `registered`\nkeeps showing a fresh time though no read has succeeded. A read is refreshed\nwhen it is older than 15 seconds; a list of more than 20 extension\nendpoints serves stored values, so check this time.\n","isRequired":true,"uniqueKey":"data.register.status_checked_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.status_checked_at","typeLabel":"string\u003cdate-time> | null"},"last_activity_at":{"oneOf":[{"type":"string","format":"date-time","description":"Evidence that a call went through the extension while Yappr cannot read the\ncarrier's status: when the newest such call began, if that was in the last 24\nhours and after the extension's settings last changed (a call before a change\nwent through the old settings). Set only while `status` is `unknown` and\n`status_detail` says the carrier's status cannot be read; `null` in every other\nstate, and when no call qualifies. A call from your phone system counts once it\nreaches Yappr through the extension, answered or not. An outbound call counts\nonly when it was answered: one nobody picked up, or one your phone system\nrefused, is not evidence. It is never a registration: do not read it as\n`registered`, and `status` and `status_detail` are exactly what they would be\nwithout it. Only `GET /sip-endpoints/{id}` and the list fill it: the answers to\ncreate and update carry `null`, so read the endpoint again.\n","example":"2026-11-10T15:25:00Z","isRequired":true,"uniqueKey":"data.register.last_activity_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Evidence that a call went through the extension while Yappr cannot read the\ncarrier's status: when the newest such call began, if that was in the last 24\nhours and after the extension's settings last changed (a call before a change\nwent through the old settings). Set only while `status` is `unknown` and\n`status_detail` says the carrier's status cannot be read; `null` in every other\nstate, and when no call qualifies. A call from your phone system counts once it\nreaches Yappr through the extension, answered or not. An outbound call counts\nonly when it was answered: one nobody picked up, or one your phone system\nrefused, is not evidence. It is never a registration: do not read it as\n`registered`, and `status` and `status_detail` are exactly what they would be\nwithout it. Only `GET /sip-endpoints/{id}` and the list fill it: the answers to\ncreate and update carry `null`, so read the endpoint again.\n","example":"2026-11-10T15:25:00Z","isRequired":true,"uniqueKey":"data.register.last_activity_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.last_activity_at","typeLabel":"string\u003cdate-time> | null"},"last_activity_kind":{"oneOf":[{"type":"string","enum":["inbound_call","outbound_call",null],"description":"What `last_activity_at` is: `inbound_call`, a call from your phone system that\nreached Yappr through the extension, or `outbound_call`, an answered call the\nagent placed out through it. An `outbound_call` shows that outbound calls work;\nit does not confirm that incoming calls arrive. `null` exactly when\n`last_activity_at` is.\n","example":"inbound_call","isRequired":true,"uniqueKey":"data.register.last_activity_kind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["inbound_call","outbound_call",null],"description":"What `last_activity_at` is: `inbound_call`, a call from your phone system that\nreached Yappr through the extension, or `outbound_call`, an answered call the\nagent placed out through it. An `outbound_call` shows that outbound calls work;\nit does not confirm that incoming calls arrive. `null` exactly when\n`last_activity_at` is.\n","example":"inbound_call","isRequired":true,"uniqueKey":"data.register.last_activity_kind.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.last_activity_kind","typeLabel":"enum\u003cstring> | null"},"allow_list":{"type":"object","description":"What to allow on your phone system's firewall for this endpoint.","required":["sip_ip","sip_ports","rtp_ports","note"],"properties":{"sip_ip":{"type":"string","description":"The carrier address of the region that registers and sends the calls: 192.76.120.75 for the Middle East (observed live), 192.76.120.72 for Europe (from the carrier's documentation, not observed live).","example":"192.76.120.75","isRequired":true,"uniqueKey":"data.register.allow_list.sip_ip","typeLabel":"string"},"sip_ports":{"type":"array","items":{"type":"integer","uniqueKey":"data.register.allow_list.sip_ports.items.[INDEX]","typeLabel":"integer"},"example":[5060,5061],"isRequired":true,"uniqueKey":"data.register.allow_list.sip_ports","typeLabel":"integer[]"},"rtp_ports":{"type":"string","description":"The media port range, on the carrier's side.","example":"16384-32768","isRequired":true,"uniqueKey":"data.register.allow_list.rtp_ports","typeLabel":"string"},"note":{"type":"string","example":"allow these on your phone system","isRequired":true,"uniqueKey":"data.register.allow_list.note","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.register.allow_list","typeLabel":"object"},"outbound":{"oneOf":[{"type":"object","description":"Calls OUT through this extension: the agent's outbound calls go to your phone system\nthrough the extension, and your phone system dials the number on your own plan, showing\nthe caller ID it is set to show for the extension\n([how it works](/concepts/sip-trunks#outbound-calls-through-the-extension)). `null` when\noutbound calls were never set up. `caller_number` is listed under `GET /phone-numbers`\nwith `provider: phone_system` and is used like any number.\n","required":["enabled","caller_number","phone_number_id","dial_format","dial_prefix","paused"],"properties":{"enabled":{"type":"boolean","description":"Your switch. Calls go out when it is `true`, `paused` is `null` and the endpoint is\nswitched on.\n","isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.enabled","typeLabel":"boolean"},"caller_number":{"type":"string","example":"+97235550100","description":"The number your phone system shows, in E.164 form.","isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.caller_number","typeLabel":"string"},"phone_number_id":{"type":"string","format":"uuid","description":"The number's id under `GET /phone-numbers`: `from_phone_number_id` for a campaign.","isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.phone_number_id","typeLabel":"string\u003cuuid>"},"dial_format":{"type":"string","enum":["national","e164"],"description":"`national`: the lead is dialled as 05X... (Israeli numbers only). `e164`: with the country code and no plus sign (972...), any country your phone system allows.","isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.dial_format","typeLabel":"enum\u003cstring>"},"dial_prefix":{"oneOf":[{"type":"string","example":"9","description":"The outside-line prefix dialled before the number, or `null`.","isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.dial_prefix.oneOf.0","typeLabel":"string"},{"type":"null","example":"9","description":"The outside-line prefix dialled before the number, or `null`.","isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.dial_prefix.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.dial_prefix","typeLabel":"string | null"},"paused":{"oneOf":[{"type":"object","description":"Set when outbound calls paused on their own after three refusals in a row by your\nphone system; campaigns calling from the number pause with them. Send `enabled: true`\nto turn them back on.\n","properties":{"reason":{"type":"string","enum":["phone_system_refused"],"uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"since":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.0.since.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.0.since.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.0.since","typeLabel":"string\u003cdate-time> | null"},"last_sip_code":{"oneOf":[{"type":"string","example":"403","uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.0.last_sip_code.oneOf.0","typeLabel":"string"},{"type":"null","example":"403","uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.0.last_sip_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.0.last_sip_code","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.0","typeLabel":"object"},{"type":"null","description":"Set when outbound calls paused on their own after three refusals in a row by your\nphone system; campaigns calling from the number pause with them. Send `enabled: true`\nto turn them back on.\n","properties":{"reason":{"type":"string","enum":["phone_system_refused"]},"since":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"last_sip_code":{"oneOf":[{"type":"string","example":"403"},{"type":"null","example":"403"}]}},"isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.paused.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.register.outbound.oneOf.0.paused","typeLabel":"object | null"}},"uniqueKey":"data.register.outbound.oneOf.0","typeLabel":"object"},{"type":"null","description":"Calls OUT through this extension: the agent's outbound calls go to your phone system\nthrough the extension, and your phone system dials the number on your own plan, showing\nthe caller ID it is set to show for the extension\n([how it works](/concepts/sip-trunks#outbound-calls-through-the-extension)). `null` when\noutbound calls were never set up. `caller_number` is listed under `GET /phone-numbers`\nwith `provider: phone_system` and is used like any number.\n","required":["enabled","caller_number","phone_number_id","dial_format","dial_prefix","paused"],"properties":{"enabled":{"type":"boolean","description":"Your switch. Calls go out when it is `true`, `paused` is `null` and the endpoint is\nswitched on.\n"},"caller_number":{"type":"string","example":"+97235550100","description":"The number your phone system shows, in E.164 form."},"phone_number_id":{"type":"string","format":"uuid","description":"The number's id under `GET /phone-numbers`: `from_phone_number_id` for a campaign."},"dial_format":{"type":"string","enum":["national","e164"],"description":"`national`: the lead is dialled as 05X... (Israeli numbers only). `e164`: with the country code and no plus sign (972...), any country your phone system allows."},"dial_prefix":{"oneOf":[{"type":"string","example":"9","description":"The outside-line prefix dialled before the number, or `null`."},{"type":"null","example":"9","description":"The outside-line prefix dialled before the number, or `null`."}]},"paused":{"oneOf":[{"type":"object","description":"Set when outbound calls paused on their own after three refusals in a row by your\nphone system; campaigns calling from the number pause with them. Send `enabled: true`\nto turn them back on.\n","properties":{"reason":{"type":"string","enum":["phone_system_refused"]},"since":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"last_sip_code":{"oneOf":[{"type":"string","example":"403"},{"type":"null","example":"403"}]}}},{"type":"null","description":"Set when outbound calls paused on their own after three refusals in a row by your\nphone system; campaigns calling from the number pause with them. Send `enabled: true`\nto turn them back on.\n","properties":{"reason":{"type":"string","enum":["phone_system_refused"]},"since":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"last_sip_code":{"oneOf":[{"type":"string","example":"403"},{"type":"null","example":"403"}]}}}]}},"uniqueKey":"data.register.outbound.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.register.outbound","typeLabel":"object | null"}},"uniqueKey":"data.register","typeLabel":"object"},"allowed_source_ips":{"oneOf":[{"type":"array","deprecated":true,"description":"SIP address endpoints only. Source addresses recorded with the\nendpoint, for your records. **Calls are not checked against this\nlist**: a call to the address is answered wherever it comes from.\n`null` when none is recorded.\n","items":{"type":"string","example":"203.0.113.0/24","uniqueKey":"data.allowed_source_ips.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.allowed_source_ips.oneOf.0","typeLabel":"string[]"},{"type":"null","deprecated":true,"description":"SIP address endpoints only. Source addresses recorded with the\nendpoint, for your records. **Calls are not checked against this\nlist**: a call to the address is answered wherever it comes from.\n`null` when none is recorded.\n","items":{"type":"string","example":"203.0.113.0/24"},"uniqueKey":"data.allowed_source_ips.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.allowed_source_ips","typeLabel":"string[] | null"},"password_rotated_at":{"oneOf":[{"type":"string","format":"date-time","description":"Username-and-password trunks only (absent on a SIP address endpoint):\nwhen [rotate-password](/api-reference/sip-endpoints/rotate-password)\nlast issued a new password. `null` until the first one.\n","example":null,"uniqueKey":"data.password_rotated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Username-and-password trunks only (absent on a SIP address endpoint):\nwhen [rotate-password](/api-reference/sip-endpoints/rotate-password)\nlast issued a new password. `null` until the first one.\n","example":null,"uniqueKey":"data.password_rotated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.password_rotated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data","typeLabel":"object"},"rotations_left":{"oneOf":[{"type":"integer","minimum":0,"maximum":10,"description":"How many more attempts at a new password this trunk has in\nthe current hour, which runs from its first attempt. `null`\nwhen it could not be read; the new password is valid either way.\n","example":9,"uniqueKey":"rotations_left.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":10,"description":"How many more attempts at a new password this trunk has in\nthe current hour, which runs from its first attempt. `null`\nwhen it could not be read; the new password is valid either way.\n","example":9,"uniqueKey":"rotations_left.oneOf.1","typeLabel":"null"}],"uniqueKey":"rotations_left","typeLabel":"integer | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"Main office PBX","auth_mode":"credentials","slug":"after-hours-bz3r3mtypuwuw8tpdw3x392s","sip_uri":"sip:after-hours-bz3r3mtypuwuw8tpdw3x392s@yappr-byoc.sip.telnyx.com","inbound_agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","is_active":true,"last_call_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","sip_password":"N3wExampleOnlyNotARealPassword99","sip_username":"yp4k7d2m9x1q8w3z","max_concurrent_calls":5,"sip_connection":{"server":"sip.telnyx.com","alternate_servers":["sip.telnyx.eu","sip.telnyx.me"],"transports":[{"protocol":"tls","port":5061,"recommended":true},{"protocol":"tcp","port":5060},{"protocol":"udp","port":5060}],"registration":"optional"},"register":{"server":"sip1.example.net:5060","username":"101","auth_username":"\u003cstring>","transport":"udp","region":"middle_east","pbx_feature_code":"##","pbx_feature_code_hangup_after_secs":4,"status":"registered","status_detail":"\u003cstring>","status_checked_at":"2023-11-07T05:31:56Z","last_activity_at":"2026-11-10T15:25:00Z","last_activity_kind":"inbound_call","allow_list":{"sip_ip":"192.76.120.75","sip_ports":[5060,5061],"rtp_ports":"16384-32768","note":"allow these on your phone system"},"outbound":{"enabled":true,"caller_number":"+97235550100","phone_number_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","dial_format":"national","dial_prefix":"9","paused":{"reason":"phone_system_refused","since":"2023-11-07T05:31:56Z","last_sip_code":"403"}}},"allowed_source_ips":["203.0.113.0/24"],"password_rotated_at":null},"rotations_left":9}}},"exampleType":"generated"}},"exampleType":"generated"},"aea82a20-ecc7-4be9-81dc-4967ff12951f":{"description":"The password did not change.\n- `SIP_ENDPOINT_REQUEST_INVALID` — the body has a field, or is JSON\n that is not an object: this call takes no body. A body that is not\n JSON at all is ignored, and the password is changed as if you had\n sent none.\n- `SIP_ENDPOINT_QUERY_INVALID` — the request has a query parameter;\n this call takes none.\n","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"},"e6973f4c-d6c2-45b7-8be1-0a476eead90c":{"description":"MISSING_KEY, INVALID_KEY or EXPIRED_KEY - the key was not accepted. A valid key without the scope this operation needs is 403 INSUFFICIENT_SCOPE, naming the scope.","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"},"247f980c-d76b-468b-a25b-d5cc632606cd":{"description":"The password did not change.\n- `INSUFFICIENT_SCOPE` — the API key does not hold\n `sip_endpoints:manage`, and the message names it.\n- `FORBIDDEN_ROLE` — dashboard sessions only: just workspace owners\n and admins can issue a new password.\n","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"},"32bac549-e74d-49f6-8157-2855fc3d98b2":{"description":"`SIP_ENDPOINT_NOT_FOUND` — no SIP endpoint with this id in this workspace. `RESOURCE_ID_INVALID` — the id in the path is not an id at all.","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"},"ec934bbc-b3db-4809-82db-3d982e314af7":{"description":"The password did not change.\n- `SIP_ENDPOINT_NOT_CREDENTIALS` — this is a SIP address endpoint, which\n has no password. To move it to a new address, create a new endpoint,\n point your phone system at it, then delete this one.\n- `NOT_SUPPORTED_FOR_MODE` — this is an extension endpoint: its password\n is your phone system's. Send the new one with\n [`PATCH /sip-endpoints/{id}`](/api-reference/sip-endpoints/update) as\n `register.password`.\n- `SIP_TRUNK_NOT_PROVISIONED` — this trunk's username and password were\n never finished, or are no longer set up at Yappr's carrier. Delete it\n and create a new one.\n","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"},"5f7046e4-7786-48a8-944d-4ee83372d814":{"description":"`RATE_LIMITED` — this trunk already had 10 attempts at a new password\nin the current hour, which runs from its first attempt. The limit\ncounts attempts, so an attempt that failed can count too. The password\ndid not change; try again once the hour is up.\n","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"},"57a922a9-b859-4eb1-b48b-6dcf60e759e1":{"description":"`INTERNAL_ERROR` — Yappr could not load the trunk. The password did not change; 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"},"a7d98d82-4848-4e75-8644-05d57196a4c7":{"description":"`SIP_TRUNK_PROVISIONING_FAILED` — the new password could not be set\nor confirmed at Yappr's carrier. `error` says whether the current\npassword still works. Try again in a minute: the password from the\nnext successful answer is the one that works.\n","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":"Rotate SIP Endpoint Password - Yappr","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T15:44:20.698Z","originalFileLocation":"api-reference/sip-endpoints/rotate-password.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=\"Username-and-password trunks only. Issues the trunk a new SIP password and returns it once, in sip_password. The username stays the same. Send no body (or an empty JSON object): Yappr issues the password, so it can\u0026#x27;t be chosen. The old password stops working within seconds, and calls already in progress are not dropped. Enter the new password in your phone system right away. If it registers, it learns of the change only at its next registration refresh, which fails until the new password is in. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins. Limit: 10 attempts per trunk in an hour that runs from the first attempt. The limit counts attempts, not new passwords issued, and rotations_left says how many are left. The trunk\u0026#x27;s password_rotated_at (and updated_at) say when the password changed.\">\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=\"Rotate SIP Endpoint Password - Yappr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Username-and-password trunks only. Issues the trunk a new SIP password and returns it once, in sip_password. The username stays the same. Send no body (or an empty JSON object): Yappr issues the password, so it can\u0026#x27;t be chosen. The old password stops working within seconds, and calls already in progress are not dropped. Enter the new password in your phone system right away. If it registers, it learns of the change only at its next registration refresh, which fails until the new password is in. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins. Limit: 10 attempts per trunk in an hour that runs from the first attempt. The limit counts attempts, not new passwords issued, and rotations_left says how many are left. The trunk\u0026#x27;s password_rotated_at (and updated_at) say when the password changed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yappr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.goyappr.com/api-reference/sip-endpoints/rotate-password\">\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=SIP+Endpoints\u0026amp;title=Rotate+SIP+Endpoint+Password\u0026amp;description=Username-and-password+trunks+only.+Issues+the+trunk+a+new+SIP+password+and%0Areturns+it+**once**%2C+in+%60sip_password%60.+The+username+stays+the+same.+Send%0Ano+body+%28or\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=00c94d0ae1b5b8648812ee93ae5168f48bb77a2dc762bc42aa440e3dd0f3006b\">\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=\"Rotate SIP Endpoint Password - Yappr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Username-and-password trunks only. Issues the trunk a new SIP password and returns it once, in sip_password. The username stays the same. Send no body (or an empty JSON object): Yappr issues the password, so it can\u0026#x27;t be chosen. The old password stops working within seconds, and calls already in progress are not dropped. Enter the new password in your phone system right away. If it registers, it learns of the change only at its next registration refresh, which fails until the new password is in. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins. Limit: 10 attempts per trunk in an hour that runs from the first attempt. The limit counts attempts, not new passwords issued, and rotations_left says how many are left. The trunk\u0026#x27;s password_rotated_at (and updated_at) say when the password changed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=SIP+Endpoints\u0026amp;title=Rotate+SIP+Endpoint+Password\u0026amp;description=Username-and-password+trunks+only.+Issues+the+trunk+a+new+SIP+password+and%0Areturns+it+**once**%2C+in+%60sip_password%60.+The+username+stays+the+same.+Send%0Ano+body+%28or\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=00c94d0ae1b5b8648812ee93ae5168f48bb77a2dc762bc42aa440e3dd0f3006b\">\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/sip-endpoints/rotate-password\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sip-endpoints/rotate-password.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/sip-endpoints/rotate-password#webpage\",\"url\":\"https://docs.goyappr.com/api-reference/sip-endpoints/rotate-password\",\"name\":\"Rotate SIP Endpoint Password\",\"description\":\"Username-and-password trunks only. Issues the trunk a new SIP password and returns it once, in sip_password. The username stays the same. Send no body (or an empty JSON object): Yappr issues the password, so it can't be chosen. The old password stops working within seconds, and calls already in progress are not dropped. Enter the new password in your phone system right away. If it registers, it learns of the change only at its next registration refresh, which fails until the new password is in. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins. Limit: 10 attempts per trunk in an hour that runs from the first attempt. The limit counts attempts, not new passwords issued, and rotations_left says how many are left. The trunk's password_rotated_at (and updated_at) say when the password changed.\",\"dateModified\":\"2026-11-12T15:44:20.698Z\",\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.goyappr.com/api-reference/sip-endpoints/rotate-password#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.goyappr.com/api-reference/sip-endpoints/rotate-password#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SIP Endpoints\",\"item\":\"https://docs.goyappr.com/api-reference/sip-endpoints/status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rotate SIP Endpoint Password\",\"item\":\"https://docs.goyappr.com/api-reference/sip-endpoints/rotate-password\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.goyappr.com/api-reference/sip-endpoints/rotate-password#apireference\",\"headline\":\"Rotate SIP Endpoint Password\",\"name\":\"Rotate SIP Endpoint Password\",\"description\":\"Username-and-password trunks only. Issues the trunk a new SIP password and returns it once, in sip_password. The username stays the same. Send no body (or an empty JSON object): Yappr issues the password, so it can't be chosen. The old password stops working within seconds, and calls already in progress are not dropped. Enter the new password in your phone system right away. If it registers, it learns of the change only at its next registration refresh, which fails until the new password is in. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins. Limit: 10 attempts per trunk in an hour that runs from the first attempt. The limit counts attempts, not new passwords issued, and rotations_left says how many are left. The trunk's password_rotated_at (and updated_at) say when the password changed.\",\"url\":\"https://docs.goyappr.com/api-reference/sip-endpoints/rotate-password\",\"mainEntityOfPage\":{\"@id\":\"https://docs.goyappr.com/api-reference/sip-endpoints/rotate-password#webpage\"},\"dateModified\":\"2026-11-12T15:44:20.698Z\",\"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/sip-endpoints/rotate-password.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}","description":"Deletes the endpoint. Requires `sip_endpoints:manage`. Re-route the calls\nin your phone system first: from then on, every call it sends here is\nrefused.\n\n- **Username-and-password trunk:** Yappr first removes the trunk's\n username and password at its carrier, so they stop working within\n seconds: your phone system's next call is refused with SIP\n `403 Forbidden`. Only then is the endpoint deleted. In the dashboard,\n only workspace owners and admins can delete one. To replace a lost or\n leaked password instead, use\n [rotate-password](/api-reference/sip-endpoints/rotate-password).\n- **SIP address endpoint:** from then on, calls to its `sip_uri` are\n refused before they are answered (SIP `603 Decline`). Calls already in\n progress finish normally. To replace an address that may have leaked,\n create a new endpoint (it gets a fresh random address), point your phone\n system at it, then delete the old one.\n- **Extension endpoint:** Yappr deletes the extension's connection at its\n carrier first, then the endpoint. **Your phone system is not told:** the\n carrier can keep registering the extension on your phone system for hours\n (observed: more than 4 hours 40 minutes), so your phone system keeps\n routing its calls there and they are rejected. Meanwhile a new endpoint\n with the same extension name fails with \"already in use\", also when the\n deleted endpoint never registered (for example a wrong password). Re-route or\n remove the extension on your phone system **before** you delete. To\n change the agent, call limit, server or password, edit the endpoint\n (`PATCH`): don't delete and re-create it. If the extension called out\n through your phone system, its number (`provider: \"phone_system\"`) is\n removed with it, and `campaigns_without_number` says how many campaigns\n were calling from that number: they keep their history and have no\n number to call from until you pick one.\n","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","description":"Whether this workspace may use carrier accounts (calls from numbers in your own\nTelnyx account). They are available in every workspace, so this answers\n`{\"enabled\": true, \"sync\": {...}}` unless Yappr has switched them off for this one; then every\ncarrier-accounts route answers `403 CARRIER_ACCOUNTS_NOT_ENABLED`. Any valid API key\nreads it, whatever its scopes (a Read-only key included); a key limited to agents is\nrefused `403 API_KEY_AGENT_SCOPED`, like every carrier-accounts route.\n\n`sync` says whether Yappr has switched number syncing on, read without running a\nsync and without asking Telnyx anything: `ready: false` (reason `sync_not_ready`)\nmeans no account's numbers are synced yet. Each account's `sync_status` says the\nsame for that account, with when it last synced and why not.\n","href":"/api-reference/carrier-accounts/status"},{"title":"List Carrier Accounts","openapi":"GET /carrier-accounts","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}","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":"Rotate SIP Endpoint Password - 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"]}