POST
/api/companies/registerstepRegister a company account
Creates a company account and provisions its company identifier and credentials. Supply companyName, email, and password; password must be at least 8 characters, while industry and phone are optional. A 201 response includes the new companyId and an authentication token.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Company account details and credentials. companyName, email, and password are required.
companyNamestringrequired
The name of the company to register.
emailstringrequired
The company account's email address in email format.
industrystringoptional
The company's industry.
passwordstringrequired
The password for the company account. Must be at least 8 characters.
phonestringoptional
The company's phone number.
201Returns a success indicator, a registration message, the new company identifier, and an authentication token.
companyIdstringoptional
messagestringoptional
successbooleanoptional
tokenstringoptional
409Returned when the email address is already registered.
Error handling
The companyName, email, and password fields are required; email must use email format and password must be at least 8 characters. A 409 is returned when the email is already registered.