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

NomTypeDescription
emailstring—
tokenstring—

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

StatutDescriptionType
200OKclaim_invitation.OwnInvitationResponse
400Bad Requestecho.HTTPError
401Unauthorizedecho.HTTPError
403Forbiddenecho.HTTPError
502Bad Gatewayecho.HTTPError
503Service Unavailableecho.HTTPError

Source machine : openapi.json · opération claimOwnInvitation