Team Invites

Resend invitation email

Changed on

Resend the invitation email with a new token and extended expiry. Team key can be ID or slug. Useful when the original invitation has expired or was not received.

post/teams/{key}/invites/{inviteId}/resend

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