API reference

Account

Use this to confirm a key works and see which scopes it has. It needs no particular scope.

Get the current account

GET/api/v1/me

Returns the account the API key belongs to, its timezone and the key's scopes.

Scope: any valid key

curl "https://calendeur.com/api/v1/me" \
  -H "Authorization: Bearer $CALENDEUR_API_KEY"
Response · 200
{
  "object": "account",
  "user_id": "user_2hX",
  "organization_id": null,
  "name": "Jordan Lee",
  "email": "jordan@example.com",
  "username": "jordan",
  "timezone": "America/New_York",
  "scopes": [
    "read:bookings",
    "execute:bookings"
  ]
}