Skip to main content

Manage Contact and Account Sub-resources

Sub-resource endpoints let you edit specific array-like fields without replacing the whole parent record.

Contact emails

Add an email:
curl -X POST "https://api.reevo.ai/api/v2/contact/<contact_id>/attribute/contact_emails" \
  -H "Authorization: Bearer <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "sarah.chen@acme.com",
    "is_primary": true,
    "labels": ["WORK"]
  }'
Update an email item:
curl -X PATCH "https://api.reevo.ai/api/v2/contact/<contact_id>/attribute/contact_emails/<item_id>" \
  -H "Authorization: Bearer <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "is_primary": true
  }'
Remove an email item:
curl -X DELETE "https://api.reevo.ai/api/v2/contact/<contact_id>/attribute/contact_emails/<item_id>" \
  -H "Authorization: Bearer <your-api-key>"

Contact phone numbers

{
  "phone_number": "+14155551234",
  "is_primary": true,
  "labels": ["WORK"]
}
Use:
POST   /api/v2/contact/{contact_id}/attribute/contact_phone_numbers
PATCH  /api/v2/contact/{contact_id}/attribute/contact_phone_numbers/{item_id}
DELETE /api/v2/contact/{contact_id}/attribute/contact_phone_numbers/{item_id}

Account domains

Add a domain:
curl -X POST "https://api.reevo.ai/api/v2/account/<account_id>/attribute/domains" \
  -H "Authorization: Bearer <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "domain_name": "acme.com"
  }'
Set primary or update an item:
curl -X PATCH "https://api.reevo.ai/api/v2/account/<account_id>/attribute/domains/acme.com" \
  -H "Authorization: Bearer <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "is_primary": true
  }'
Remove a domain:
curl -X DELETE "https://api.reevo.ai/api/v2/account/<account_id>/attribute/domains/acme.com" \
  -H "Authorization: Bearer <your-api-key>"

Unsupported sub-resources

Not every record type exposes generic attribute sub-resources.
RequestExpected outcome
Unsupported contact/opportunity/task/note/meeting attribute sub-resource400 sub_resource_not_supported
Unsupported account attribute name other than domainsMethod/path is not routed
Custom object attribute sub-resourceNot available
When in doubt, check Supported Resources before using an attribute sub-resource.