API
group.invites.consumeInvite
API
group.invites.consumeInvite
Consumes a group invite to join a group.
POST https://group.api.rivet.gg/v1/invites/{group_invite_code}/consume
curl -X POST -d '@body.json' 'https://group.api.rivet.gg/v1/invites/{group_invite_code}/consume'
Authorizations
Authorization[header]required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
group_invite_coderequired
string
Provided by rivet.api.group#CreateInviteResponse$code
.
Response
group_id
string
curl -X POST -d '@body.json' 'https://group.api.rivet.gg/v1/invites/{group_invite_code}/consume'