Event Collaborators

Invite a promoter to collaborate on an event

Changed on

Send a collaboration invitation to a promoter (can be from a different team). Enables cross-team promoter-to-promoter collaboration. Creates a pending invitation with a secure token that expires in 7 days. The invited promoter must accept to create an active collaboration.

post/events/{eventId}/collaborators

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

eventId, string required

Event this invitation applies to

Request body

object required
promoterId, string required

Promoter being invited to collaborate on the event.

permissions, string[] required

Permissions the promoter will receive upon accepting the invitation.

invitedBy, string required

User ID who sent the invitation

Example request

{
  "permissions": []
}

Response

OK

object required
invite, object required

Pending event collaborator invitation. Automatically deleted after 7 days via DynamoDB TTL. When accepted, creates an EventCollaborator record and deletes the invitation.

Example response

{
  "invite": {
    "permissions": []
  }
}

Changes

    • breaking

      added the pattern ^evt_[0-9a-z]{26}$ to the path request parameter eventId

    • breaking

      added the pattern ^-?(?:\*|(?:[a-z][a-z0-9-]*)(?:\.[a-z][a-z0-9-]*)*(?:\.\*|\.bypass|\.[a-z]{3}_[0-9a-z]{26})?)$ to the request property permissions/items

    • breaking

      added the pattern ^pmt_[0-9a-z]{26}$ to the request property promoterId

    7 more changes in this revision