Team Invites

Get pending invitation by ID

Changed on

Retrieve a pending team invitation by its ID. Team key can be ID or slug.

get/teams/{key}/invites/{inviteId}

Request

  • Base URL
    https://api.session.services
  • Auth
    API 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 the path request parameter inviteId

    • info

      the invite/access/promoterIds/anyOf[subschema #1]/items response's property pattern ^pmt_[0-9a-z]{26}$ was added for the status

    • info

      the invite/id response's property pattern ^inv_[0-9a-z]{26}$ was added for the status

    3 more changes in this revision