Method create.deal_contacts
Description Create a contact
Available to Agent, Client

Request parameters

Title Type Required Description
access_token string yes Authentication session key
user_id number no Unique user identifier of the agent client on behalf of which the request is made
Is required for the agent
To obtain a list of client users, you must use the method "get.customer_users"
contacts array yes Contact list. Limit 1000 contacts
ext_id string yes External Contact ID
name string yes Contact name
created_date_time iso8601 no Date and time the contact was created in CRM (YYYY-MM-DD hh:mm:ss). If the parameter is not passed, the date and time of the method call will be indicated
phone_numbers array no List of contact numbers in E164 format
emails array no The contact's email address.
E-mail must be unique in the list.

JSON request structure```json

{ "jsonrpc": "2.0", "id": "number", "method": "create.deal_contacts", "params": { "access_token": "string", "user_id": "number", "contacts": [ { "ext_id": "string", "name": "string", "created_date_time": "iso8601", "phone_numbers": [ "string" ], "emails": [ "string" ] } ] } }

### JSON response structure```JSON
{
  "jsonrpc": "2.0",
  "id": "number",
  "result": {
      "data": {},
      "metadata": "object"
  }
}

List of returned errors

See the section "List of errors for methods with the create verb"