CRM справочники

Создать контактное лицо

Changed on
post/api-v2/crm/contact-persons

Request

  • Base URL
    https://api-docs.yougile.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

projectIdstring required

ID CRM проекта, где создаётся контакт

titlestring required

Имя/название контактного лица

customFieldsobject

Значения пользовательских полей проекта (id поля → значение)

Response

idstring required

ID контактного лица

titlestring required

Имя/название контактного лица

deletedboolean

Статус удаления записи

timestampnumber

Время создания контакта

createdBystring

ID пользователя, создавшего запись

Example response

{
  "id": "5a7b1492-1f85-4e41-ab1f-00541b47e1ac",
  "title": "Иванов Иван Иванович",
  "timestamp": 1623223299149,
  "createdBy": "80eed1bd-eda3-4991-ac17-09d28566749d",
  "fields": {
    "position": "Генеральный директор",
    "phone": "+7 (495) 123-45-67",
    "additionalPhone": "+7 (495) 123-45-68",
    "email": "ivanov@romashka.ru",
    "address": "г. Москва, ул. Тверская, д. 1"
  }
}

Changes