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.
Required permission
Requires the self.read permission. See Permissions for the roles and API key permissions that include it.
apiKeyAuthorizationBearer <token>OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
The caller's profile + orgs
application/json- response
user*organizations*array<>curl -X GET 'https://api.openrelay.inc/v1/me'{ "user": { "id": "string", "email": "string", "fullName": "string", "avatarUrl": "string", "defaultOrganizationId": "string" }, "organizations": [ { "organizationId": "string", "name": "string", "role": "string", "roleName": "string", "permissions": [ "string" ], "maxKeyLifetimeDays": 0 } ]}Create your profile and first org (idempotent) POST
Creates the signed-in user's profile and a first organization they own (named orgName, or My Organization). A user already set up gets their default org back. Requires a signed-in dashboard session token; API keys cannot call this endpoint.
List pending invites to the signed-in user GET
Returns the unexpired pending invites whose invited email matches the session's email, with each organization's name, the role offered and the inviter's email. Requires a dashboard session token; API keys are organization keys and cannot hold or accept invites.