Verify an invitation token

posthttps://api.expiryedge.com/v1/verify_invitation_token
Public - no API key60/min
Request
curl -X POST 'https://api.expiryedge.com/v1/verify_invitation_token' \
  -H "Content-Type: application/json" \
  -d '{
  "token": "inv_5Rt2kWq"
}'
Response
{
  "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 parameters

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

Returns

200
The invitation is valid.
  • invitationobjectrequired
  • organization_namestringrequired

Errors

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.