cURL
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Company created successfully
The response is of type object.
object
Was this page helpful?