List rejection reasons
Returns a paginated list of all rejection reasons, active and retired, ordered by code. There are no filters; use sort to change the ordering.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idA paginated list of rejection reasons.
A paginated list of conversation rejection reasons.
Total number of rejection reasons.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested page does not exist — it is past the last page or not a valid page number. Paginated list endpoints answer with 404 rather than an empty page. The literal value last is accepted and returns the final page.
GET /api/v1/remote/1/conversation-rejection-reasons/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"pk": 3,
"code": "profanity",
"text": "Posts must not contain profanity or insults.",
"is_active": true,
"translations": {
"en-us": {
"text": "Posts must not contain profanity or insults."
}
}
}
]
}Last updated
Was this helpful?

