From Bright Pattern Documentation
< 5.2:Provider-api-specification
Revision as of 04:32, 29 May 2024 by BpDeeplTranslateMaintenance (talk | contribs) (Updated via BpDeleteTranslateTags script)
Get List of Access Numbers
This method returns the list of access numbers assigned to the specified tenant with tenantUrl. If the tenant is not specified (i.e., if tenantUrl is absent), it returns the list of unassigned access numbers.
For more information about access number parameters, see the Bright Pattern Contact Center Service Provider Guide, section Access Numbers.
Request
URL | http[s]://<host>:<port>/configapi/v2/accessnumbers[/tenantUrl] |
Method | GET |
Response
Content Type | Access number data (content type: application/JSON) |
Body |
{ "number":"12345678", "count":10, "tenantUrl":"example.com", "trunks":[ { "name":"trunk_name", "prefix":"0" }, ..... ], “smsAccounts”: [ “account name 1”, “account name 2”, ..... ], “media”:”VOICE_AND_TEXT” } |
Code | 200 - Success
403 - Access denied |