Skip to main content
POST
Create Company
Create a new company with an admin user. This endpoint creates both the company and its initial administrator account.

Request Body

string
required
Company name (2-255 characters)
string
required
Unique company identifier (2-255 characters)
string
Industry sector (max 100 characters)
string
Country location (max 100 characters)
string
Timezone identifier (max 50 characters)
string
Currency code (max 10 characters)
string
Business registration number (max 100 characters)
string
Tax identification number (max 100 characters)
string
Physical address
string
Contact phone number (max 100 characters)
string
URL to company logo
string
Company status. One of: active, suspended, inactive
object
required
Administrator account details
string
required
Admin email address (must be valid email)
string
required
Admin password (minimum 8 characters)
string
required
Admin first name
string
required
Admin last name
string
Admin phone number

Response

boolean
Indicates if the request was successful
object
The created company object
string
Company UUID
string
Company name
string
Company slug identifier
string
Industry sector
string
Country location
string
Timezone identifier
string
Currency code
string
Registration number
string
Tax identification
string
Physical address
string
Contact phone
string
Logo URL
string
Company status
object
Company settings (JSON)
string
Creation timestamp (ISO 8601)
string
Last update timestamp (ISO 8601)

Request Example

cURL

Response Example

201 Created
400 Bad Request
400 Validation Error
500 Internal Server Error

Error Responses