Creates a new contact organization for the website
namestring
The organization name.
externalId?string
External identifier for the organization (e.g. from your CRM).
domain?string
The organization's domain.
description?string
Description of the organization.
metadata?
Additional custom metadata for the organization.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.cossistant.com/v1/v1/contacts/organizations" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme Corporation" }'{
"id": "01JG000000000000000000000",
"name": "Acme Corporation",
"externalId": "org_12345",
"domain": "acme.com",
"description": "A leading provider of enterprise solutions",
"metadata": {
"industry": "technology",
"employees": 500
},
"websiteId": "01JG000000000000000000000",
"organizationId": "01JG000000000000000000000",
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}