cURL
curl --request POST \ --url https://api.spacebring.com/community/companies/v1 \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "company": { "billingAddress": "<string>", "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "metadata": {}, "notes": "<string>", "title": "<string>" } }'
{ "company": { "billingAddress": "<string>", "createDate": "<string>", "credits": { "expiring": 123, "permanent": 123 }, "dayPasses": { "expiring": 123 }, "id": "<string>", "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "metadata": {}, "notes": "<string>", "subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>" } }
Create a company.
community
See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
Created
The response is of type object.
object