latestOpenAPI 3.0.3MIT2026-08-124627160.3 KB

c04c2c708bf9

SIP Endpoints

Create SIP endpoint

Create a new SIP endpoint.

post/trunks/{sipTrunkId}/endpoints

Path parameters

sipTrunkIdstring required

The ID of the SIP trunk.

Request body

OR

Example request

{
  "address": "127.0.0.1",
  "port": 5060,
  "sipTrunkId": "bbc55c4c-fe25-11ec-8482-d2e74e85a66f",
  "name": "Acme Endpoint",
  "transport": "UDP",
  "priority": 1,
  "createTime": "2022-01-01T00:00:00Z",
  "updateTime": "2022-01-01T00:00:00Z"
}

Response

A successful response.

totalItemsinteger

Total size of the result.

pageNumberstring

The token to be used for listing the next page

sizeinteger

The number of items per page. default is 1000

Example response

{
  "totalItems": 10000,
  "pageNumber": "1",
  "size": 2000,
  "endpoints": [
    {
      "address": "127.0.0.1",
      "port": 5060,
      "sipTrunkId": "bbc55c4c-fe25-11ec-8482-d2e74e85a66f",
      "name": "Acme Endpoint",
      "transport": "UDP",
      "priority": 1,
      "createTime": "2022-01-01T00:00:00Z",
      "updateTime": "2022-01-01T00:00:00Z"
    }
  ]
}