API Authentication

You can authenticate to the Cheqroom API using API tokens. API tokens can be managed through Settings > Integrations > API.

Make sure to authenticate each API request by sending the API token in the Authorization header of the request.

For all upcoming requests, when there is some text (parameter) between [] in blue, you must replace the entire word with the requested input.

JSON API Encoding & Syntax

Data Types

Type Description Examples
datetime ISO formatted datetime 2013-08-20T00:00:00Z2013-07-10T16:21:02.116+0000
list jQuery formatted arrays name[]=Steve&name[]=John
boolean Boolean fields TrueFalse
embedded doc fields Python fields setting profile__useOrders=True

Query Operators

The double underscore after a field name is used to specify the query operator. This allows for more complex and specific queries to be performed.

Comparison Operators

  1. Not equal: name__ne=Vincent
  2. Less than: due__lt=2024-07-10T16:21:02.116+0000
  3. Less than or equal: due__lte=2024-07-10T16:21:02.116+0000
  4. Greater than: due__gt=2024-07-10T16:21:02.116+0000