Invitations
Invite members
POST
/v1/workspaces/{workspaceId}/invitationsInvites one or more email addresses with the same role. Requires an admin key. Send between 1 and 50 addresses. Each address returns its own outcome.
Authentication
Send your Spark API key with every request. The value is the full bearer token Spark returned when you created the key. See Authentication.
Authorization: Bearer <SPARK_API_KEY>Path parameters
workspaceIdstring
The workspace id.
Request body
emailsstring[]
Email addresses to invite. Send 1 to 50 addresses.
rolestring
Role granted when the person accepts. One of: viewer, editor, admin.