Skip to content

Import Meeting

POST
/appointments/bookings/import

Pull a meeting booked OUTSIDE graph8 into the bookings list.

For the meeting somebody put straight into their calendar. The event must be on a calendar the key owner connected; its details are re-read from there. IDEMPOTENT: importing the same event twice returns the first booking rather than creating a second.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Pull a meeting that was booked OUTSIDE graph8 into the bookings list.

IDENTIFIERS ONLY, exactly as the app’s model is - no title, times or attendees. Those are re-read server-side from the caller’s own calendar credential; accepting them from the request would let a caller fabricate a “meeting” and have it stored as fact, counted in reporting and blocking real availability.

object
calendar_id
required
string
event_id
required
string
event_type_id
required

The graph8 event type to import it as.

integer
provider
required
string
Allowed values: google_calendar office365_calendar

Responses

201

Successful Response

object
data
required

An open envelope for a filter, a setting, an embed config or a slot grid.

Open because org settings gain branding fields as the booking page does and the embed config gains styling keys as the widget does. Closing it would drop a field the app had already started returning.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string