Skip to main content
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.

The Endpoint Object

Example Endpoint Object


Create an Endpoint

Create a new SIP endpoint.

Arguments

Returns

Returns the created endpoint with a 12-digit number appended to the username.

Response

string
Username for the endpoint, with a 12-digit number appended to the username you provided.
string
Human-readable alias for the endpoint.
string
Status of the request. Returns created on successful endpoint creation.
string
Unique identifier for the endpoint. Used in all endpoint API operations.
string
Unique identifier for the API request.

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

string
Human-readable alias for the endpoint.
string
URI of the application attached to the endpoint.
string
Unique identifier for the endpoint. Used in all endpoint API operations.
string
URI of the endpoint object.
string
true if the endpoint is registered on a SIP client. Default: false.
string
SIP URI of the endpoint. External users can call this endpoint on this URI.
string
Subaccount the endpoint is linked to. null if not linked.
string
Username for the endpoint.

List All Endpoints

Retrieve all endpoints in your account.

Arguments

No arguments required.

Response

string
Unique identifier for the API request.
object
Pagination metadata: limit (results per page), offset (items skipped), total_count (total matching endpoints).
array
Array of endpoint objects — see The Endpoint Object.

Update an Endpoint

Update an endpoint’s password, alias, or attached application.

Arguments

Response

string
Status of the request. Returns changed on a successful update.
string
Unique identifier for the API request.

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

string
Custom subject claim for the token.
integer
“Not before” timestamp (Unix epoch). The token is not valid before this time.
integer
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.