Add Custom Phone Number
Authentication
Path parameters
Headers
SIP address of the user’s SIP trunk. Optional, but if provided, all three SIP headers (X-Sip-Address, X-Sip-Auth-Username, X-Sip-Auth-Password) must be provided. When these headers are provided, call transfers from the agent will use the provided SIP details.
SIP auth username. Optional, but if provided, all three SIP headers (X-Sip-Address, X-Sip-Auth-Username, X-Sip-Auth-Password) must be provided. When these headers are provided, call transfers from the agent will use the provided SIP details.
SIP auth password. Optional, but if provided, all three SIP headers (X-Sip-Address, X-Sip-Auth-Username, X-Sip-Auth-Password) must be provided. When these headers are provided, call transfers from the agent will use the provided SIP details.
Query parameters
The name of the project containing the agent. Only used when nameOrId is a name.
Request
The E.164 formatted phone number to add (e.g., “+15551234567”).
When not null, the agent will call this endpoint to get configuration options for calls on this phone number.