v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Contacts

Update a contact

Updates a contact.

Required scope: contacts:write

patch/contacts/{contact_id}

Path parameters

contact_idstring required

The contact ID. Alternatively, you can supply the contact's source and handle as a resource alias.

Request body

namestring

Contact name

descriptionstring

Contact description

avatarstring binary

Binary data of avatar. Must use Content-Type: multipart/form-data if specified. See example or read more about Attachments. Max 25 MB.

linksstring[]

List of all the links of the contact

group_namesstring[]

List of all the group names the contact belongs to. It will automatically create missing groups. ⚠️ Deprecated. Use list_names instead.

list_namesstring[]

List of all the contact list names the contact belongs to. It will automatically create missing groups

custom_fieldsCustomFieldParameter

An object whose key is the name property defined for the custom field in the Front UI. The value of the key must use the same type specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields

Example request

{
  "custom_fields": {
    "city": "London, UK",
    "isVIP": true,
    "renewal_date": 1525417200,
    "sla_time": 90,
    "owner": "leela@planet-express.com",
    "replyTo": "inb_55c8c149",
    "Job Title": "firefighter"
  }
}

Response

No content