Account
Accept a pending org invite (session only)
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.
Authorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer vl_….
In: header
Path Parameters
orgId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/me/invites/string/accept"{
"organizationId": "string",
"role": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}Pending org invites addressed to the signed-in user's email GET
Returns unexpired pending invites whose invited email matches the session's email. Requires a dashboard session token; API keys are org service accounts and cannot hold or accept invites.
Decline a pending org invite (session only) POST
Next Page