Get all chat topics (manager)

GET /manager/chat-topics

Query parameters

  • page integer

    page number

  • per_page integer

    number of items per page

  • sort string

    example :to sort the chat topic by id or position (-id_chat_topic: descending, id_chat_topic: ascending)

    Values are id_chat_topic or position.

  • filter[active] boolean

    retrieve chat topic by active status.

Responses

  • 200 application/json

    Returns all the chat topics

    Hide response attributes Show response attributes object
    • current_page integer(int32)
    • data array[object]

      Additional properties are allowed.

    • first_page_url string
    • from integer(int32)
    • last_page integer(int32)
    • last_page_url string
    • next_page_url string
    • path string
    • per_page integer(int32)
    • prev_page_url string(nullable)
    • to integer(int32)
    • total integer(int32)
  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

GET /manager/chat-topics
curl \
 --request GET 'https://domain.tld/api/v2/manager/chat-topics' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "current_page": 42,
  "data": [
    {}
  ],
  "first_page_url": "string",
  "from": 42,
  "last_page": 42,
  "last_page_url": "string",
  "links": [
    {
      "url": "string",
      "label": "string",
      "active": true
    }
  ],
  "next_page_url": "string",
  "path": "string",
  "per_page": 42,
  "prev_page_url": "string",
  "to": 42,
  "total": 42
}
Response examples (401)
{
  "message": "Unauthorized."
}