cURL
curl --request POST \ --url https://api.prod.commenda.io/api/v1/public/company \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "email": "founder@example.com", "name": "Acme Holdings" } '
{ "companyId": 77 }
Create a new company for an affiliate integration.
Email address for the new company owner.
"founder@example.com"
Optional display name used when creating a new company.
"Acme Holdings"
Company created successfully
Internal Commenda company identifier.
77
Was this page helpful?