Create a SIP Endpoint
To create a new SIP Endpoint, you send a POST
request to the SIP
Endpoint resource.
Permissions
The API token must include the following scopes: Voice.
Request Body — REQUIRED |
---|
username string — REQUIREDString representing the username portion of the endpoint. Must be unique across your project and must not container white space characters or |
password string — REQUIREDA password to authenticate registrations to this endpoint. |
caller_id stringFriendly Caller ID used as the |
send_as stringWhen dialing a PSTN phone number, you must send it Defaults to the project's SIP Settings default send as number. |
ciphers string[]A list of encryption ciphers this endpoint will support. Currently supported values are: Defaults to the project's SIP Settings default cipher list. You can unset the custom cipher list and use the project's SIP Settings default cipher list by sending an empty array. |
codecs string[]A list of codecs this endpoint will support. Currently supported values are: Defaults to the project's SIP Settings default codec list. You can unset the custom codec list and use the project's SIP Settings default codec list by sending an empty array. |
encryption stringA string representing whether connections to this endpoint require encryption or if encryption is optional. Encryption will always be used if possible. Possible values are Defaults to the project's SIP Settings default. |
Responses | |||||||||
---|---|---|---|---|---|---|---|---|---|
201 CREATED
|