See an invitation before accepting it, as the person signed in
Send the code from the invitation email with a PERSON's access token (no X-Organization), in the BODY: a code never goes in a URL. Answers which organization invites you, with which role and until when, and accepts nothing: accepting is POST /v1/invitations/accept. It checks the code exactly as accepting does and refuses with the same errors, so to an account that is not the invited one it says nothing about the invitation. Codes presented here and to POST /v1/invitations/accept share one budget per person (limits.invitation_codes_per_person in GET /v1).
POST
https://api.invox.page/v1/invitations/inspectAuthorization
Request body JSON required
Returns
200
The organization that invites you, the role and when the invitation expires.
400
validation_failed: The request is not valid · malformed_request: The request body is not valid JSON
JSON
401
unauthenticated: No credential was sent · invalid_credential: The credential is not valid
JSON
403
person_credential_required: This route is for a person, not for a service account · email_not_verified: The email of this person is not verified · invitation_email_mismatch: The invitation was sent to another email address · organization_archived: The organization is archived
JSON
404
invitation_not_found: The invitation does not exist, was revoked or was already used
JSON
409
invitation_expired: The invitation expired
JSON
429
rate_limited: Too many requests
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now
JSON