Endpoints represent SIP users that can register with Plivo and make/receive calls through Voice SDKs (Web, iOS, Android) or SIP softphones. Each endpoint has a unique username, password, and SIP URI.Documentation Index
Fetch the complete documentation index at: https://plivo.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The Endpoint Object
| Attribute | Type | Description |
|---|---|---|
endpoint_id | string | Unique identifier for the endpoint. Used in all endpoint API operations. |
username | string | Username for the endpoint. Only alphanumeric characters are accepted. |
password | string | Password for the endpoint. Returned as MD5 hash in responses. |
alias | string | Human-readable alias for the endpoint. |
sip_uri | string | SIP URI of the endpoint. External users can call this endpoint on this URI. |
sip_registered | string | true if the endpoint is registered on a SIP client. Default: false. |
application | string | URI of the application attached to the endpoint. |
sub_account | string | Subaccount the endpoint is linked to. null if not linked. |
resource_uri | string | URI of the endpoint object. |
Example Endpoint Object
Create an Endpoint
Create a new SIP endpoint.Arguments
| Parameter | Required | Description |
|---|---|---|
username | Yes | Username for the endpoint. Alphanumeric only, must start with an alphabetic character. |
password | Yes | Password for the endpoint. Must be at least 5 characters long. |
alias | Yes | Alias for the endpoint. Allows letters, numbers, hyphens, and underscores. |
app_id | No | ID of the application to attach to the endpoint. |
Returns
Returns the created endpoint with a 12-digit number appended to the username.Response
Retrieve an Endpoint
Get details of a specific endpoint.Arguments
No arguments required.The
password returned is an MD5 hash of the actual password.Response
List All Endpoints
Retrieve all endpoints in your account.Arguments
No arguments required.Response
Update an Endpoint
Update an endpoint’s password, alias, or attached application.Arguments
| Parameter | Description |
|---|---|
password | New password. Must be at least 5 characters. |
alias | New alias. Allows letters, numbers, hyphens, and underscores. |
app_id | ID of the application to attach. |
Response
Delete an Endpoint
Permanently delete an endpoint.Arguments
No arguments required.Response
Generate a JWT Token
Generate a JWT (JSON Web Token) for client-side authentication with Voice SDKs.Arguments
Custom subject claim for the token.
“Not before” timestamp (Unix epoch). The token is not valid before this time.
Token expiry time (Unix epoch). Allowed range: 3 minutes to 24 hours from creation.
Response
Returns a JWT token string that you can use for client SDK authentication.Related
- Voice SDK Documentation - Build client apps with Voice SDKs
- Web SDK - Make calls from browsers
- iOS SDK - Make calls from iOS apps
- Android SDK - Make calls from Android apps