Account
Current user profile and org memberships
Returns the signed-in user's profile and organization memberships. Requires a dashboard session token; API keys cannot call this endpoint.
Authorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer vl_….
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/me"{
"user": {
"id": "string",
"email": "string",
"fullName": "string",
"avatarUrl": "string",
"defaultOrganizationId": "string"
},
"organizations": [
{
"organizationId": "string",
"name": "string",
"role": "string",
"features": {
"batch": true,
"publicEndpoint": true
}
}
]
}{
"error": "string",
"code": "string"
}Create the caller's profile and first org (idempotent) POST
Requires a signed-in dashboard session token; API keys cannot call this endpoint.
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.