List account SLAs
GET {{baseUrl}}/api/v1/accounts/:account_id/sla
This API lists a particular number of SLAs associated with an account, based on the limit defined.
OAuth Scope
Desk.settings.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Index number, starting from which the SLAs must be fetched | |
limit | string | Number of SLAs to list | |
departmentId | string | ID of the department from which the SLAs must be fetched. If you do not pass this parameter in the API request, SLAs from all permitted departments will be listed. | |
status | string | Activation status of the SLAs. Values allowed are: ACTIVE and INACTIVE |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"slaName":"Priority-based SLAs","id":"45794000000419372","isActive":true,"department":{"name":"Tesla","id":"45794000000418059"}},{"slaName":"SLA","id":"45794000000570017","isActive":true,"department":{"name":"BMW","id":"45794000000006907"}},{"slaName":"Silver SLAs","id":"45794000000587464","isActive":true,"department":{"name":"Jaguar","id":"45794000000586067"}}]}