API Reference
Log In
API Reference

Create a new Organization

Creates a new organization. tenantId is required in the request body to properly associate the organization with a tenant. parentId is optional: omit for top-level organizations; to create a nested organization, set parentId to an existing organization ID (retrieve with GET /v2/api/organizations?tenantId={tenantId}).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Organization configuration

string
required

The name of the organization

string

The organization's external id

string

The organization's logo

string

The organization's address 1

string

The organization's address 2

string

The organization's city address

string

The organization's state address

string

The organization's country

string

The organization's postal code

string

The organization's billing phone number

string

The organization's phone number

string

The organization's contact email address

string

The organization's remittance instructions

string

The organization's website URL

string

The organization's currency

string

The organization's metadata (in key / value pairs)

domainAliases
array of strings

The organization's domain aliases

domainAliases
types
array of strings
enum

The organization type (array with single value). Use CONSUMER for organizations (end customers who consume APIs and accumulate usage costs). Note: MANAGING is used by team endpoints (see /v2/api/teams) and should not be used when creating organizations.

types
string
required

The unique identifier of the tenant that owns this organization. Required to associate the organization with a tenant. Format: Revenium hashid (URL-safe encoded string).

string

Optional. Omit this field when creating a top-level organization. To create a nested organization, set parentId to an existing organization ID (retrieve IDs using GET /v2/api/organizations?tenantId={tenantId}). Format: Revenium hashid (URL-safe encoded string).

boolean

Whether automatic discovery of API sources is enabled for this organization

boolean

Whether automatic discovery of metering element definitions is enabled for this organization

string

The email address for billing-related communications

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json