Team Invites
Get pending invitation by ID
Changed onRetrieve a pending team invitation by its ID. Team key can be ID or slug.
get/teams/{key}/invites/{inviteId}
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
key, string required
Team identifier (ID or slug)
inviteId, string required
Team invite ID to retrieve
Response
OK
object required
invite, object required
Pending team invitation. Automatically deleted after 7 days via DynamoDB TTL. When accepted, creates a TeamMember record and deletes the invitation.
Example response
{
"invite": {
"permissions": []
}
}Changes
- breaking
added the pattern
^inv_[0-9a-z]{26}$to thepathrequest parameterinviteId - info
the
invite/access/promoterIds/anyOf[subschema #1]/itemsresponse's property pattern^pmt_[0-9a-z]{26}$was added for the status - info
the
invite/idresponse's property pattern^inv_[0-9a-z]{26}$was added for the status
3 more changes in this revision
- breaking