Child Organizations

If you're a partner managing sub-businesses on their behalf, use these endpoints to register and list them.

Register a child organization

curl --request POST \
  --url $baseUrl/organizations/children \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --header 'x-idempotency-key: YOUR_UNIQUE_UUID' \
  --data '{
    "businessName": "Acme Corp",
    "businessType": "Technology",
    "businessEmail": "[email protected]",
    "phoneNumber": "+1234567890",
    "address": "123 Main St",
    "country": "USA",
    "city": "New York",
    "state": "NY",
    "firstname": "Jane",
    "lastname": "Doe",
    "website": "https://www.acmecorp.com"
  }'
FieldRequiredDescription
businessNameYesLegal or trading name
businessTypeYese.g. Technology
businessEmailYesPrimary business email
phoneNumberYesBusiness phone number
address, country, city, stateYesBusiness location
firstname, lastnameYesPrimary contact person
websiteNoBusiness website

This creates both the child organization and its associated owner user account.

Response:

{
  "userId": "user-uuid-123",
  "organizationId": "org-uuid-456"
}

List child organizations

curl --request GET \
  --url $baseUrl/organizations/children \
  --header 'x-api-key: YOUR_API_KEY'

Returns all sub-businesses managed under the authenticated partner organization.

Call this next



Did this page help you?