For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

get
/conversation-rejection-reasons/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
pageintegerOptional

The page number to return.

Default: 1
limitintegerOptional

The number of items to return per page.

Default: 10
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
Responses
200

A paginated list of rejection reasons.

application/json

A paginated list of conversation rejection reasons.

countintegerOptional

Total number of rejection reasons.

nextstring · nullableOptional

URL of the next page, or null if this is the last page.

previousstring · nullableOptional

URL of the previous page, or null if this is the first page.

get/conversation-rejection-reasons/
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?