Description

Get list of all status reasons of an account, for all statuses.

URI

Method URL
GET https://{domain}/api/account/{accountId}/configuration/le-agents/status-reasons

Path Parameters

Parameter Description Notes
accountId LP account ID Type: String

Query Parameters

Parameter Description Notes
include_deleted Whether the API should include deleted items in the response or not Default: false

Request

Request Headers

Header Description
Authorization Contains token string to allow request authentication and authorization. See the authentication documentation for more details.

Request Body

No body required.

Response

Response Headers

Header Description
ac-revision This parameter specifies the version of the data object retrieved. You can use the If-Match parameter in the request to retrieve a specifc version using this parameter's value.

Response Body

[
  {
    "text":"some reason text",
    "state":"Away",
    "enabled":true,
    "id":725987312,
    "deleted":false
  },
  {
    "text":"another reason text",
    "state":"Away",
    "enabled":true,
    "id":725987412,
    "deleted":false
  }
]

Response Codes

Code Description
200 OK
400 Bad Request
401 Not Authenticated
403 Not Authorized
404 Data not found
500 Internal server error