Verify an invitation token

posthttps://api.expiryedge.com/v1/verify_invitation_token
Öffentlich - kein API-Schlüssel60/min
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/verify_invitation_token' \
  -H "Content-Type: application/json" \
  -d '{
  "token": "inv_5Rt2kWq"
}'
Antwort
{
  "invitation": {
    "email": "maria@northwinddental.com",
    "organization_id": "org_northwind",
    "invited_by": "u_71bXq"
  },
  "organization_name": "Northwind Dental"
}

Used by the registration page to prefill the invitee's email and organization.

Body-Parameter

application/json
  • tokenstringerforderlich
    The token query value from the invitation link.

Rückgabe

200
The invitation is valid.
  • invitationobjecterforderlich
  • organization_namestringerforderlich

Fehler

400
Token missing, or the invitation was already used or cancelled.
404
The record does not exist or is not in your organization.
405
The endpoint does not accept this HTTP method.
410
The invitation has expired.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.