Delete a contact
Soft-deletes a contact. Contacts linked to a Clai user account cannot be deleted (409 CONTACT_LINKED).
Requires the api_contacts_delete scope.
Authorization
bearerAuth Bearer token using a Clai API key secret (clai_live_*).
In: header
Path Parameters
| Name | Type | Description |
|---|---|---|
orgIdrequired | string | Organization ID the key is operating in |
contactIdrequired | string | Contact ID Format uuid |
Header Parameters
| Name | Type | Description |
|---|---|---|
If-Match | string | Optional ETag from the latest GET, create, or update. A stale value returns 412. Length 1 <= length |
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://app.goclai.com/api/v1/orgs/org_2abc123/contacts/550e8400-e29b-41d4-a716-446655440030"{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}PATCHUpdate a contact
Updates a contact. Optional `If-Match` with the ETag from the latest GET, create, or update; a stale value returns `412` (unlike updateTask, If-Match is not required). Each array you send replaces that array; omitted fields are unchanged. At least one email or phone must remain. `tags` replaces the full label set. Contacts on deals shared with you are read-only; updating them returns `404`. Requires the `api_contacts_update` scope.
GETList deal wizards
Lists the organization's offered deal wizards. Listing wizards are excluded. Use matchDealWizard to pick one from a description, then getNextWizardQuestion to walk it. Requires one of `api_deals_list` or `api_deals_create`.