v1

latestOpenAPI 3.1.02026-07-1414757122.7 KB
customer contacts

Get entities for a contact

Returns all CRM entities (leads, contacts, companies, deals) associated with a specific contact identifier. Example: GET /crm/v1/customer-contacts/stark@gmail.com/entities

get/crm/v1/customer-contacts/{contact}/entities

Response

OK

titlestring
ownerinteger
sourcestring

Example response

[
  {
    "title": "Lead example",
    "owner": 1,
    "source": "shop",
    "email": [
      {
        "id": "",
        "type": "main",
        "value": "stark@gmail.com",
        "main": true
      },
      {
        "id": "01gdnpddf5xgzxqvcn4x83mc2s",
        "type": "work",
        "value": "benner@gmail.com",
        "main": false
      }
    ],
    "phone": [
      {
        "id": "01gdnpddf5xgzxqvcn4x83mc2s",
        "type": "WORK",
        "value": "+380123456789",
        "code": "+380"
      }
    ],
    "messengers": [
      {
        "id": "01gdnpddf5xgzxqvcn4x83bn2s",
        "type": "facebook",
        "link": "https://www.facebook.com"
      }
    ]
  }
]