Create an endpoint
POST https://api.plivo.com/v1/Account/{{auth_id}}/Endpoint/
Creates a new endpoint.
Below is the list of arguments that can be passed in this API request, more information can be found here
Arguments | Description | Required/Conditional/Optional |
---|---|---|
username | Username for the endpoint to be created. Only alphanumeric characters are accepted. This username will be used to configure your SIP Phone. The username must start with an alphabet. | Required |
password | Password for your endpoint username. It should be at least 5 characters long. | Required |
alias | Alias for the endpoint. | Required |
app_id | app_id of the application that will be attached to this endpoint. | Optional |
Request Body
{"username"=>"testusername", "password"=>"testpassword", "alias"=>"Test Account", "app_id"=>"77494029089751836"}