Preview an invite
What an invite link is for, before signing in. No session; the token in the body is the credential (never in the URL, so it stays out of access logs). Rate-limited per IP. A pending invite shows the Network's name, who sent it, the role and the expiry, and nothing more (not the invited address, Members or Devices). An expired, used or revoked invite shows only its status. An unknown token is 404.
What an invite link is for, before signing in. No session; the token in the body is the credential (never in the URL, so it stays out of access logs). Rate-limited per IP.
A pending invite shows the Network's name, who sent it, the role and the expiry, and nothing more (not the invited address, Members or Devices). An expired, used or revoked invite shows only its status. An unknown token is 404.
application/json- body
token*stringOK
application/json- response
status*string"pending""expired""used""revoked"network?stringthe Network's name; only while pending
role?Role"owner""admin""member"expires_at?stringdate-timeinvited_by?who sent it; absent when no longer known (the Member left, or an Access token without a creator)
curl -X POST 'https://tiltas.openpanel.sh/api/v1/invites/preview' \ -H 'Content-Type: application/json' \ -d '{ "token": "string"}'{ "status": "pending", "network": "string", "role": "owner", "expires_at": "2019-08-24T14:15:22Z", "invited_by": { "name": "string", "email": "string" }}