Reception
Required product: SwitchReceptions are called main numbers in the interface.
Reception properties
Name | Description |
id |
{"id":1}Reception ID. |
name |
{"name":"Support"}Reception name. |
phone_number |
{"phone_number":{"number":"4571999999"}}Phone number associated with this reception. |
Get all receptions
Return all receptions.
Request
GET /api/v2/receptions
Response
Status: 200 OK
{ "receptions": [ { "id": 1, "name": "Hovednummer", "phone_number": { "number": "4571999999" } } ] }
Get a single reception by ID
Return specified reception.
Request
GET /api/v2/receptions/:id
Response
Status: 200 OK
{ "reception": { "id": 1, "name": "Hovednummer", "phone_number": { "number": "4571999999" } } }