Skip to main content
POST
Invite guests to an Event

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token

Path Parameters

uuid
string
required

Event UUID. Accepts the canonical UUID (e.g. 018ff5cd-6dc4-7d57-bcbc-374702ca8b38) or its short-uuid (Flickr Base58) form (e.g. 1cbZYoAFoJdwqN4tixezd5).

Body

application/json
emails
string<email>[]

Email addresses to invite, up to 200 per request. Send at least one email, contactIds, contactTagIds or pastEventUuids.

Example:
contactIds
string<uuid>[]

Ids of the authenticated user's own contacts, from GET /v2/contacts. Each contact is invited at its email, and they count with emails and contactTagIds toward the 200 guests one request can invite. Requires the contacts feature. A contact the user doesn't own is a 400.

Required array length: 1 - 200 elements
Example:
contactTagIds
string<uuid>[]

Ids of the authenticated user's own contact tags, from the tags of each contact in GET /v2/contacts. Every contact with one of these tags is invited, and they count with emails and contactIds toward the 200 guests one request can invite. Requires the contacts feature. A tag the user doesn't own is a 400.

Required array length: 1 - 20 elements
Example:
pastEventUuids
string<uuid>[]

Uuids of other Events, usually past ones, such as those GET /v2/events returns. Everyone with a confirmed registration on them is invited, and they count with emails, contactIds and contactTagIds toward the 200 guests one request can invite. Only Events the authenticated user owns, hosts or co-hosts, or that belong to a team where they have the calEvent.read permission, add guests; any other Event adds nobody.

Required array length: 1 - 20 elements
Example:
hostNote
string

A personal note from the host, included in the invitation email.

Maximum string length: 500

Response

status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object
required