channels
voice
calls
sip-trunks
sip-trunk-domain-verification-management

Update domain verification

Update the verification code for an existing domain. Use this when your service provider issues a new verification code or you need to update the verification settings for a domain.

put/calls/1/sip-trunks/{sipTrunkId}/txt-records

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token

Path parameters

sipTrunkIdstring required

SIP trunk ID.

Request body

fqdnstring required

The domain name you want to verify for your SIP trunk.

valuestring required

The verification code provided by your service provider.

Example request

{
  "fqdn": "sip.example.com",
  "value": "ms=ms12345678"
}

Response

Domain verification updated successfully.

trunkIdstring

SIP trunk ID.

Example response

{
  "trunkId": "034e622a-cc7e-456d-8a10-0ba43b11aa5e",
  "txtRecords": [
    {
      "fqdn": "sip.example.com",
      "value": "ms=ms12345678"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.