Invite a promoter to collaborate on an event
Changed onSend 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.
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
Event this invitation applies to
Request body
Promoter being invited to collaborate on the event.
Permissions the promoter will receive upon accepting the invitation.
User ID who sent the invitation
Example request
{
"permissions": []
}Response
OK
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 thepathrequest parametereventId - 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 propertypermissions/items - breaking
added the pattern
^pmt_[0-9a-z]{26}$to the request propertypromoterId
7 more changes in this revision
- breaking