Skip to content

Look up an invitation

GET/v1/workspace-invitations/{token}/lookup

Returns the basic details of an invitation from the token in its email link, so a signed-out invitee can be sent to sign in or sign up. account_exists tells you which.

This endpoint is public and needs no API key or workspace: holding the token is the credential. status is reported as expired once the invitation is past its expiry, even if it was never marked expired. Responses are sent with Cache-Control: no-store.

Authentication

This endpoint is public. No API key is needed.

Path parameters

tokenstringRequired

The secret token from the invitation email link (/invitations/<token>).

Response

200

The invitation's details.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataobject
Show attributes
emailstringRequired

The invited email address.

rolestringRequired

Role the invitee gets when they accept.

One ofadmindeveloperviewer

statusstringRequired

Invitation status. expired once past expires_at.

One ofpendingacceptedrevokedexpired

expires_atstring (date-time)Required

When the invitation expires.

workspace_namestringRequired

Name of the workspace.

invited_bystring

Username of the person who sent the invitation. Omitted when unknown.

account_existsbooleanRequired

Whether a RumptyCloud account already uses the invited email. Use it to choose between sign-in and sign-up.

Errors

StatusMeaning
404The token does not match any invitation (invitation not found).
429Rate limit exceeded. Wait the number of seconds in the Retry-After header before retrying.

Errors use the standard error format.