Assignees
Get a collection of assignees of provider.
The unique ID of trunk.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
OK
Error
GET /api/providers/{id}/assignees HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"tenant_id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"did_numbers": "text",
"concurrency": 1
}
]
}
Check if a provider is assigned to the tenant.
The unique ID of trunk.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The unique ID of tenant.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
OK
Not Found
GET /api/providers/{id}/assignees/{tenant_id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"did_numbers": "text",
"concurrency": 1
}
Assign provider to tenant.
The unique ID of trunk.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The unique ID of tenant.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The semicolon-separated list of DID/DDI pool number range or DID/DDI number. Assign a DID/DDI pool number range or DID/DDI number to the tenant. For example: 3000;12000-18000. The DID/DDI pool number range should not overlap with other tenant DID/DDI pool number ranges and numbers.
The max number of concurrent calls.
No Content
No content
Error
POST /api/providers/{id}/assignees/{tenant_id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"did_numbers": "text",
"concurrency": 1
}
No content