PUT v2/contact/{contactId}
PUT /v2/contact/{contactId}
Header
HTTP/1.1
Authorization: Bearer $api_id.$api_secret
Host: api.$app_domain
Accept: application/json
Content-Type: application/json
Request Parameters
contacttId (required) |
Contact ID for the record you're updating (integer) |
segment_id |
Add your contact to an existing list segment. (integer) |
tags |
Attach tags to your contact. Add multiple comma separated values: tag1, tag2. (string) |
sequence_id |
Enroll your contact to a Sequence. (integer) |
hubspot_id |
Relate to a HubSpot contact record ID. (integer) |
pipedrive_id |
Relate to a Pipedrive contact record ID. (integer) |
Custom Data Field Properties
Build your array of custom data field properties to update using the 'name' value that's provided for each custom data field property. The example request below using "company", which is a custom data field property. You can request a full list of your available custom data field properties using GET /v2/field/all/
Request
POST /v2/contact/{contactId}
HTTP/1.1 Authorization: Bearer {$key}.{$secret}
Host: {api.app.domain}
Accept: application/json
Content-Type: application/json
{
"company": "string",
"segment_id": "integer",
"sequence_id": "integer",
"tags": "tag1,tag2",
"hubspot_id": "integer",
"pipedrive_id": "integer",
}
Response
HTTP/1.1 201 Created
{
"id": "0",
"message": "Success!"
}
Error code
HTTP/1.1 404 Not Found
{
"id": "0",
"message": "Error description"
}
Comments
0 comments
Please sign in to leave a comment.