POST
/
companies
curl --request POST \
  --url http://staging.api.commenda.io/api/v1/companies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Initech"
}'
{
  "id": "<string>",
  "name": "Initech"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Company created successfully

The response is of type object.