Get an organization
Returns the organization's ids, name, slug, plan, billing email, tax id, invoice address and account status (active, pending, restricted, suspended or banned).
Required permission
Requires the org.read permission. See Permissions for the roles and API key permissions that include it.
Command line
The orl CLI wraps this endpoint:
orl organizations getapiKeyAuthorizationBearer <token>OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
orgId*stringThe organization
application/json- response
id*stringshortId*stringname*stringslug*stringbillingEmail*stringplan*stringisProvider?booleancreatedAt?stringtaxId?stringCustomer tax identifier stored on the organization (US EIN, EU/UK VAT, SG GST, etc.), shown on the billing settings page. Requires taxCountry.
taxCountry?stringISO 3166-1 alpha-2 country whose tax scheme taxId belongs to (e.g. US, GB, SG, DE).
billingName?stringName printed on invoices and credit notes. Empty means the org name is used.
billingAddressLine1?stringbillingAddressLine2?stringbillingCity?stringbillingPostalCode?stringbillingCountry?stringISO 3166-1 alpha-2 country of the billing address.
accountStatus?stringUser-facing account state derived from the org's trust & safety risk state. "active" = normal; "pending" = a verification hold: the account can sign in and use the dashboard but cannot be funded, new deploys are paused, existing workloads keep running, and it clears on review (usually under one business day); "restricted" = new deploys paused pending review (existing workloads keep running, funding still allowed); "suspended" = read-only, workloads stopped, pending review; "banned" = disabled. Drives the dashboard account-status banner. Omitted/"active" means no banner.
curl -X GET 'https://api.openrelay.inc/v1/orgs/string'{ "id": "string", "shortId": "string", "name": "string", "slug": "string", "billingEmail": "string", "plan": "string", "isProvider": true, "createdAt": "string", "taxId": "string", "taxCountry": "string", "billingName": "string", "billingAddressLine1": "string", "billingAddressLine2": "string", "billingCity": "string", "billingPostalCode": "string", "billingCountry": "string", "accountStatus": "string"}Create an organization (caller becomes owner) POST
Creates an organization owned by the caller and returns its id and the owner role. A custom slug must be unique; one account owns at most five organizations. Requires a signed-in dashboard session token; API keys cannot call this endpoint.
Update an organization (owner/admin) PATCH
Changes the organization's name, billing email, tax id and country, and invoice address, and returns it. An empty string clears the tax and address fields.