Skip to navigation

Read an open invite from its link

Shows the invite page before the person signs in: the account’s name, the role, the invited address with all but its first letter hidden, and when the invite expires. It needs no credential and grants nothing: joining still needs POST /v1/invites/{invite_id}/accept, with the same id, from a session whose verified email is the invited address.

An unknown, used, revoked or expired token, or one that is not an invite id at all, gets the same 404 invite_not_found. More than 600 reads an hour from one sender get 429 rate_limited. The website calls from its server, so that limit covers all its visitors together. The token carries 130 random bits, so guessing gains nothing within it.

curl -sS "$MEADOW_BASE_URL/v1/invite-links/$INVITE_ID"

Path parameters

tokenstringRequired<=128 characters

The invite’s id, as it appears in the invite link.

Response headers

x-request-idstringOptional

Meadow’s id for this request, req_ and 24 hex characters. Every response carries it, including errors, streams and unknown routes. Every error in the Error schema repeats it as request_id. Quote it when you report a problem.

Response

The open invite.
objectenum
Allowed values:
account_namestring
The name of the account the invite joins.
roleenum
The role the person gets.
Allowed values:
emailstring

The invited address with all but its first letter hidden, as a***@example.com.

expires_atdatetime
When the invite stops working.

Errors

404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error