Samva
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceVoice

Get assigned voice phone number

GET
/voice/numbers/assigned/agent/{agentId}

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Path Parameters

agentId*string
Formatuuid

Response Body

application/json

curl -X GET "https://samva.app/api/v1/voice/numbers/assigned/agent/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "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"
}