API ReferenceAccount and accessAccount
Overview
The signed-in user: profile, memberships, and first-time onboarding, plus the invites addressed to you and the identity and org each request acts in.
Account
The signed-in user: profile, memberships, and first-time onboarding, plus the invites addressed to you and the identity and org each request acts in.
Accept a pending org invite (session only)
Approve a device login
Create your profile and first org (idempotent)
Current user profile and org memberships
Decline a pending org invite (session only)
Deny a pending device login (session only)
List pending invites to the signed-in user
List your CLI sessions, every org (session only)
Look up a pending device login
Poll a device login for its session
Revoke one of your CLI sessions (session only)
Start a CLI device login (no auth)
The current principal and the org it acts in
Update the caller's profile
Pagination
How to page through OpenRelay list endpoints with cursors: the request parameters, the response shape, and a loop that iterates every page.
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.