Skip to main content
POST
Register a new user

Headers

x-client-id
string
required

Client identifier for the company in the request.

Example:

"client_abc123"

Body

application/json
name
string
required
Example:

"John Doe"

email
string<email>
required
Example:

"john@example.com"

password
string<password>
required
Minimum string length: 8
Example:

"secret123"

password_confirmation
string<password>
required
Example:

"secret123"

company_name
string
required
Example:

"Acme Corp"

company_cnpj
string | null
Example:

"12345678000190"

company_financial_email
string | null
Example:

"fin@empresa.com"

company_phone
string | null
Example:

"11900000000"

Response

User and company created — JWT token returned

token
string
Example:

"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."

token_type
string
Example:

"Bearer"

expires_at
string<date-time>
Example:

"2026-05-27T12:00:00+00:00"

user
object
company
object