Samva
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceVoice

List assigned voice phone numbers

GET
/voice/numbers/assigned

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Response Body

application/json

curl -X GET "https://samva.app/api/v1/voice/numbers/assigned"
[
  {
    "agentId": "string",
    "number": {
      "id": "string",
      "phoneNumber": "string",
      "friendlyName": "string",
      "capabilities": {
        "sms": true,
        "mms": true,
        "voice": true
      },
      "numberType": "local",
      "country": "string",
      "isDefault": true,
      "routingTags": [
        "string"
      ],
      "status": "string",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  }
]