Account
Decline a pending org invite (session only)
Authorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer vl_….
In: header
Path Parameters
orgId*string
Response Body
application/json
curl -X POST "https://example.com/v1/me/invites/string/decline"Empty
{
"error": "string",
"code": "string"
}Accept a pending org invite (session only) POST
Creates the membership for the invite addressed to the session's email in the given org, then consumes the invite. This is the only way an invite becomes a membership: the invitee must be authenticated with the invited email and act explicitly.
The current principal and the org it acts in GET
Returns the calling principal (API key or user session) and the organization the request acts in. For an API key that org is fixed by the key; for a session it is the active org, and availableOrgs lists every org the user belongs to. Unlike /v1/me this works for API keys and does not onboard.