BizKitHub
DocsAPI ReferenceAccount/bff/account/accept-pending-invite
postAccountAdmin BFF

/bff/account/accept-pending-invite

Materializes a cas__user_request_member row into an active cas__organisation_member for the signed-in user, applies pre-granted role/permission codes, and deletes the pending row. The token must be addressed to the signed-in account (e-mail match).

AccountpostBffAccountAccept-pending-invite

Parameters

JSON body

Request body

application/json
tokenstringRequired

Invitation token from /pending-invites.

Length: 8–∞

Response schema

1 status code documented

200Success
success"true"Required
organisationIdnumberRequired
organisationSlugstringRequired
organisationNamestringRequired
memberIdnumberRequired

Response example

application/json
{
  "success": true,
  "organisationId": 0,
  "organisationSlug": "example_organisationSlug",
  "organisationName": "example_organisationName",
  "memberId": 0
}

Request example

POST /bff/account/accept-pending-invite

post
curl -X POST "https://api.bizkithub.com/bff/account/accept-pending-invite" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "token": "example_token"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key