Import phone number
Imports a custom phone number into your workspace. This is useful for direct SIP dialing scenarios where your telephony provider does not offer elastic SIP trunking.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
workspace_id
The workspace ID to associate the phone number with.
phone_number
The phone number to import.
friendly_name
A human-readable name for the phone number.
trunk_username
Optional SIP trunk username for authentication.
trunk_pwd
Optional SIP trunk password for authentication.
Response
200
status
Whether the request was successful.
response