API / Plans
POST
/tenant/invitation/claim
Redeem the invitation your sign-up carried
Records the token before claiming it, so a claim that fails can be replayed with the repair route. A refused invitation answers 200 with outcome expired: the account exists either way. Session-only.
Authentification : clé API Bearer requise.
Corps JSON
Invitation token
| Nom | Type | Description |
|---|---|---|
| string | — | |
| token | string | — |
Exemple curl
curl -X POST https://api.sporee.fr/tenant/invitation/claim \
-H "Authorization: Bearer $SPORE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Réponses
| Statut | Description | Type |
|---|---|---|
| 200 | OK | claim_invitation.OwnInvitationResponse |
| 400 | Bad Request | echo.HTTPError |
| 401 | Unauthorized | echo.HTTPError |
| 403 | Forbidden | echo.HTTPError |
| 502 | Bad Gateway | echo.HTTPError |
| 503 | Service Unavailable | echo.HTTPError |
Source machine : openapi.json · opération claimOwnInvitation