Invites
Accept an invitation to join a resource (deprecated alias; use POST)
Joins the caller to the invited resource with the invite's role(s). Requires `canAcceptInvite` (the invite must be addressed to the caller's email). Existing members receive a member-join push; a billable role also triggers a subscription-update email to the workspace owner.
Deprecated
Joins the caller to the invited resource with the invite's role(s). Requires canAcceptInvite (the invite must be addressed to the caller's email). Existing members receive a member-join push; a billable role also triggers a subscription-update email to the workspace owner.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
inviteId*string
Unique identifier of the invite to accept.
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/invites/accept/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "invite": { "id": "0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a6b", "inviterId": "5bc254e2-253a-4bfc-86e9-cbe19cbf4427", "inviteeEmail": "bernice_koss@hotmail.com", "inviteeId": "6694aecb-0165-405a-8de1-2cdd9ccbaf79", "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6", "resourceType": "workspace", "role": "workspaceAdmin", "additionalRoles": [ "workspaceChatMember" ], "expires": "2023-12-15T12:12:34.784Z", "status": "active", "createdAt": 1704461497862, "updatedAt": 1704461497862, "resource": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "logo": "3c06f846-1ab1-40a9-8645-a19a9fdeae85", "icon": "bc9b3dc5-578a-4929-a13c-7d1a9725e2b0", "color": "string", "settings": {}, "roles": [ "string" ], "status": "active", "createdAt": 1678886400000, "updatedAt": 1678886400000 }, "inviter": "3e5080e8-b7a9-460f-9c66-5a47b4c17d78", "invitee": "ab92699c-315b-4010-b1d2-37c34441e8ae" }, "membership": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6", "resourceType": "workspace", "roles": [ "workspaceOwner" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "resource": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "description": "string", "logo": "3c06f846-1ab1-40a9-8645-a19a9fdeae85", "icon": "bc9b3dc5-578a-4929-a13c-7d1a9725e2b0", "color": "string", "settings": {}, "roles": [ "string" ], "status": "active", "createdAt": 1678886400000, "updatedAt": 1678886400000 }, "user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "firstName": "string", "lastName": "string", "displayName": "string", "avatar": "01d8bd6c-6014-46aa-b5b1-14d337c9c779", "color": "string", "awards": [ "staff" ], "accountType": "standard" } }}