Skip to Content
API ReferenceUsersCreate User

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/users

Request Body

FieldTypeRequiredDescription
user_namestringYesUnique username (globally unique)
emailstringYesUser’s email address
companystringYesCompany name
passwordstringYesUser’s password
contactstringNoPhone number
timezonestringNoIANA timezone (e.g. Asia/Kolkata)
currencystringNoCurrency 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

StatusErrorDescription
400Missing required fieldsuser_name, email, company, password required
401UnauthorizedInvalid or missing API key
409Username already takenThe username is already in use

Try It

POST/api/v1/partner/usersCreate a new user