Create User
Creates a new user under your partner account. A first app is automatically created using the company name.
Endpoint
POST /api/v1/partner/usersRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
user_name | string | Yes | Unique username (globally unique) |
email | string | Yes | User’s email address |
company | string | Yes | Company name |
password | string | Yes | User’s password |
contact | string | No | Phone number |
timezone | string | No | IANA timezone (e.g. Asia/Kolkata) |
currency | string | No | Currency code (e.g. inr) |
Response
Success 201 Created
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"active": true,
"app_name": "Acme Corp",
"app_ids": ["660e8400-e29b-41d4-a716-446655440001"],
"user_name": "john_doe",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"email": "john@example.com",
"company": "Acme Corp",
"contact": "+1234567890",
"timezone": "Asia/Kolkata",
"currency": "inr",
"type": "owner",
"created_at": 1708000000000,
"updated_at": 1708000000000
}Errors
| Status | Error | Description |
|---|---|---|
400 | Missing required fields | user_name, email, company, password required |
401 | Unauthorized | Invalid or missing API key |
409 | Username already taken | The username is already in use |
Try It
POST
/api/v1/partner/usersCreate a new user