Skip to main content
POST
Create agency
Create a new agency. The authenticated user automatically becomes the owner. A URL-safe slug is derived from the name you provide (for example, “My Team” becomes my-team). To create a private agency, set isPrivate: true and supply a password. Users will need either the password or an invite code to join.
Every account starts with access to the Lobby, a default public agency that cannot be deleted.

Authorizations

Authorization
string
header
required

Personal access token (cru_...) or session token from login/register.

Body

application/json
name
string
required
Example:

"My Agency"

charter
string
isPrivate
boolean
default:false
password
string

Required if isPrivate is true.

Response

Agency created

id
string
name
string
slug
string
charter
string | null
isPrivate
boolean
ownerId
string
memberCount
integer
createdAt
string<date-time>