Brume · Docs
API

Invitations

Référence OpenAPI générée pour le domaine « Invitations ».

POST
/api/workspace-invitations/{token}/accept

Create or activate membership, consume the invitation, and emit audit events.

Path Parameters

token*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/workspace-invitations/string/accept" \  -H "Content-Type: application/json" \  -d '{}'
{}
GET
/api/workspace-invitations/{token}/validate

Return invitation details and account status for a valid, unexpired token.

Path Parameters

token*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/workspace-invitations/string/validate"
{  "email": "string",  "tenant_name": "string",  "tenant_slug": "string",  "user_exists": true,  "valid": true,  "workspace_name": "string"}