Verify an invitation token
post
https://api.expiryedge.com/v1/verify_invitation_tokenPublic - 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.
tokenstringrequiredThetokenquery value from the invitation link.
200
The invitation is valid.
invitationobjectrequiredorganization_namestringrequired
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. |
