Edits a contact in the contact list by its ID.

Request

PATCH https://api.bytehand.com/v2/contact_lists/listId/contacts/contactId

Parameters

Path Parameters
contactId

number

Required parameter. Unique contact ID.

listId

number

Required parameter. Unique ID of the contact list.

Query Parameters
segments_add

string

Optional parameter. IDs of the contact list segments to add, separated by commas.

segments_remove

string

Optional parameter. IDs of the contact list segments to be removed, separated by commas.

Body

In the request body, one object of custom type is required, the fields of which will correspond to the fields of the contact list.

Authorization

Requires authorization and access right contacts_manage.

Response

Upon successful completion of the request, an object of type Response is returned.