Skip to main content
POST
/
v1
/
auth
/
session
/
create-company
Create company (session)
curl --request POST \
  --url https://api.usenaive.ai/v1/auth/session/create-company \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "template_id": "<string>",
  "questionnaire_answers": {}
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
name
string
required
Minimum string length: 2
template_id
string
questionnaire_answers
object

Response

Created.

The response is of type object.