Invites

An invite represents one VTC inviting another VTC to an event.

An invite has a status of pending, accepted or declined.

Invite several VTCs at once

POST /invites accepts an event ID and an array of VTC IDs.

{
  "event_id": "evt_n7a2qm",
  "vtc_ids": ["vtc_4fh18x", "vtc_98md2a", "vtc_w19k3p"],
  "message": "We'd be glad to have you along."
}

The API creates one invite for each receiving VTC.

Filtering invites

GET /v1/invites?direction=incoming&status=pending

Use direction=incoming, direction=sent, or direction=all.