SIP Endpoints

Update existing SIP endpoint

Changed on

Updated an existing SIP endpoint by specifying its ID.

put/v1/projects/{projectId}/trunks/{sipTrunkId}/endpoints/{sipEndpointId}

Request

  • Base URL
    https://elastic-trunking.api.sinch.com
  • URL
    https://elastic-trunking.api.sinch.com/v1/projects/{projectId}/trunks/{sipTrunkId}/endpoints/{sipEndpointId}
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://auth.sinch.com/oauth2/token

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.

OR

Example response

{
  "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"
}

Changes