Teams
Teams share event types and assign each booking to a free member. See Teams and round-robin for how assignment works, pricing and the CLI. Creating a team needs the Teams plan; the team endpoints need an API key.
Owner-only calls return forbidden to members. The /public/teams/... endpoints need no key and are what the team booking page calls: look up the page, list open slots, then book one.
GET /teams
List your teams. Auth: API key.
Response 200
Body (array of objects)
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string (uuid) | yes | - |
slug | string | yes | - |
name | string | yes | - |
ownerHostId | string (uuid) | yes | - |
role | "owner" | "member" | yes | - |
memberCount | integer | yes | -9007199254740991–9007199254740991 |
createdAt | string | yes | - |
Errors: unauthorized
curl -X GET "https://devalender.com/api/teams" \
-H "Authorization: Bearer dvl_..."POST /teams
Create a team. Auth: API key.
Request body
| Field | Type | Required | Default / limits |
|---|---|---|---|
name | string | yes | 1–100 chars |
slug | string | yes | - |
Response 201
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string (uuid) | yes | - |
slug | string | yes | - |
name | string | yes | - |
ownerHostId | string (uuid) | yes | - |
role | "owner" | "member" | yes | - |
memberCount | integer | yes | -9007199254740991–9007199254740991 |
createdAt | string | yes | - |
Errors: invalid_request, unauthorized, teams_required, billing_unavailable, slug_taken
curl -X POST "https://devalender.com/api/teams" \
-H "Authorization: Bearer dvl_..." \
-H "Content-Type: application/json" \
-d '{"name":"string","slug":"string"}'GET /teams/:id
Get a team with its members. Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string (uuid) | yes | - |
slug | string | yes | - |
name | string | yes | - |
ownerHostId | string (uuid) | yes | - |
role | "owner" | "member" | yes | - |
memberCount | integer | yes | -9007199254740991–9007199254740991 |
createdAt | string | yes | - |
members | object[] | yes | - |
members[].hostId | string (uuid) | yes | - |
members[].displayName | string | yes | - |
members[].handle | string | yes | - |
members[].role | "owner" | "member" | yes | - |
members[].createdAt | string | yes | - |
Errors: unauthorized, forbidden, not_found
curl -X GET "https://devalender.com/api/teams/<id>" \
-H "Authorization: Bearer dvl_..."PATCH /teams/:id
Rename a team or change its slug (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Request body
| Field | Type | Required | Default / limits |
|---|---|---|---|
name | string | no | 1–100 chars |
slug | string | no | - |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string (uuid) | yes | - |
slug | string | yes | - |
name | string | yes | - |
ownerHostId | string (uuid) | yes | - |
role | "owner" | "member" | yes | - |
memberCount | integer | yes | -9007199254740991–9007199254740991 |
createdAt | string | yes | - |
Errors: invalid_request, unauthorized, forbidden, not_found, slug_taken
curl -X PATCH "https://devalender.com/api/teams/<id>" \
-H "Authorization: Bearer dvl_..." \
-H "Content-Type: application/json" \
-d '{"name":"string"}'DELETE /teams/:id
Delete a team (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Response 204
No body.
Errors: unauthorized, forbidden, not_found
curl -X DELETE "https://devalender.com/api/teams/<id>" \
-H "Authorization: Bearer dvl_..."GET /teams/:id/bookings
List bookings for the team’s event types (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Query parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
from | string (date-time) | no | - |
to | string (date-time) | no | - |
status | "confirmed" | "cancelled" | no | - |
order | "asc" | "desc" | no | default "asc" |
limit | integer | no | default 50; 1–200 |
cursor | string | no | min 1 chars |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
items | object[] | yes | - |
items[].id | string (uuid) | yes | - |
items[].eventTypeId | string (uuid) | yes | - |
items[].hostId | string (uuid) | yes | - |
items[].inviteeName | string | yes | - |
items[].inviteeEmail | string (email) | yes | - |
items[].inviteeTimezone | string | yes | - |
items[].startAt | string (date-time) | yes | - |
items[].endAt | string (date-time) | yes | - |
items[].status | "confirmed" | "cancelled" | yes | - |
items[].cancelReason | string | null | yes | - |
items[].rescheduledFromId | string (uuid) | null | yes | - |
items[].sessionId | string (uuid) | no | - |
items[].teamId | string (uuid) | null | no | - |
items[].teamName | string | null | no | - |
items[].eventTypeTitle | string | no | - |
items[].createdAt | string (date-time) | yes | - |
nextCursor | string | null | yes | - |
Errors: invalid_request, unauthorized, forbidden, not_found
curl -X GET "https://devalender.com/api/teams/<id>/bookings" \
-H "Authorization: Bearer dvl_..."GET /teams/:id/invites
List pending invites. Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Response 200
Body (array of objects)
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string (uuid) | yes | - |
email | string | yes | - |
expiresAt | string | yes | - |
createdAt | string | yes | - |
Errors: unauthorized, forbidden, not_found
curl -X GET "https://devalender.com/api/teams/<id>/invites" \
-H "Authorization: Bearer dvl_..."POST /teams/:id/invites
Invite someone by email (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Request body
| Field | Type | Required | Default / limits |
|---|---|---|---|
email | string (email) | yes | max 254 chars |
Response 201
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string (uuid) | yes | - |
email | string | yes | - |
expiresAt | string | yes | - |
createdAt | string | yes | - |
Errors: invalid_request, unauthorized, forbidden, not_found, team_full, already_member, email_failed, rate_limited
curl -X POST "https://devalender.com/api/teams/<id>/invites" \
-H "Authorization: Bearer dvl_..." \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]"}'DELETE /teams/:id/invites/:inviteId
Revoke a pending invite (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
inviteId | string | yes | - |
Response 204
No body.
Errors: unauthorized, forbidden, not_found
curl -X DELETE "https://devalender.com/api/teams/<id>/invites/<inviteId>" \
-H "Authorization: Bearer dvl_..."POST /team-invites/:token/accept
Accept an invite with the token from the invite email. Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
token | string | yes | - |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
teamId | string (uuid) | yes | - |
slug | string | yes | - |
name | string | yes | - |
Errors: unauthorized, not_found, invite_gone, invite_email_mismatch, team_full, already_member
curl -X POST "https://devalender.com/api/team-invites/<token>/accept" \
-H "Authorization: Bearer dvl_..."DELETE /teams/:id/members/me
Leave a team (the owner cannot). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Response 204
No body.
Errors: unauthorized, forbidden, not_found, owner_cannot_leave
curl -X DELETE "https://devalender.com/api/teams/<id>/members/me" \
-H "Authorization: Bearer dvl_..."DELETE /teams/:id/members/:hostId
Remove a member (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
hostId | string | yes | - |
Response 204
No body.
Errors: unauthorized, forbidden, not_found
curl -X DELETE "https://devalender.com/api/teams/<id>/members/<hostId>" \
-H "Authorization: Bearer dvl_..."POST /teams/:id/members/:hostId/event-types
Add a member to every team event type (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
hostId | string | yes | - |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
added | integer | yes | 0–9007199254740991 |
Errors: unauthorized, forbidden, not_found
curl -X POST "https://devalender.com/api/teams/<id>/members/<hostId>/event-types" \
-H "Authorization: Bearer dvl_..."GET /teams/:id/event-types
List team event types. Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Response 200
Body (array of objects)
| Field | Type | Required | Default / limits |
|---|---|---|---|
slug | string | yes | - |
title | string | yes | 1–120 chars |
description | string | yes | default ""; max 2000 chars |
durationMinutes | integer | yes | 5–720 |
bufferBeforeMinutes | integer | yes | default 0; 0–240 |
bufferAfterMinutes | integer | yes | default 0; 0–240 |
minNoticeMinutes | integer | yes | default 0; 0–9007199254740991 |
maxPerDay | integer | null | yes | default null |
locationKind | "url" | "phone" | "in_person" | "custom" | yes | default "url" |
locationValue | string | yes | default ""; max 500 chars |
active | boolean | yes | default true |
kind | "one_on_one" | yes | - |
defaultCapacity | integer | yes | default 10; 1–500 |
color | "brand" | "sky" | "emerald" | "amber" | "rose" | "violet" | "teal" | "orange" | null | yes | default null |
id | string (uuid) | yes | - |
hostId | string (uuid) | yes | - |
createdAt | string (date-time) | yes | - |
teamId | string (uuid) | yes | - |
memberHostIds | string (uuid)[] | yes | - |
Errors: unauthorized, forbidden, not_found
curl -X GET "https://devalender.com/api/teams/<id>/event-types" \
-H "Authorization: Bearer dvl_..."POST /teams/:id/event-types
Create a team event type (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
Request body
| Field | Type | Required | Default / limits |
|---|---|---|---|
slug | string | no | - |
title | string | yes | 1–120 chars |
description | string | no | default ""; max 2000 chars |
durationMinutes | integer | yes | 5–720 |
bufferBeforeMinutes | integer | no | default 0; 0–240 |
bufferAfterMinutes | integer | no | default 0; 0–240 |
minNoticeMinutes | integer | no | default 0; 0–9007199254740991 |
maxPerDay | integer | null | no | default null |
locationKind | "url" | "phone" | "in_person" | "custom" | no | default "url" |
locationValue | string | no | default ""; max 500 chars |
active | boolean | no | default true |
kind | "one_on_one" | no | default "one_on_one" |
defaultCapacity | integer | no | default 10; 1–500 |
color | "brand" | "sky" | "emerald" | "amber" | "rose" | "violet" | "teal" | "orange" | null | no | default null |
memberHostIds | string (uuid)[] | no | 1–50 items |
Response 201
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
slug | string | yes | - |
title | string | yes | 1–120 chars |
description | string | yes | default ""; max 2000 chars |
durationMinutes | integer | yes | 5–720 |
bufferBeforeMinutes | integer | yes | default 0; 0–240 |
bufferAfterMinutes | integer | yes | default 0; 0–240 |
minNoticeMinutes | integer | yes | default 0; 0–9007199254740991 |
maxPerDay | integer | null | yes | default null |
locationKind | "url" | "phone" | "in_person" | "custom" | yes | default "url" |
locationValue | string | yes | default ""; max 500 chars |
active | boolean | yes | default true |
kind | "one_on_one" | yes | - |
defaultCapacity | integer | yes | default 10; 1–500 |
color | "brand" | "sky" | "emerald" | "amber" | "rose" | "violet" | "teal" | "orange" | null | yes | default null |
id | string (uuid) | yes | - |
hostId | string (uuid) | yes | - |
createdAt | string (date-time) | yes | - |
teamId | string (uuid) | yes | - |
memberHostIds | string (uuid)[] | yes | - |
Errors: invalid_request, unauthorized, forbidden, not_found, reserved_slug, slug_taken
curl -X POST "https://devalender.com/api/teams/<id>/event-types" \
-H "Authorization: Bearer dvl_..." \
-H "Content-Type: application/json" \
-d '{"title":"string","durationMinutes":5}'PATCH /teams/:id/event-types/:eventTypeId
Update a team event type (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
eventTypeId | string | yes | - |
Request body
| Field | Type | Required | Default / limits |
|---|---|---|---|
slug | string | no | - |
title | string | no | 1–120 chars |
description | string | no | max 2000 chars |
durationMinutes | integer | no | 5–720 |
bufferBeforeMinutes | integer | no | 0–240 |
bufferAfterMinutes | integer | no | 0–240 |
minNoticeMinutes | integer | no | 0–9007199254740991 |
maxPerDay | integer | null | no | - |
locationKind | "url" | "phone" | "in_person" | "custom" | no | - |
locationValue | string | no | max 500 chars |
active | boolean | no | - |
defaultCapacity | integer | no | 1–500 |
color | "brand" | "sky" | "emerald" | "amber" | "rose" | "violet" | "teal" | "orange" | null | no | - |
memberHostIds | string (uuid)[] | no | 1–50 items |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
slug | string | yes | - |
title | string | yes | 1–120 chars |
description | string | yes | default ""; max 2000 chars |
durationMinutes | integer | yes | 5–720 |
bufferBeforeMinutes | integer | yes | default 0; 0–240 |
bufferAfterMinutes | integer | yes | default 0; 0–240 |
minNoticeMinutes | integer | yes | default 0; 0–9007199254740991 |
maxPerDay | integer | null | yes | default null |
locationKind | "url" | "phone" | "in_person" | "custom" | yes | default "url" |
locationValue | string | yes | default ""; max 500 chars |
active | boolean | yes | default true |
kind | "one_on_one" | yes | - |
defaultCapacity | integer | yes | default 10; 1–500 |
color | "brand" | "sky" | "emerald" | "amber" | "rose" | "violet" | "teal" | "orange" | null | yes | default null |
id | string (uuid) | yes | - |
hostId | string (uuid) | yes | - |
createdAt | string (date-time) | yes | - |
teamId | string (uuid) | yes | - |
memberHostIds | string (uuid)[] | yes | - |
Errors: invalid_request, unauthorized, forbidden, not_found, slug_taken
curl -X PATCH "https://devalender.com/api/teams/<id>/event-types/<eventTypeId>" \
-H "Authorization: Bearer dvl_..." \
-H "Content-Type: application/json" \
-d '{"slug":"string"}'DELETE /teams/:id/event-types/:eventTypeId
Delete a team event type (owner only). Auth: API key.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
id | string | yes | - |
eventTypeId | string | yes | - |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
result | "deleted" | "deactivated" | yes | - |
Errors: unauthorized, forbidden, not_found
curl -X DELETE "https://devalender.com/api/teams/<id>/event-types/<eventTypeId>" \
-H "Authorization: Bearer dvl_..."GET /public/teams/:teamSlug
A team’s page and bookable event types. Auth: none.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
teamSlug | string | yes | - |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
team | object | yes | - |
team.slug | string | yes | - |
team.name | string | yes | - |
eventTypes | object[] | yes | - |
eventTypes[].slug | string | yes | - |
eventTypes[].title | string | yes | 1–120 chars |
eventTypes[].description | string | yes | default ""; max 2000 chars |
eventTypes[].durationMinutes | integer | yes | 5–720 |
eventTypes[].bufferBeforeMinutes | integer | yes | default 0; 0–240 |
eventTypes[].bufferAfterMinutes | integer | yes | default 0; 0–240 |
eventTypes[].minNoticeMinutes | integer | yes | default 0; 0–9007199254740991 |
eventTypes[].maxPerDay | integer | null | yes | default null |
eventTypes[].locationKind | "url" | "phone" | "in_person" | "custom" | yes | default "url" |
eventTypes[].locationValue | string | yes | default ""; max 500 chars |
eventTypes[].kind | "one_on_one" | "group" | yes | default "one_on_one" |
eventTypes[].id | string (uuid) | yes | - |
branding | boolean | yes | - |
Errors: not_found
curl -X GET "https://devalender.com/api/public/teams/<teamSlug>"GET /public/teams/:teamSlug/event-types/:eventSlug
One team event type. Auth: none.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
teamSlug | string | yes | - |
eventSlug | string | yes | - |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
team | object | yes | - |
team.slug | string | yes | - |
team.name | string | yes | - |
eventType | object | yes | - |
eventType.slug | string | yes | - |
eventType.title | string | yes | 1–120 chars |
eventType.description | string | yes | default ""; max 2000 chars |
eventType.durationMinutes | integer | yes | 5–720 |
eventType.bufferBeforeMinutes | integer | yes | default 0; 0–240 |
eventType.bufferAfterMinutes | integer | yes | default 0; 0–240 |
eventType.minNoticeMinutes | integer | yes | default 0; 0–9007199254740991 |
eventType.maxPerDay | integer | null | yes | default null |
eventType.locationKind | "url" | "phone" | "in_person" | "custom" | yes | default "url" |
eventType.locationValue | string | yes | default ""; max 500 chars |
eventType.kind | "one_on_one" | "group" | yes | default "one_on_one" |
eventType.id | string (uuid) | yes | - |
branding | boolean | yes | - |
Errors: not_found
curl -X GET "https://devalender.com/api/public/teams/<teamSlug>/event-types/<eventSlug>"GET /public/teams/:teamSlug/event-types/:eventSlug/slots
Open slots when any member is free, grouped by day in tz. Auth: none.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
teamSlug | string | yes | - |
eventSlug | string | yes | - |
Query parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
from | string (date) | string (date-time) | yes | - |
to | string (date) | string (date-time) | yes | - |
tz | string | no | min 1 chars |
booking | string (uuid) | no | - |
token | string | no | min 1 chars |
Response 200
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
timezone | string | yes | - |
days | object[] | yes | - |
days[].date | string (date) | yes | - |
days[].slots | object[] | yes | - |
days[].slots[].start | string (date-time) | yes | - |
days[].slots[].end | string (date-time) | yes | - |
Errors: invalid_request, not_found
curl -X GET "https://devalender.com/api/public/teams/<teamSlug>/event-types/<eventSlug>/slots?from=2030-01-07&to=2030-01-07"POST /public/teams/:teamSlug/event-types/:eventSlug/bookings
Book a team slot; a free member is assigned. Auth: none.
Path parameters
| Field | Type | Required | Default / limits |
|---|---|---|---|
teamSlug | string | yes | - |
eventSlug | string | yes | - |
Request body
| Field | Type | Required | Default / limits |
|---|---|---|---|
start | string (date-time) | yes | - |
inviteeName | string | yes | 1–100 chars |
inviteeEmail | string (email) | yes | - |
inviteeTimezone | string | yes | min 1 chars |
Response 201
Body
| Field | Type | Required | Default / limits |
|---|---|---|---|
booking | object | yes | - |
booking.id | string (uuid) | yes | - |
booking.eventTypeId | string (uuid) | yes | - |
booking.hostId | string (uuid) | yes | - |
booking.inviteeName | string | yes | - |
booking.inviteeEmail | string (email) | yes | - |
booking.inviteeTimezone | string | yes | - |
booking.startAt | string (date-time) | yes | - |
booking.endAt | string (date-time) | yes | - |
booking.status | "confirmed" | "cancelled" | yes | - |
booking.cancelReason | string | null | yes | - |
booking.rescheduledFromId | string (uuid) | null | yes | - |
booking.sessionId | string (uuid) | no | - |
booking.teamId | string (uuid) | null | no | - |
booking.teamName | string | null | no | - |
booking.eventTypeTitle | string | no | - |
booking.createdAt | string (date-time) | yes | - |
manageToken | string | yes | - |
branding | boolean | yes | - |
demo | boolean | no | - |
Errors: invalid_request, not_found, slot_unavailable, invalid_slot, event_type_inactive, already_booked, rate_limited
curl -X POST "https://devalender.com/api/public/teams/<teamSlug>/event-types/<eventSlug>/bookings" \
-H "Content-Type: application/json" \
-d '{"start":"2030-01-07T10:00:00Z","inviteeName":"string","inviteeEmail":"[email protected]","inviteeTimezone":"string"}'