Chat

Get all channels

Get a list of channels.

get/v2/chats

Request

  • Base URL
    https://api.sandbox.eu.bandyer.com
  • URL
    https://api.sandbox.eu.bandyer.com/v2/chats
  • Auth
    API key in header apikey

Query parameters

participantsstring
Example:usr_1,usr_2

User ids of participants, can be single user id or user ids of both participants seperated by a comma(,).

offsetinteger

The number of items to skip before starting to collect the result set

limitinteger

The numbers of items to return

fromstring date-time

Date value only days in YYYY-MM-DD

tostring date-time

Date value only days in YYYY-MM-DD

Response

offsetinteger

The number of items to skiped before starting to collect the result set.

limitinteger

The numbers of items to returned.

has_moreboolean

Indicates is there more values.

countinteger

Total number of values returned.

Example response

{
  "channels": [
    {
      "last_message": {
        "date": "2023-01-01T00:00:00Z"
      },
      "creation_date": "2023-01-01T00:00:00Z",
      "deletion_date": "2023-01-01T00:00:00Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.