SIP Accounts

Create SIP account

Create a new SIP account (trunk) for making/receiving calls.

sipaccount.id feeds sipaccounts_show, sipaccounts_update, sipaccounts_destroy, sipaccounts_allowed_ips_index, sipaccounts_allowed_ips_create and sipaccounts_allowed_ips_destroy; each also takes sipaccount.name in its place. sipaccount.name feeds call_price_show, calls_show and click2call_create as the SIP account to price, filter by or ring.

post/api/v1/sipaccounts

Request

  • Base URL: https://app.didlogic.com
  • URL: https://app.didlogic.com/api/v1/sipaccounts
  • Auth: HTTP bearer

Request body

Example request

{
  "sipaccount": {
    "label": "Test SIP Account",
    "password": "SecurePass123",
    "callerid": "1234567890",
    "didinfo_enabled": true,
    "call_restrict": true,
    "call_limit": 1000,
    "channels_restrict": true,
    "max_channels": 5
  }
}

Response

Successfully creates SIP account and returns credentials

Example response

{
  "sipaccount": {
    "id": 115,
    "name": "89445",
    "label": "Test SIP Account",
    "host": "dynamic",
    "didinfo_enabled": true,
    "call_restrict": true,
    "call_limit": 1000,
    "channels_restrict": true,
    "max_channels": 5,
    "max_call_cost": "0.0",
    "created_at": "2026-10-14 16:39:44 UTC",
    "charge": "0.0",
    "spend_limit": "0.0",
    "available_amount": "0.0"
  },
  "warnings": [
    {
      "resource": "caller_id",
      "identifier": "19999999999",
      "code": "not_an_owned_or_verified_caller_id",
      "message": "is not an owned or verified caller ID and was ignored"
    }
  ]
}

Changes

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