curl --request POST \
--url https://api.klipy.ai/api/v1/companies \
--header 'Content-Type: application/json' \
--header 'X-Klipy-Api-Key: <api-key>' \
--data '
{
"domain": "<string>",
"name": "<string>"
}
'{
"object": "success",
"data": {
"id": "<string>"
},
"meta": {
"request_id": "req_abc123",
"api_version": "1",
"timestamp": "2023-11-07T05:31:56Z"
}
}Creates a company. If the domain already exists within the organization, returns 200 with the existing company id (idempotent-style create).
curl --request POST \
--url https://api.klipy.ai/api/v1/companies \
--header 'Content-Type: application/json' \
--header 'X-Klipy-Api-Key: <api-key>' \
--data '
{
"domain": "<string>",
"name": "<string>"
}
'{
"object": "success",
"data": {
"id": "<string>"
},
"meta": {
"request_id": "req_abc123",
"api_version": "1",
"timestamp": "2023-11-07T05:31:56Z"
}
}API key passed as a header
Was this page helpful?