Skip to main content
POST
/
api
/
v1
/
agency
Create Agency
curl --request POST \
  --url 'https://api.example.com/api/v1/agency?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "branding": {},
  "domain": {},
  "billing_plan": {},
  "user_auth": {}
}
'
{
  "message": "Data created successfully",
  "meta": {},
  "data": {
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "branding": {},
    "domain": {},
    "billing_plan": {},
    "user_auth": {}
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Body

application/json
org_id
string<uuid> | null
required
branding
Branding · object
domain
Domain · object
billing_plan
Billing Plan · object
user_auth
User Auth · object

Response

Successful Response

message
string | null
default:Data created successfully
meta
Meta · object
data
IAgencyCreate · object