Change any endpoint’s name, inbound_agent_id or is_active, a
username-and-password trunk’s max_concurrent_calls, or a SIP address
endpoint’s allowed_source_ips. Send at least one of them. Requires
sip_endpoints:manage; in the dashboard, only workspace owners and
admins can change a username-and-password trunk.
On an extension endpoint, register changes the extension’s settings: the
carrier re-applies them, so register.status goes back to pending for a
few minutes. Changing register.username or register.auth_username, or
sending register.password, needs the password in the same request. Send
register.password whenever the password changes on your phone system:
Yappr does not keep it, but its carrier holds the last one it was given and
uses it to register and to place transfers, so until you send the new one
transfers fail, and register.status can keep reading registered.
Not changed here: auth_mode (create a new endpoint instead), a trunk’s
username and password (for a new password, use
rotate-password), and the
SIP address: a body with slug is refused with
400 SIP_ENDPOINT_REQUEST_INVALID. To move to a new address, create a new
endpoint, point your phone system at it, then delete this one. Any other
field the endpoint does not read is refused the same way, by name.
Change what an endpoint does without changing how your phone system reaches it.
Send at least one field; name, inbound_agent_id, max_concurrent_calls and
allowed_source_ips take the same values as on
create. Requires
sip_endpoints:manage; in the dashboard, only workspace owners and admins can change
a username-and-password trunk or an extension endpoint.
Field
Endpoints
What it does
name
all
A new label, 1 to 200 characters.
inbound_agent_id
all
Another agent in this workspace answers, from the next call on. Any agent of the workspace can answer, including one that runs a workflow, once its workflow is published: calls to an agent that is switched off, or whose workflow has never been published, are refused (with SIP 603 Decline on a trunk or SIP address endpoint).
is_active
all
false switches the endpoint off: new calls are refused before they are answered until you set it back to true. Calls in progress are not affected. On a trunk or SIP address endpoint the refusal is SIP 603 Decline. Re-route the calls in your phone system first: it may not try its next route after a 603. On an extension endpoint register.status reads disabled and Yappr refuses new calls, but your phone system isn’t told. Re-route or remove the extension on your phone system first. To change the agent, call limit, server or password of an extension endpoint, edit it: don’t delete and re-create it, because a deleted extension can stay registered at the carrier for hours and its name can’t be registered again meanwhile.
max_concurrent_calls
username and password, extension
1 to 8 calls at once. null is refused: every endpoint has a limit. A trunk call over the limit is refused with SIP 486 Busy Here; an extension call over the limit is refused.
register
extension
An object with any of server, username, auth_username, transport, region and password (the same rules as create). The carrier re-applies the registration, so register.status goes back to pending for a few minutes. It also takes pbx_feature_code and pbx_feature_code_hangup_after_secs, the transfer code, and outbound, calls out through the extension: both stay in Yappr.
allowed_source_ips
SIP address
Replaces the recorded list; [] or null clears it. Recorded only: calls are not checked against it.
A value for a field of the other kind of endpoint is refused, and nothing is saved.
The response is the updated endpoint, without a password.
Changing an extension
Yappr doesn’t keep the extension’s password, so a change that depends on it needs it
again:
register.username or register.auth_username needs register.password in
the same request. Without it the answer is 400 SIP_REGISTER_PASSWORD_REQUIRED
and nothing changes.
register.password on its own is a password change: send it when the
password changed on your phone system.
register.server, register.transport and register.region don’t need the
password.
Yappr’s carrier holds the password it was last given: it uses it to keep the
extension registered (about every hour) and on every transfer through the
extension. So send the new password whenever it changes on your phone system. Until
you do, transfers fail, and Yappr’s registration status can keep reading registered
for a long time. The same happens after a wrong password was saved: after any
password change, send a test call and a test transfer. If the carrier fails to apply
a change, the endpoint keeps its old settings and the call answers a retriable error.
Setting the transfer code
register.pbx_feature_code is your phone system’s in-call transfer code, set once for
the endpoint: every transfer to an extension on its calls, on every agent, presses it
and then the extension, and your phone system moves the caller
(how it works).
Add register.pbx_feature_code_hangup_after_secs when the code starts an attended
transfer that your phone system completes when Yappr hangs up:
These two stay in Yappr. Changing them needs no password, isn’t sent to the
carrier (the registration isn’t touched), doesn’t count toward the 30 changes an
hour, and works while the endpoint is switched off.
A field you leave out keeps its value.null or "" as the code removes it, and
the hang-up time with it. null as the hang-up time removes only that.
The hang-up time needs a code: the one in the same request, or the one already
stored. Without either it is refused with field_required at
/register/pbx_feature_code.
The code is 1 to 32 characters of 0-9, *, #, A-D and the pauses w and
W, with at least one key and {extension} at most once; the hang-up time is a whole
number from 1 to 10. Anything else is refused with field_invalid at its pointer, and
nothing is saved.
Required whenever outbound is sent. true switches it on (and turns a paused one back on); false switches it off and keeps the number, switched off.
caller_number
The number your phone system shows, E.164. Required the first time; a new one keeps the same phone_number_id, so campaigns keep it. A number already in Yappr is 409 PHONE_NUMBER_IN_USE.
dial_format
national (05X…, Israeli numbers only; the default) or e164 (972…: the country code without the plus sign).
dial_prefix
The outside-line prefix: one digit (0-9), or null.
Yappr’s own setting, like the transfer code: no password, nothing sent to the
carrier, not one of the 30 changes an hour.
Switching the endpoint off (is_active: false) stops its calls out too, and
switching it back on resumes them, unless you switched outbound off yourself.
Paused. After three refusals in a row by your phone system, register.outbound.paused
is set and campaigns calling from the number pause. Send {"enabled": true} once the
phone system is fixed.
Switching it on is refused with 403 SIP_REGISTER_OUTBOUND_NOT_ENABLED where it isn’t
enabled for the workspace, and with 409 VOICE_NOT_READY while Yappr can’t place these
calls yet; switching it off always works.
Each field is checked at its place (/register/outbound/<field>), and a field
outbound doesn’t take is field_unknown.
What this can’t change
auth_mode. Create a new endpoint of the other kind instead.
A trunk’s username and password. For a new password,
issue one; the username stays.
An extension’s password is changed with register.password instead.
A SIP address. A body with slug is refused with
400 SIP_ENDPOINT_REQUEST_INVALID, which says how to move to a new address: create
a new endpoint, point your phone system at its sip_uri, then
delete this one.
Any other field the endpoint does not read, such as sip_password, require_tls or a
misspelt name, is refused the same way, by name, and nothing is saved. Every fault is
named in one answer: issues[] holds each, with path the field as a pointer and
codefield_unknown, field_required (Nothing to update is one, at the body)
or field_invalid; error says the first.
Errors
Status
code
Meaning
400
SIP_ENDPOINT_REQUEST_INVALID
Nothing to update, a value that does not fit (for example max_concurrent_calls outside 1 to 8, or null, or a transfer code that can’t be pressed as keys, or a hang-up time without a code), an agent that is not in this workspace, a field of the other kind of endpoint, a field that can’t change here or is not one this call takes, or a body that is not a JSON object. issues[] names every one; error says the first. Nothing was saved.
400
SIP_ENDPOINT_QUERY_INVALID
The request has a query parameter: this call takes none. Nothing was saved.
400
SIP_REGISTER_PASSWORD_REQUIRED
Extension endpoints: register.username or register.auth_username changed without register.password. Nothing was saved.
400
SIP_REGISTER_HOST_INVALID
Extension endpoints: register.server isn’t a public host name or address. Nothing was saved.
403
INSUFFICIENT_SCOPE
The API key does not hold sip_endpoints:manage, and the message names it.
403
FORBIDDEN_ROLE
Dashboard: only workspace owners and admins can change a username-and-password trunk or an extension endpoint.
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_TRUNK_NOT_PROVISIONED
This trunk’s username and password were never finished, so it can’t be switched on. Delete it and create a new one.
409
SIP_REGISTER_NOT_PROVISIONED
This extension endpoint’s registration was never finished, or is no longer set up at Yappr’s carrier. Delete it and create a new one (if the new one then reads failed with “extension username already in use”, use a different extension name).
409
SIP_REGISTER_EXTENSION_IN_USE
register.username is already used by another live endpoint. Use another extension name.
409
PHONE_NUMBER_IN_USE
register.outbound.caller_number is already a phone number in Yappr. Nothing was saved.
409
VOICE_NOT_READY
Switching register.outbound on while Yappr can’t place calls through an extension yet. Nothing was saved; try again in a few minutes.
403
SIP_REGISTER_OUTBOUND_NOT_ENABLED
Switching register.outbound on where calling out through an extension isn’t switched on for the workspace. Nothing was saved.
409
SIP_REGISTER_PROVIDER_ERROR
The carrier is still applying the last change. Nothing was changed; wait a few minutes and try again.
429
RATE_LIMITED
Extension endpoints: the workspace already made 30 changes to extension endpoints in the last hour. A change that stays in Yappr (name, agent, call limit, transfer code) doesn’t count. Nothing was changed; try again later.
500
INTERNAL_ERROR
Yappr could not load the endpoint or save the change. Nothing was saved; try again.
502
SIP_REGISTER_PROVIDER_ERROR
The change could not be applied at Yappr’s carrier. The endpoint keeps its old settings; try again in a minute.
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
Body
application/json
name
string
A new label.
Required string length: 1 - 200
inbound_agent_id
string<uuid>
An agent in this workspace. It answers from the next call on. Any agent can answer, a workflow agent included; calls to an agent that is switched off, or whose workflow has never been published, are refused (on a trunk with SIP 603 Decline).
is_active
boolean
false refuses the endpoint's new calls before they are answered
until you set it back to true (a trunk or SIP address endpoint
answers SIP 603 Decline; an extension endpoint's calls are
refused). Calls in progress are not affected. On a trunk or SIP
address endpoint, re-route the calls in your phone system first:
it may not try its next route after a 603. On an extension
endpoint, register.status reads disabled and your phone system
is not told. Re-route or remove the extension on your phone
system first. To change an extension endpoint's agent, call limit,
server or password, edit it: don't delete and re-create it.
max_concurrent_calls
integer
Username-and-password trunks and extension endpoints only. 1 to 8 calls at once. null is refused: every endpoint has a limit.
Required range: 1 <= x <= 8
register
object
Any of the extension's settings. Changing username or auth_username
needs password in the same request, and a password change is password
on its own. Yappr does not keep the password, so it can't reuse it: send
the new one whenever it changes on your phone system, because Yappr's
carrier holds the last one it was given and uses it to register and to
place transfers. Changing only server, transport or region doesn't
need it.
pbx_feature_code and pbx_feature_code_hangup_after_secs are Yappr's own
settings: changing them needs no password, doesn't go to the carrier (the
registration isn't touched), doesn't count toward the 30 changes an hour, and
works while the endpoint is switched off. A field you leave out keeps its value.
Show child attributes
allowed_source_ips
string[] | null
deprecated
SIP address endpoints only. Recorded only — calls are not checked against it. [] or null clears it.
Maximum array length: 50
Response
The updated SIP endpoint
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
{"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/update","slug":"/api-reference/sip-endpoints/update","pageMetadata":{"title":"Update SIP Endpoint","openapi":"PATCH /sip-endpoints/{id}","description":"Change any endpoint's `name`, `inbound_agent_id` or `is_active`, a\nusername-and-password trunk's `max_concurrent_calls`, or a SIP address\nendpoint's `allowed_source_ips`. Send at least one of them. Requires\n`sip_endpoints:manage`; in the dashboard, only workspace owners and\nadmins can change a username-and-password trunk.\n\nOn an extension endpoint, `register` changes the extension's settings: the\ncarrier re-applies them, so `register.status` goes back to `pending` for a\nfew minutes. Changing `register.username` or `register.auth_username`, or\nsending `register.password`, needs the password in the same request. Send\n`register.password` whenever the password changes on your phone system:\nYappr does not keep it, but its carrier holds the last one it was given and\nuses it to register and to place transfers, so until you send the new one\ntransfers fail, and `register.status` can keep reading `registered`.\n\nNot changed here: `auth_mode` (create a new endpoint instead), a trunk's\nusername and password (for a new password, use\n[rotate-password](/api-reference/sip-endpoints/rotate-password)), and the\nSIP address: a body with `slug` is refused with\n`400 SIP_ENDPOINT_REQUEST_INVALID`. To move to a new address, create a new\nendpoint, point your phone system at it, then delete this one. Any other\nfield the endpoint does not read is refused the same way, by name.\n","href":"/api-reference/sip-endpoints/update"},"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 a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Change any endpoint’s \", _jsx(_components.code, {\n children: \"name\"\n }), \", \", _jsx(_components.code, {\n children: \"inbound_agent_id\"\n }), \" or \", _jsx(_components.code, {\n children: \"is_active\"\n }), \", a\\nusername-and-password trunk’s \", _jsx(_components.code, {\n children: \"max_concurrent_calls\"\n }), \", or a SIP address\\nendpoint’s \", _jsx(_components.code, {\n children: \"allowed_source_ips\"\n }), \". Send at least one of them. Requires\\n\", _jsx(_components.code, {\n children: \"sip_endpoints:manage\"\n }), \"; in the dashboard, only workspace owners and\\nadmins can change a username-and-password trunk.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"On an extension endpoint, \", _jsx(_components.code, {\n children: \"register\"\n }), \" changes the extension’s settings: the\\ncarrier re-applies them, so \", _jsx(_components.code, {\n children: \"register.status\"\n }), \" goes back to \", _jsx(_components.code, {\n children: \"pending\"\n }), \" for a\\nfew minutes. Changing \", _jsx(_components.code, {\n children: \"register.username\"\n }), \" or \", _jsx(_components.code, {\n children: \"register.auth_username\"\n }), \", or\\nsending \", _jsx(_components.code, {\n children: \"register.password\"\n }), \", needs the password in the same request. Send\\n\", _jsx(_components.code, {\n children: \"register.password\"\n }), \" whenever the password changes on your phone system:\\nYappr does not keep it, but its carrier holds the last one it was given and\\nuses it to register and to place transfers, so until you send the new one\\ntransfers fail, and \", _jsx(_components.code, {\n children: \"register.status\"\n }), \" can keep reading \", _jsx(_components.code, {\n children: \"registered\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Not changed here: \", _jsx(_components.code, {\n children: \"auth_mode\"\n }), \" (create a new endpoint instead), a trunk’s\\nusername and password (for a new password, use\\n\", _jsx(_components.a, {\n href: \"/api-reference/sip-endpoints/rotate-password\",\n children: \"rotate-password\"\n }), \"), and the\\nSIP address: a body with \", _jsx(_components.code, {\n children: \"slug\"\n }), \" is refused with\\n\", _jsx(_components.code, {\n children: \"400 SIP_ENDPOINT_REQUEST_INVALID\"\n }), \". To move to a new address, create a new\\nendpoint, point your phone system at it, then delete this one. Any other\\nfield the endpoint does not read is refused the same way, by name.\"]\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}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Change what an endpoint does without changing how your phone system reaches it.\nSend at least one field; `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`inbound_agent_id`}),`, `,_jsx(_components.code,{children:`max_concurrent_calls`}),` and\n`,_jsx(_components.code,{children:`allowed_source_ips`}),` take the same values as on\n`,_jsx(_components.a,{href:`/api-reference/sip-endpoints/create#what-the-body-may-carry`,children:`create`}),`. Requires\n`,_jsx(_components.code,{children:`sip_endpoints:manage`}),`; in the dashboard, only workspace owners and admins can change\na username-and-password trunk or an extension endpoint.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Endpoints`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`all`}),_jsx(_components.td,{children:`A new label, 1 to 200 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`inbound_agent_id`})}),_jsx(_components.td,{children:`all`}),_jsxs(_components.td,{children:[`Another agent in this workspace answers, from the next call on. Any agent of the workspace can answer, including one that runs a workflow, once its workflow is published: calls to an agent that is switched off, or whose workflow has never been published, are refused (with SIP `,_jsx(_components.code,{children:`603 Decline`}),` on a trunk or SIP address endpoint).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_active`})}),_jsx(_components.td,{children:`all`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`false`}),` switches the endpoint off: new calls are refused before they are answered until you set it back to `,_jsx(_components.code,{children:`true`}),`. Calls in progress are not affected. On a trunk or SIP address endpoint the refusal is SIP `,_jsx(_components.code,{children:`603 Decline`}),`. Re-route the calls in your phone system first: it may not try its next route after a `,_jsx(_components.code,{children:`603`}),`. On an extension endpoint `,_jsx(_components.code,{children:`register.status`}),` reads `,_jsx(_components.code,{children:`disabled`}),` and Yappr refuses new calls, but your phone system isn’t told. Re-route or remove the extension on your phone system first. To change the agent, call limit, server or password of an extension endpoint, edit it: don’t delete and re-create it, because a deleted extension can stay registered at the carrier for hours and its name can’t be registered again meanwhile.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_concurrent_calls`})}),_jsx(_components.td,{children:`username and password, extension`}),_jsxs(_components.td,{children:[`1 to 8 calls at once. `,_jsx(_components.code,{children:`null`}),` is refused: every endpoint has a limit. A trunk call over the limit is refused with SIP `,_jsx(_components.code,{children:`486 Busy Here`}),`; an extension call over the limit is refused.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`register`})}),_jsx(_components.td,{children:`extension`}),_jsxs(_components.td,{children:[`An object with any of `,_jsx(_components.code,{children:`server`}),`, `,_jsx(_components.code,{children:`username`}),`, `,_jsx(_components.code,{children:`auth_username`}),`, `,_jsx(_components.code,{children:`transport`}),`, `,_jsx(_components.code,{children:`region`}),` and `,_jsx(_components.code,{children:`password`}),` (the same rules as `,_jsx(_components.a,{href:`/api-reference/sip-endpoints/create#register-as-an-extension`,children:`create`}),`). The carrier re-applies the registration, so `,_jsx(_components.code,{children:`register.status`}),` goes back to `,_jsx(_components.code,{children:`pending`}),` for a few minutes. It also takes `,_jsx(_components.code,{children:`pbx_feature_code`}),` and `,_jsx(_components.code,{children:`pbx_feature_code_hangup_after_secs`}),`, the `,_jsx(_components.a,{href:`#setting-the-transfer-code`,children:`transfer code`}),`, and `,_jsx(_components.code,{children:`outbound`}),`, `,_jsx(_components.a,{href:`#calling-out-through-the-extension`,children:`calls out through the extension`}),`: both stay in Yappr.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`allowed_source_ips`})}),_jsx(_components.td,{children:`SIP address`}),_jsxs(_components.td,{children:[`Replaces the recorded list; `,_jsx(_components.code,{children:`[]`}),` or `,_jsx(_components.code,{children:`null`}),` clears it. Recorded only: calls are not checked against it.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`A value for a field of the other kind of endpoint is refused, and nothing is saved.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.goyappr.com/sip-endpoints/8d0c5f4e-2b1a-4c3d-9e8f-7a6b5c4d3e2f`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer ypr_live_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"max_concurrent_calls\": 4 }'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The response is the updated endpoint, without a password.`}),`\n`,_jsx(Heading,{level:`2`,id:`changing-an-extension`,children:`Changing an extension`}),`\n`,_jsx(_components.p,{children:`Yappr doesn’t keep the extension’s password, so a change that depends on it needs it\nagain:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`register.username`}),` or `,_jsx(_components.code,{children:`register.auth_username`})]}),` needs `,_jsx(_components.code,{children:`register.password`}),` in\nthe same request. Without it the answer is `,_jsx(_components.code,{children:`400 SIP_REGISTER_PASSWORD_REQUIRED`}),`\nand nothing changes.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`register.password`}),` on its own`]}),` is a password change: send it when the\npassword changed on your phone system.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`register.server`}),`, `,_jsx(_components.code,{children:`register.transport`}),` and `,_jsx(_components.code,{children:`register.region`})]}),` don’t need the\npassword.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.goyappr.com/sip-endpoints/5e9a7c21-3b4d-4f60-8a1c-2d3e4f5a6b7c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer ypr_live_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"register\": { \"password\": \"NewExtensionPasswordFromYourPhoneSystem\" } }'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Yappr’s carrier holds the password it was last given: it uses it to keep the\nextension registered (about every hour) and on every transfer through the\nextension. So send the new password whenever it changes on your phone system. Until\nyou do, transfers fail, and Yappr’s registration status can keep reading `,_jsx(_components.code,{children:`registered`}),`\nfor a long time. The same happens after a wrong password was saved: after any\npassword change, send a test call and a test transfer. If the carrier fails to apply\na change, the endpoint keeps its old settings and the call answers a retriable error.`]}),`\n`,_jsx(Heading,{level:`2`,id:`setting-the-transfer-code`,children:`Setting the transfer code`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`register.pbx_feature_code`}),` is your phone system’s in-call transfer code, set once for\nthe endpoint: every transfer to an extension on its calls, on every agent, presses it\nand then the extension, and your phone system moves the caller\n(`,_jsx(_components.a,{href:`/concepts/sip-trunks#hand-the-call-to-your-phone-system-with-its-transfer-code`,children:`how it works`}),`).\nAdd `,_jsx(_components.code,{children:`register.pbx_feature_code_hangup_after_secs`}),` when the code starts an attended\ntransfer that your phone system completes when Yappr hangs up:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.goyappr.com/sip-endpoints/5e9a7c21-3b4d-4f60-8a1c-2d3e4f5a6b7c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer ypr_live_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"register\": { \"pbx_feature_code\": \"##\", \"pbx_feature_code_hangup_after_secs\": 4 } }'`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`These two stay in Yappr.`}),` Changing them needs no password, isn’t sent to the\ncarrier (the registration isn’t touched), doesn’t count toward the 30 changes an\nhour, and works while the endpoint is switched off.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A field you leave out keeps its value.`}),` `,_jsx(_components.code,{children:`null`}),` or `,_jsx(_components.code,{children:`\"\"`}),` as the code removes it, and\nthe hang-up time with it. `,_jsx(_components.code,{children:`null`}),` as the hang-up time removes only that.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The hang-up time needs a code`}),`: the one in the same request, or the one already\nstored. Without either it is refused with `,_jsx(_components.code,{children:`field_required`}),` at\n`,_jsx(_components.code,{children:`/register/pbx_feature_code`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The code is 1 to 32 characters of `,_jsx(_components.code,{children:`0`}),`-`,_jsx(_components.code,{children:`9`}),`, `,_jsx(_components.code,{children:`*`}),`, `,_jsx(_components.code,{children:`#`}),`, `,_jsx(_components.code,{children:`A`}),`-`,_jsx(_components.code,{children:`D`}),` and the pauses `,_jsx(_components.code,{children:`w`}),` and\n`,_jsx(_components.code,{children:`W`}),`, with at least one key and `,_jsx(_components.code,{children:`{extension}`}),` at most once; the hang-up time is a whole\nnumber from 1 to 10. Anything else is refused with `,_jsx(_components.code,{children:`field_invalid`}),` at its pointer, and\nnothing is saved.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`calling-out-through-the-extension`,children:`Calling out through the extension`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`register.outbound`}),` switches the agent’s calls out through your phone system on or off\n(`,_jsx(_components.a,{href:`/concepts/sip-trunks#outbound-calls-through-the-extension`,children:`what to set on your phone system`}),`):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.goyappr.com/sip-endpoints/5e9a7c21-3b4d-4f60-8a1c-2d3e4f5a6b7c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer ypr_live_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"register\": { \"outbound\": { \"enabled\": true, \"caller_number\": \"+97235550100\" } } }'`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`enabled`})}),_jsxs(_components.td,{children:[`Required whenever `,_jsx(_components.code,{children:`outbound`}),` is sent. `,_jsx(_components.code,{children:`true`}),` switches it on (and turns a paused one back on); `,_jsx(_components.code,{children:`false`}),` switches it off and keeps the number, switched off.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caller_number`})}),_jsxs(_components.td,{children:[`The number your phone system shows, E.164. Required the first time; a new one keeps the same `,_jsx(_components.code,{children:`phone_number_id`}),`, so campaigns keep it. A number already in Yappr is `,_jsx(_components.code,{children:`409 PHONE_NUMBER_IN_USE`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dial_format`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`national`}),` (05X…, Israeli numbers only; the default) or `,_jsx(_components.code,{children:`e164`}),` (972…: the country code without the plus sign).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dial_prefix`})}),_jsxs(_components.td,{children:[`The outside-line prefix: one digit (`,_jsx(_components.code,{children:`0`}),`-`,_jsx(_components.code,{children:`9`}),`), or `,_jsx(_components.code,{children:`null`}),`.`]})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Yappr’s own setting`}),`, like the transfer code: no password, nothing sent to the\ncarrier, not one of the 30 changes an hour.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Switching the endpoint off`}),` (`,_jsx(_components.code,{children:`is_active: false`}),`) stops its calls out too, and\nswitching it back on resumes them, unless you switched outbound off yourself.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Paused.`}),` After three refusals in a row by your phone system, `,_jsx(_components.code,{children:`register.outbound.paused`}),`\nis set and campaigns calling from the number pause. Send `,_jsx(_components.code,{children:`{\"enabled\": true}`}),` once the\nphone system is fixed.`]}),`\n`,_jsxs(_components.li,{children:[`Switching it on is refused with `,_jsx(_components.code,{children:`403 SIP_REGISTER_OUTBOUND_NOT_ENABLED`}),` where it isn’t\nenabled for the workspace, and with `,_jsx(_components.code,{children:`409 VOICE_NOT_READY`}),` while Yappr can’t place these\ncalls yet; switching it off always works.`]}),`\n`,_jsxs(_components.li,{children:[`Each field is checked at its place (`,_jsx(_components.code,{children:`/register/outbound/\u003cfield>`}),`), and a field\n`,_jsx(_components.code,{children:`outbound`}),` doesn’t take is `,_jsx(_components.code,{children:`field_unknown`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-this-can’t-change`,children:`What this can’t change`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`auth_mode`}),`.`]}),` Create a new endpoint of the other kind instead.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A trunk’s username and password.`}),` For a new password,\n`,_jsx(_components.a,{href:`/api-reference/sip-endpoints/rotate-password`,children:`issue one`}),`; the username stays.\nAn extension’s password is changed with `,_jsx(_components.code,{children:`register.password`}),` instead.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A SIP address.`}),` A body with `,_jsx(_components.code,{children:`slug`}),` is refused with\n`,_jsx(_components.code,{children:`400 SIP_ENDPOINT_REQUEST_INVALID`}),`, which says how to move to a new address: create\na new endpoint, point your phone system at its `,_jsx(_components.code,{children:`sip_uri`}),`, then\n`,_jsx(_components.a,{href:`/api-reference/sip-endpoints/delete`,children:`delete`}),` this one.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Any other field the endpoint does not read, such as `,_jsx(_components.code,{children:`sip_password`}),`, `,_jsx(_components.code,{children:`require_tls`}),` or a\nmisspelt name, is refused the same way, by name, and nothing is saved. Every fault is\nnamed in one answer: `,_jsx(_components.code,{children:`issues[]`}),` holds each, with `,_jsx(_components.code,{children:`path`}),` the field as a pointer and\n`,_jsx(_components.code,{children:`code`}),` `,_jsx(_components.code,{children:`field_unknown`}),`, `,_jsx(_components.code,{children:`field_required`}),` (`,_jsx(_components.code,{children:`Nothing to update`}),` is one, at the body)\nor `,_jsx(_components.code,{children:`field_invalid`}),`; `,_jsx(_components.code,{children:`error`}),` says the first.`]}),`\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`})}),_jsxs(_components.td,{children:[`Nothing to update, a value that does not fit (for example `,_jsx(_components.code,{children:`max_concurrent_calls`}),` outside 1 to 8, or `,_jsx(_components.code,{children:`null`}),`, or a transfer code that can’t be pressed as keys, or a hang-up time without a code), an agent that is not in this workspace, a field of the other kind of endpoint, a field that can’t change here or is not one this call takes, or a body that is not a JSON object. `,_jsx(_components.code,{children:`issues[]`}),` names every one; `,_jsx(_components.code,{children:`error`}),` says the first. Nothing was saved.`]})]}),_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. Nothing was saved.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_REGISTER_PASSWORD_REQUIRED`})}),_jsxs(_components.td,{children:[`Extension endpoints: `,_jsx(_components.code,{children:`register.username`}),` or `,_jsx(_components.code,{children:`register.auth_username`}),` changed without `,_jsx(_components.code,{children:`register.password`}),`. Nothing was saved.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_REGISTER_HOST_INVALID`})}),_jsxs(_components.td,{children:[`Extension endpoints: `,_jsx(_components.code,{children:`register.server`}),` isn’t a public host name or address. Nothing was saved.`]})]}),_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.`]})]}),_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 change a username-and-password trunk or an extension endpoint.`})]}),_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_TRUNK_NOT_PROVISIONED`})}),_jsx(_components.td,{children:`This trunk’s username and password were never finished, so it can’t be switched on. Delete it and create a new one.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_REGISTER_NOT_PROVISIONED`})}),_jsxs(_components.td,{children:[`This extension endpoint’s registration was never finished, or is no longer set up at Yappr’s carrier. Delete it and create a new one (if the new one then reads `,_jsx(_components.code,{children:`failed`}),` with “extension username already in use”, use a different extension name).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_REGISTER_EXTENSION_IN_USE`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`register.username`}),` is already used by another live endpoint. Use another extension name.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PHONE_NUMBER_IN_USE`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`register.outbound.caller_number`}),` is already a phone number in Yappr. Nothing was saved.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`VOICE_NOT_READY`})}),_jsxs(_components.td,{children:[`Switching `,_jsx(_components.code,{children:`register.outbound`}),` on while Yappr can’t place calls through an extension yet. Nothing was saved; try again in a few minutes.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_REGISTER_OUTBOUND_NOT_ENABLED`})}),_jsxs(_components.td,{children:[`Switching `,_jsx(_components.code,{children:`register.outbound`}),` on where calling out through an extension isn’t switched on for the workspace. Nothing was saved.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_REGISTER_PROVIDER_ERROR`})}),_jsx(_components.td,{children:`The carrier is still applying the last change. Nothing was changed; wait a few minutes and try again.`})]}),_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:`Extension endpoints: the workspace already made 30 changes to extension endpoints in the last hour. A change that stays in Yappr (name, agent, call limit, transfer code) doesn’t count. Nothing was changed; try again later.`})]}),_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 endpoint or save the change. Nothing was saved; try again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`502`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIP_REGISTER_PROVIDER_ERROR`})}),_jsx(_components.td,{children:`The change could not be applied at Yappr’s carrier. The endpoint keeps its old settings; try again in a minute.`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update SIP Endpoint","openapi":"PATCH /sip-endpoints/{id}","description":"Change any endpoint's `name`, `inbound_agent_id` or `is_active`, a\nusername-and-password trunk's `max_concurrent_calls`, or a SIP address\nendpoint's `allowed_source_ips`. Send at least one of them. Requires\n`sip_endpoints:manage`; in the dashboard, only workspace owners and\nadmins can change a username-and-password trunk.\n\nOn an extension endpoint, `register` changes the extension's settings: the\ncarrier re-applies them, so `register.status` goes back to `pending` for a\nfew minutes. Changing `register.username` or `register.auth_username`, or\nsending `register.password`, needs the password in the same request. Send\n`register.password` whenever the password changes on your phone system:\nYappr does not keep it, but its carrier holds the last one it was given and\nuses it to register and to place transfers, so until you send the new one\ntransfers fail, and `register.status` can keep reading `registered`.\n\nNot changed here: `auth_mode` (create a new endpoint instead), a trunk's\nusername and password (for a new password, use\n[rotate-password](/api-reference/sip-endpoints/rotate-password)), and the\nSIP address: a body with `slug` is refused with\n`400 SIP_ENDPOINT_REQUEST_INVALID`. To move to a new address, create a new\nendpoint, point your phone system at it, then delete this one. Any other\nfield the endpoint does not read is refused the same way, by name.\n","href":"/api-reference/sip-endpoints/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Changing an extension","slug":"changing-an-extension","depth":2,"children":[]},{"title":"Setting the transfer code","slug":"setting-the-transfer-code","depth":2,"children":[]},{"title":"Calling out through the extension","slug":"calling-out-through-the-extension","depth":2,"children":[]},{"title":"What this can’t change","slug":"what-this-can’t-change","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update SIP endpoint","description":"Change any endpoint's `name`, `inbound_agent_id` or `is_active`, a\nusername-and-password trunk's `max_concurrent_calls`, or a SIP address\nendpoint's `allowed_source_ips`. Send at least one of them. Requires\n`sip_endpoints:manage`; in the dashboard, only workspace owners and\nadmins can change a username-and-password trunk.\n\nOn an extension endpoint, `register` changes the extension's settings: the\ncarrier re-applies them, so `register.status` goes back to `pending` for a\nfew minutes. Changing `register.username` or `register.auth_username`, or\nsending `register.password`, needs the password in the same request. Send\n`register.password` whenever the password changes on your phone system:\nYappr does not keep it, but its carrier holds the last one it was given and\nuses it to register and to place transfers, so until you send the new one\ntransfers fail, and `register.status` can keep reading `registered`.\n\nNot changed here: `auth_mode` (create a new endpoint instead), a trunk's\nusername and password (for a new password, use\n[rotate-password](/api-reference/sip-endpoints/rotate-password)), and the\nSIP address: a body with `slug` is refused with\n`400 SIP_ENDPOINT_REQUEST_INVALID`. To move to a new address, create a new\nendpoint, point your phone system at it, then delete this one. Any other\nfield the endpoint does not read is refused the same way, by name.\n","operationId":"updateSipEndpoint","tags":["SIP Endpoints"],"parameters":["b25578fc-db34-4404-9621-aeed5bda5886"],"requestBody":"fa2b3879-93ad-465f-9da0-3f3f341720d8","responses":{"200":"68281b90-7767-4242-b47e-b018895cc7a2","400":"4c695072-205f-45f1-ac6c-d18191d0b3c1","401":"212c75db-52ca-4a1c-bc39-de3bd39b1e8f","403":"3c07fc59-738b-4b89-babb-f4fe866abd62","404":"ff205db7-93ad-4f32-aa31-7493c331f51a","409":"b6e794a3-3e02-4dd8-896c-7a90f6238d10","429":"be523b28-64c6-4fe7-b90e-1791f08fc3df","500":"687d10c7-ae16-4e13-905b-b9e159deb2d7","502":"5cf3e2c5-9a93-4e70-b54b-52f9205b4074"},"method":"patch","type":"path","servers":["dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d"],"security":["2767439e-f0c6-4cd4-a450-ba11a6ab8311"],"path":"/sip-endpoints/{id}","baseUrlOptions":["https://api.goyappr.com"],"title":"Update SIP endpoint","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b25578fc-db34-4404-9621-aeed5bda5886":{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"A new label.","uniqueKey":"name","typeLabel":"string"},"inbound_agent_id":{"type":"string","format":"uuid","description":"An agent in this workspace. It answers from the next call on. Any agent can answer, a workflow agent included; calls to an agent that is switched off, or whose workflow has never been published, are refused (on a trunk with SIP `603 Decline`).","uniqueKey":"inbound_agent_id","typeLabel":"string\u003cuuid>"},"is_active":{"type":"boolean","description":"`false` refuses the endpoint's new calls before they are answered\nuntil you set it back to `true` (a trunk or SIP address endpoint\nanswers SIP `603 Decline`; an extension endpoint's calls are\nrefused). Calls in progress are not affected. On a trunk or SIP\naddress endpoint, re-route the calls in your phone system first:\nit may not try its next route after a `603`. On an extension\nendpoint, `register.status` reads `disabled` and your phone system\nis **not** told. Re-route or remove the extension on your phone\nsystem first. To change an extension endpoint's agent, call limit,\nserver or password, edit it: don't delete and re-create it.\n","uniqueKey":"is_active","typeLabel":"boolean"},"max_concurrent_calls":{"type":"integer","minimum":1,"maximum":8,"description":"Username-and-password trunks and extension endpoints only. 1 to 8 calls at once. `null` is refused: every endpoint has a limit.","uniqueKey":"max_concurrent_calls","typeLabel":"integer"},"register":{"type":"object","description":"Any of the extension's settings. Changing `username` or `auth_username`\nneeds `password` in the same request, and a password change is `password`\non its own. Yappr does not keep the password, so it can't reuse it: send\nthe new one whenever it changes on your phone system, because Yappr's\ncarrier holds the last one it was given and uses it to register and to\nplace transfers. Changing only `server`, `transport` or `region` doesn't\nneed it.\n\n`pbx_feature_code` and `pbx_feature_code_hangup_after_secs` are Yappr's own\nsettings: changing them needs no password, doesn't go to the carrier (the\nregistration isn't touched), doesn't count toward the 30 changes an hour, and\nworks while the endpoint is switched off. A field you leave out keeps its value.\n","minProperties":1,"properties":{"server":{"type":"string","example":"sip1.example.net:5060","uniqueKey":"register.server","typeLabel":"string"},"username":{"type":"string","minLength":2,"maxLength":128,"pattern":"^[A-Za-z0-9+][A-Za-z0-9+_-]{1,127}$","uniqueKey":"register.username","typeLabel":"string"},"password":{"type":"string","minLength":1,"maxLength":128,"writeOnly":true,"uniqueKey":"register.password","typeLabel":"string"},"auth_username":{"oneOf":[{"type":"string","maxLength":128,"uniqueKey":"register.auth_username.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":128,"uniqueKey":"register.auth_username.oneOf.1","typeLabel":"null"}],"uniqueKey":"register.auth_username","typeLabel":"string | null"},"transport":{"type":"string","enum":["udp","tcp","tls"],"uniqueKey":"register.transport","typeLabel":"enum\u003cstring>"},"region":{"type":"string","enum":["middle_east","europe"],"uniqueKey":"register.region","typeLabel":"enum\u003cstring>"},"pbx_feature_code":{"oneOf":[{"type":"string","description":"The transfer code, by the same rule as on create. `null` or `\"\"` removes it,\nand the hang-up time with it.\n","uniqueKey":"register.pbx_feature_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The transfer code, by the same rule as on create. `null` or `\"\"` removes it,\nand the hang-up time with it.\n","uniqueKey":"register.pbx_feature_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"register.pbx_feature_code","typeLabel":"string | null"},"pbx_feature_code_hangup_after_secs":{"oneOf":[{"type":"integer","minimum":1,"maximum":10,"description":"1 to 10 seconds, as on create; `null` removes it. It needs a code: the one sent\nin the same request, or the one already stored (`field_required` at\n`/register/pbx_feature_code` when there is neither).\n","uniqueKey":"register.pbx_feature_code_hangup_after_secs.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":10,"description":"1 to 10 seconds, as on create; `null` removes it. It needs a code: the one sent\nin the same request, or the one already stored (`field_required` at\n`/register/pbx_feature_code` when there is neither).\n","uniqueKey":"register.pbx_feature_code_hangup_after_secs.oneOf.1","typeLabel":"null"}],"uniqueKey":"register.pbx_feature_code_hangup_after_secs","typeLabel":"integer | null"},"outbound":{"type":"object","required":["enabled"],"additionalProperties":false,"description":"Calls out through the extension. Yappr's own setting: it needs no password, is not sent to\nthe carrier and does not count toward the 30 changes an hour. On PATCH a field you leave\nout keeps its value. Switching it on is refused with `403 SIP_REGISTER_OUTBOUND_NOT_ENABLED`\nfor a workspace it isn't enabled for, and `409 VOICE_NOT_READY` while the voice server\ncan't place these calls; switching it off always works.\n","properties":{"enabled":{"type":"boolean","description":"`true` to call out through the extension (also lifts a pause), `false` to stop.","isRequired":true,"uniqueKey":"register.outbound.enabled","typeLabel":"boolean"},"caller_number":{"type":"string","pattern":"^\\+[1-9][0-9]{6,14}$","example":"+97235550100","description":"The number your phone system shows, in E.164 form. Required the first time outbound is\nswitched on (`field_required` at `/register/outbound/caller_number`). A number already\nin Yappr is refused with `409 PHONE_NUMBER_IN_USE`.\n","uniqueKey":"register.outbound.caller_number","typeLabel":"string"},"dial_format":{"type":"string","enum":["national","e164"],"default":"national","uniqueKey":"register.outbound.dial_format","typeLabel":"enum\u003cstring>"},"dial_prefix":{"oneOf":[{"type":"string","pattern":"^[0-9]$","description":"One digit, or `null` for none.","uniqueKey":"register.outbound.dial_prefix.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[0-9]$","description":"One digit, or `null` for none.","uniqueKey":"register.outbound.dial_prefix.oneOf.1","typeLabel":"null"}],"uniqueKey":"register.outbound.dial_prefix","typeLabel":"string | null"}},"uniqueKey":"register.outbound","typeLabel":"object"}},"uniqueKey":"register","typeLabel":"object"},"allowed_source_ips":{"oneOf":[{"type":"array","deprecated":true,"maxItems":50,"description":"SIP address endpoints only. Recorded only — calls are not checked against it. `[]` or `null` clears it.","items":{"type":"string","uniqueKey":"allowed_source_ips.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"allowed_source_ips.oneOf.0","typeLabel":"string[]"},{"type":"null","deprecated":true,"maxItems":50,"description":"SIP address endpoints only. Recorded only — calls are not checked against it. `[]` or `null` clears it.","items":{"type":"string"},"uniqueKey":"allowed_source_ips.oneOf.1","typeLabel":"null"}],"uniqueKey":"allowed_source_ips","typeLabel":"string[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","inbound_agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","is_active":true,"max_concurrent_calls":4,"register":{"server":"sip1.example.net:5060","username":"\u003cstring>","password":"\u003cstring>","auth_username":"\u003cstring>","pbx_feature_code":"\u003cstring>","pbx_feature_code_hangup_after_secs":5},"allowed_source_ips":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"68281b90-7767-4242-b47e-b018895cc7a2":{"description":"The updated SIP endpoint","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":["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_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"}},"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_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}}}},"exampleType":"generated"}},"exampleType":"generated"},"4c695072-205f-45f1-ac6c-d18191d0b3c1":{"description":"Nothing was saved.\n- `SIP_ENDPOINT_REQUEST_INVALID` — `error` says why: nothing to update, a\n value that does not fit (for example `max_concurrent_calls` outside\n 1–8, or `null`), an agent that is not in this workspace, a value for a\n field of the other kind of endpoint, a field that cannot change here\n (`slug`, `auth_mode`, a trunk's username and password) or that this call\n does not take, or a body that is not a JSON object. `issues[]` names\n every fault at once, each at its pointer.\n- `SIP_REGISTER_PASSWORD_REQUIRED` — `register.username` or\n `register.auth_username` is changed without `register.password`: Yappr\n doesn't keep the password, so send it again with the change.\n- `SIP_REGISTER_HOST_INVALID` — `register.server` is not a public host\n name or address.\n- `SIP_ENDPOINT_QUERY_INVALID` — the request has a query parameter; this\n 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"},"212c75db-52ca-4a1c-bc39-de3bd39b1e8f":{"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"},"3c07fc59-738b-4b89-babb-f4fe866abd62":{"description":"Nothing was saved.\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 and\n admins can change a username-and-password trunk.\n- `SIP_REGISTER_OUTBOUND_NOT_ENABLED` — switching `register.outbound` on, where\n calling out through an extension isn't switched on for this workspace.\n Switching it off always 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"},"ff205db7-93ad-4f32-aa31-7493c331f51a":{"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"},"b6e794a3-3e02-4dd8-896c-7a90f6238d10":{"description":"- `SIP_TRUNK_NOT_PROVISIONED` — this trunk's username and password were never finished, so it cannot be switched on. Delete it and create a new one.\n- `SIP_REGISTER_NOT_PROVISIONED` — this extension endpoint's registration was never finished, or is no longer set up at Yappr's carrier. Delete it and create a new one (if the new one then reads failed with 'extension username already in use', use a different extension name).\n- `SIP_REGISTER_EXTENSION_IN_USE` — `register.username` is already used by another live endpoint. Use another extension name.\n- `SIP_REGISTER_PROVIDER_ERROR` — the carrier is still applying the last change. Nothing was changed; wait a few minutes and try again.\n- `PHONE_NUMBER_IN_USE` — `register.outbound.caller_number` is already a phone number in Yappr. Nothing was saved. Use another number, or remove it where it is.\n- `VOICE_NOT_READY` — switching `register.outbound` on while the voice server can't place calls through an extension yet. Nothing was saved; try again in a few minutes.\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"},"be523b28-64c6-4fe7-b90e-1791f08fc3df":{"description":"`RATE_LIMITED` — extension endpoints: this workspace already made 30\nchanges to extension endpoints in the last hour. A change that stays in\nYappr (name, agent, call limit) doesn't count. Nothing was changed; try\nagain later.\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"},"687d10c7-ae16-4e13-905b-b9e159deb2d7":{"description":"`INTERNAL_ERROR` — Yappr could not load the endpoint or save the change. Nothing was saved; 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"},"5cf3e2c5-9a93-4e70-b54b-52f9205b4074":{"description":"`SIP_REGISTER_PROVIDER_ERROR` — extension endpoints: the change could not be applied at Yappr's carrier. The endpoint keeps its old settings; try again in a minute.","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":"Update SIP Endpoint - Yappr","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T15:44:20.713Z","originalFileLocation":"api-reference/sip-endpoints/update.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=\"Change any endpoint\u0026#x27;s name, inbound_agent_id or is_active, a username-and-password trunk\u0026#x27;s max_concurrent_calls, or a SIP address endpoint\u0026#x27;s allowed_source_ips. Send at least one of them. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins can change a username-and-password trunk. On an extension endpoint, register changes the extension\u0026#x27;s settings: the carrier re-applies them, so register.status goes back to pending for a few minutes. Changing register.username or register.auth_username, or sending register.password, needs the password in the same request. Send register.password whenever the password changes on your phone system: Yappr does not keep it, but its carrier holds the last one it was given and uses it to register and to place transfers, so until you send the new one transfers fail, and register.status can keep reading registered. Not changed here: auth_mode (create a new endpoint instead), a trunk\u0026#x27;s username and password (for a new password, use rotate-password), and the SIP address: a body with slug is refused with 400 SIP_ENDPOINT_REQUEST_INVALID. To move to a new address, create a new endpoint, point your phone system at it, then delete this one. Any other field the endpoint does not read is refused the same way, by name.\">\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=\"Update SIP Endpoint - Yappr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Change any endpoint\u0026#x27;s name, inbound_agent_id or is_active, a username-and-password trunk\u0026#x27;s max_concurrent_calls, or a SIP address endpoint\u0026#x27;s allowed_source_ips. Send at least one of them. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins can change a username-and-password trunk. On an extension endpoint, register changes the extension\u0026#x27;s settings: the carrier re-applies them, so register.status goes back to pending for a few minutes. Changing register.username or register.auth_username, or sending register.password, needs the password in the same request. Send register.password whenever the password changes on your phone system: Yappr does not keep it, but its carrier holds the last one it was given and uses it to register and to place transfers, so until you send the new one transfers fail, and register.status can keep reading registered. Not changed here: auth_mode (create a new endpoint instead), a trunk\u0026#x27;s username and password (for a new password, use rotate-password), and the SIP address: a body with slug is refused with 400 SIP_ENDPOINT_REQUEST_INVALID. To move to a new address, create a new endpoint, point your phone system at it, then delete this one. Any other field the endpoint does not read is refused the same way, by name.\">\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/update\">\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=Update+SIP+Endpoint\u0026amp;description=Change+any+endpoint%27s+%60name%60%2C+%60inbound_agent_id%60+or+%60is_active%60%2C+a%0Ausername-and-password+trunk%27s+%60max_concurrent_calls%60%2C+or+a+SIP+address%0Aendpoint%27s+%60allowed_so\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=369862d75cf8710afc21af3080ea5f0817198532c003d46b6cef4764d041d4b6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update SIP Endpoint - Yappr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Change any endpoint\u0026#x27;s name, inbound_agent_id or is_active, a username-and-password trunk\u0026#x27;s max_concurrent_calls, or a SIP address endpoint\u0026#x27;s allowed_source_ips. Send at least one of them. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins can change a username-and-password trunk. On an extension endpoint, register changes the extension\u0026#x27;s settings: the carrier re-applies them, so register.status goes back to pending for a few minutes. Changing register.username or register.auth_username, or sending register.password, needs the password in the same request. Send register.password whenever the password changes on your phone system: Yappr does not keep it, but its carrier holds the last one it was given and uses it to register and to place transfers, so until you send the new one transfers fail, and register.status can keep reading registered. Not changed here: auth_mode (create a new endpoint instead), a trunk\u0026#x27;s username and password (for a new password, use rotate-password), and the SIP address: a body with slug is refused with 400 SIP_ENDPOINT_REQUEST_INVALID. To move to a new address, create a new endpoint, point your phone system at it, then delete this one. Any other field the endpoint does not read is refused the same way, by name.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=SIP+Endpoints\u0026amp;title=Update+SIP+Endpoint\u0026amp;description=Change+any+endpoint%27s+%60name%60%2C+%60inbound_agent_id%60+or+%60is_active%60%2C+a%0Ausername-and-password+trunk%27s+%60max_concurrent_calls%60%2C+or+a+SIP+address%0Aendpoint%27s+%60allowed_so\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=369862d75cf8710afc21af3080ea5f0817198532c003d46b6cef4764d041d4b6\">\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/update\">\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/update.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/update#webpage\",\"url\":\"https://docs.goyappr.com/api-reference/sip-endpoints/update\",\"name\":\"Update SIP Endpoint\",\"description\":\"Change any endpoint's name, inbound_agent_id or is_active, a username-and-password trunk's max_concurrent_calls, or a SIP address endpoint's allowed_source_ips. Send at least one of them. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins can change a username-and-password trunk. On an extension endpoint, register changes the extension's settings: the carrier re-applies them, so register.status goes back to pending for a few minutes. Changing register.username or register.auth_username, or sending register.password, needs the password in the same request. Send register.password whenever the password changes on your phone system: Yappr does not keep it, but its carrier holds the last one it was given and uses it to register and to place transfers, so until you send the new one transfers fail, and register.status can keep reading registered. Not changed here: auth_mode (create a new endpoint instead), a trunk's username and password (for a new password, use rotate-password), and the SIP address: a body with slug is refused with 400 SIP_ENDPOINT_REQUEST_INVALID. To move to a new address, create a new endpoint, point your phone system at it, then delete this one. Any other field the endpoint does not read is refused the same way, by name.\",\"dateModified\":\"2026-11-12T15:44:20.713Z\",\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.goyappr.com/api-reference/sip-endpoints/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.goyappr.com/api-reference/sip-endpoints/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SIP Endpoints\",\"item\":\"https://docs.goyappr.com/api-reference/sip-endpoints/status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update SIP Endpoint\",\"item\":\"https://docs.goyappr.com/api-reference/sip-endpoints/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.goyappr.com/api-reference/sip-endpoints/update#apireference\",\"headline\":\"Update SIP Endpoint\",\"name\":\"Update SIP Endpoint\",\"description\":\"Change any endpoint's name, inbound_agent_id or is_active, a username-and-password trunk's max_concurrent_calls, or a SIP address endpoint's allowed_source_ips. Send at least one of them. Requires sip_endpoints:manage; in the dashboard, only workspace owners and admins can change a username-and-password trunk. On an extension endpoint, register changes the extension's settings: the carrier re-applies them, so register.status goes back to pending for a few minutes. Changing register.username or register.auth_username, or sending register.password, needs the password in the same request. Send register.password whenever the password changes on your phone system: Yappr does not keep it, but its carrier holds the last one it was given and uses it to register and to place transfers, so until you send the new one transfers fail, and register.status can keep reading registered. Not changed here: auth_mode (create a new endpoint instead), a trunk's username and password (for a new password, use rotate-password), and the SIP address: a body with slug is refused with 400 SIP_ENDPOINT_REQUEST_INVALID. To move to a new address, create a new endpoint, point your phone system at it, then delete this one. Any other field the endpoint does not read is refused the same way, by name.\",\"url\":\"https://docs.goyappr.com/api-reference/sip-endpoints/update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.goyappr.com/api-reference/sip-endpoints/update#webpage\"},\"dateModified\":\"2026-11-12T15:44:20.713Z\",\"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/update.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}","description":"One SIP endpoint. A trunk's password is never returned here; it is\nreturned only by create and by\n[rotate-password](/api-reference/sip-endpoints/rotate-password). Requires\n`sip_endpoints:read`. A SIP address endpoint's `slug` and `sip_uri`, and a\ntrunk's `sip_username`, are returned only to a key that also holds\n`sip_endpoints:manage`; with `sip_endpoints:read` alone (the Read-only\npreset) they are `null`. It takes no query parameters.\n","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","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":"Update SIP Endpoint - 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"]}