Skip to main content
POST
Book a meeting someone accepted
Adds the accepted time to your primary calendar and invites attendees, as email addresses. draft is the mdrf_ id of a reply draft whose acceptance is set, from conversations_get. Fails with MeetingUnavailable when the time is no longer free; set force to book it anyway. Requires the events:write scope.

Authorizations

x-api-key
string
header
required

An Avazal API key (avz_…) created in Settings → API keys.

Body

application/json
draft
string
required

The mdrf_ id of the reply draft.

attendees
string[]
required

an array of at most 50 item(s)

Required array length: 1 - 50 elements
force
boolean

Response

A calendar event or Slack huddle. Reading one adds its attendees, description and email thread.

A calendar event or Slack huddle. Reading one adds its attendees, description and email thread.

id
string
required

The object's id. Every operation that takes it accepts it.

url
string | null
required

A link that opens the object where it lives.

source
enum<string>
required

Where the object lives. Avazal is the source of its own objects.

Available options:
avazal,
slack,
gmail,
google-calendar,
google-drive,
linear,
github,
contacts
title
string
required
start
string | null
required

An ISO time, or a YYYY-MM-DD date for an all-day event. null for a meeting not on your calendar yet.

end
string | null
required
allDay
boolean
required
kind
enum<string>
Available options:
default,
focusTime,
outOfOffice,
workingLocation
availability
enum<string>
Available options:
busy,
free
status
enum<string>
Available options:
confirmed,
tentative
calendarId
string

The Google calendar the event is on, as listed under accounts_list provider.

organizer
string | null
attendees
object[]
description
string | null
recurring
boolean
thread
object | null

The email thread about the event, as in conversations_get.

conversation
string

For a huddle, the channel or DM it happened in.

Pattern: ^chcv_[\s\S]*?$
live
boolean

For a huddle, whether it is happening now.

memberIds
string[]

For a huddle, the Slack member ids who joined.

notesFileId
string | null

For a huddle, the notes canvas as /, readable with documents_get.