Assignees
Get a collection of assignees of provider.
Authorizations
Path parameters
idall ofRequired
The unique ID of trunk.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
4XX
Error
get
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.
Authorizations
Path parameters
idall ofRequired
The unique ID of trunk.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
tenant_idall ofRequired
The unique ID of tenant.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
404
Not Found
get
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.
Authorizations
Path parameters
idall ofRequired
The unique ID of trunk.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
tenant_idall ofRequired
The unique ID of tenant.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Body
did_numbersstringOptional
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.
concurrencyinteger · int32Optional
The max number of concurrent calls.
Responses
204
No Content
4XX
Error
post
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