Naar inhoud

Api requests

Requests made with the organization's API keys

The api request object

Attributes

idint32

Unique identifier

api_key_iduuid | null
api_keys.id

Identifier of the API key used for the request. Either this or grant_id is set

grant_iduuid | null

Identifier of the OAuth grant whose token made the request. Either this or api_key_id is set

request_iduuid | null

Identifier of the request, also on activity_log

created_atread-onlytimestamp with time zone

Creation timestamp

created_ondate

Creation date

endpointtext

Endpoint of the request

methodtext

HTTP method of the request

searchtext

Search params of the request

statusint32

HTTP status code of the response

The api request object
JSON
{
  "id": 0,
  "api_key_id": "00000000-0000-0000-0000-000000000000",
  "grant_id": "00000000-0000-0000-0000-000000000000",
  "request_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2026-11-14T15:13:07.430Z",
  "created_on": "2026-11-14",
  "endpoint": "",
  "method": "",
  "search": "",
  "status": 0
}

List api requests

Requiresorganization:read

Filters

idFilter<int32>

Unique identifier

api_key_idFilter<uuid | null>
api_keys.id

Identifier of the API key used for the request. Either this or grant_id is set

grant_idFilter<uuid | null>

Identifier of the OAuth grant whose token made the request. Either this or api_key_id is set

request_idFilter<uuid | null>

Identifier of the request, also on activity_log

created_atFilter<timestamp with time zone>

Creation timestamp

created_onFilter<date>

Creation date

endpointFilter<text>

Endpoint of the request

methodFilter<text>

HTTP method of the request

searchFilter<text>

Search params of the request

statusFilter<int32>

HTTP status code of the response

Responses

200

A list of api requests with the selected columns

206

Partial Content

400

The request is malformed, for example an unknown column or an invalid filter.

401

The API key is missing or invalid.

403

The API key or access token doesn't have the scope this request needs.

429

The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.

Error responses have a JSON body with a code, message, details and hint. See the introduction for more on errors.
GET/api_requests
curl "https://api.bookingmood.com/v1/api_requests?select=*&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example
JSON
[
  {
    "id": 0,
    "api_key_id": "00000000-0000-0000-0000-000000000000",
    "grant_id": "00000000-0000-0000-0000-000000000000",
    "request_id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2026-11-14T15:13:07.430Z",
    "created_on": "2026-11-14",
    "endpoint": "",
    "method": "",
    "search": "",
    "status": 0
  }
]

Neem de controle over je boekingen. Bouw een bedrijf dat van jou is.

Sluit je aan bij 1200+ onafhankelijke vakantieverhuurbedrijven die Bookingmood gebruiken om hun directe boekingen te vergroten en een sterkere band met hun gasten op te bouwen.

Start je gratis 14-daagse proefperiode