Push contacts to a CRM

Write chosen contacts into the workspace's connected CRMs as contact records with a note, by id or by static list, up to 100 per call. Pass provider to write into one CRM only.

POSThttps://app.trygtm.com/api/v1/contacts/push-to-crm
Scope
write

Headers

Idempotency-Keystringoptional
A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.

Body

contact_idsstring[] | nulloptional
Contacts to push, up to 100. Use null with listId.
list_idstring | nulloptional
A static list whose members are pushed, up to 100. Use null with contactIds.
providerstring | nulloptional
Only this CRM. Omit to reach every connected CRM.hubspotpipedriveattiosalesforcezohogohighlevel
notestring | nulloptional
What the CRM note should say. Defaults to who the person is and where they stand.

Request

curl -X POST https://app.trygtm.com/api/v1/contacts/push-to-crm \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response

{
  "data": {
    "requested": 2,
    "found": 2,
    "delivered": 2,
    "failed": 0,
    "muted": 0,
    "skipped_no_email": 0,
    "crms": [
      "gohighlevel"
    ],
    "note": null
  }
}

Was this page helpful?