API Reference
Log In
API Reference

Create a new Team

Creates a new team.

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

Team configuration

team

string
required

The name of the team

string | null

The team's external id

string | null

The team's logo

string | null

The team's address 1

string | null

The team's address 2

string | null

The team's city address

string | null

The team's state address

string | null

The team's country

string | null

The team's postal code

string | null

The team's billing phone number

string | null

The team's phone number

string | null

The team's contact email address

string | null

The team's remittance instructions

string | null

The team's website URL

string | null
enum

The team's currency

string | null

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

string | null

The team's domain aliases

string | null
enum

The team type (array with single value). Teams must be type MANAGING, which represents internal business units or teams that manage consumer organizations and want to separate their usage and analytics by group. In the Revenium UI, MANAGING teams are displayed as 'Teams'. Note: If you attempt to create a team with type CONSUMING, it will create an organization instead (see /v2/api/organizations endpoint).

Allowed:
tenant
required
string | null

The unique identifier of the tenant that owns this team

parent
string | null

Optional. Only provide this when creating a sub-team that will exist under another team in the hierarchy. Omit when creating a top-level team. Format: Revenium hashid (URL-safe encoded string).

boolean | null

Whether automatic discovery of data sources is enabled for this team. This should be set to true in most cases.

boolean | null

Whether prompt capture is enabled for this team. When enabled, prompts and completions are stored for observability. Can also be updated later via PUT /teams/{id}/settings/prompts.

boolean | null

Whether automatic discovery of metering element definitions is enabled for this tea. This should be set to true in almost all cases.

string | null

The email address for billing-related communications

callCountElementDefinition
string | null
enum

The time period unit for holding invoices before processing

Allowed:
int64 | null

The number of time periods to hold invoices before processing

boolean | null

Whether to use the V2 invoice data loading system for this team, value set automatically.

accountConfiguration
string | null

The unique identifier of the account configuration for this team

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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