Update a contact
/api/v2/contacts/{username_or_id}Changes one or more of a contact's details in one request: contact info, outreach, assignee, tags, notes and follow-up snooze.
Rate limit 150 requests per minute
Headers
x-api-keyheaderRequiredYour API key.
Content-Typeheaderapplication/json
Path parameters
username_or_idstringRequiredInstagram username or contact id.
Body
full_namestringDisplay name, up to 255 characters.
nullor""clears it.phone_numberstring6 to 15 digits, optionally starting with
+, for example+14155550134. Spaces, dashes and parentheses are removed first.nullor""clears it.email_addressstringEmail address, saved in lowercase.
nullor""clears it.assigned_to_userstringEmail of the team member to assign the contact to.
nullunassigns it.outreach_reasonstringWhy you reached out, up to 200 characters. New reasons are created. Shown as
outbound.reasonon outbound contacts.nullclears it.outreach_textstringThe outreach message, up to 1,000 characters. Shown as
outbound.message.nullclears it.outreach_labelstringLabel for the outreach message, up to 255 characters. Shown as
outbound.message_label.nullclears it.follow_up_neededbooleanfalseturns follow-ups off for this contact,trueturns them back on.tagsarrayTag names. Missing tags are created. Adding a tag the contact already has, or removing one it lacks, still returns
200with awarningsarray.tags_modestringadd(default) addstagsto the contact.removeremoves them.replacemakes them the contact's only tags, so"tags": []removes all of them. Only together withtags.tag_colorstringColor for tags created by this request. Hex code (
#2563eb) or color name (blue). Default gray. Only together withtags, and not withtags_mode: "remove".notesarrayUp to 20 note changes:
{ "note": "..." }adds a note,{ "id": 9812, "note": "..." }replaces a note's text,{ "id": 9812, "deleted": true }deletes it. Up to 1,000 characters per note. Any note on the contact can be edited or deleted, whoever wrote it.snoozed_untilstringA future date, ISO 8601: snoozes the contact's follow-ups until then at its current stage, or moves an active snooze.
nullunsnoozes, and does nothing if the contact is not snoozed.snooze_reasonstringWhy it is snoozed, up to 500 characters. Only together with a date in
snoozed_until. Required when the organization setting Require snooze reason is on (the default), except when moving a snooze that already has one, which keeps it.unsnooze_reasonstringWhy it is unsnoozed, up to 500 characters. Only together with
snoozed_until: null. Required when the organization setting Require unsnooze reason is on (the default).changed_bystringEmail of the team member making the change, shown in the activity log. New notes and snoozes are credited to the organization owner when it is left out.
Errors
| Error | When |
|---|---|
400 invalid_body | The body is not a JSON object. |
400 missing_fields | No field to update was sent. |
400 unsupported_field | A field cannot be updated with this endpoint, for example status or pipeline_stage. |
400 invalid_<field> | A field has a value that is not allowed, for example invalid_phone_number, invalid_tags_mode or invalid_snoozed_until. message says what. |
400 invalid_assigned_to_user | assigned_to_user is not the email of a member of your organization. |
400 invalid_notesinvalid_noteinvalid_note_id | notes is not a list of 1 to 20 valid changes, a note is empty or longer than 1,000 characters, or an id is not a positive whole number. |
400 snooze_reason_requiredunsnooze_reason_required | Your organization requires a reason to snooze or unsnooze, and none was sent. |
400 invalid_changed_by | changed_by is not a valid email address. |
403 user_not_in_organization | The changed_by email belongs to someone outside your organization. |
404 unknown_changed_by | No user with the changed_by email. |
404 contact_not_found | No contact with that username or id in your organization. |
404 note_not_found | A note id is not on this contact. |
409 contact_already_deleted | The contact is deleted. |
409 note_already_deleted | A note in notes is already deleted. |
409 follow_up_not_found | snoozed_until was sent but the contact has no follow-up to snooze. |
curl -X PATCH "https://app.dmtracker.ai/api/v2/contacts/jane.fitness" \
-H "x-api-key: $DMTRACKER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "+1 (415) 555-0134",
"assigned_to_user": "alex@yourcompany.com",
"tags": [
"hot lead",
"vip"
],
"notes": [
{
"note": "Prefers WhatsApp over Instagram DMs"
}
],
"changed_by": "alex@yourcompany.com"
}'{
"status": "success",
"message": "Contact updated successfully",
"warnings": [
{
"code": "tag_already_present",
"message": "Contact already has the tag 'hot lead', so it was not added again."
}
],
"data": {
"id": "7c1e9a52-3f4b-4d2a-9e61-0b8f2d5c4a17",
"username": "jane.fitness",
"full_name": "Jane Cooper",
"phone_number": "+14155550134",
"tags": [
{
"id": 287,
"name": "hot lead",
"color": "#22C55E"
},
{
"id": 302,
"name": "vip",
"color": "#6B7280"
}
],
"assigned_user": "alex@yourcompany.com",
"notes": [
{
"id": 9813,
"note": "Prefers WhatsApp over Instagram DMs",
"created_at": "2026-11-19T10:02:14.000+00:00",
"created_by": "alex@yourcompany.com"
},
{
"id": 9812,
"note": "Asked about pricing, call booked for Friday",
"created_at": "2026-10-29T10:07:30.000+00:00",
"created_by": "owner@yourcompany.com"
}
]
}
}Shortened. data is the full contact object, with notes.