Skip to content

Update contact list

If you have questions regarding this API, please visit our API FAQ page.

Updating a contact list

Make a PATCH request to https://webapi.inboxroad.com/api/v2/contacts-lists/{blueprint_id}/ with a valid X-API-Key.

Terminal window
curl -X PATCH 'https://webapi.inboxroad.com/api/v2/contacts-lists/{blueprint_id}/' \
-H 'X-API-Key: <your_token>' \
-H 'Content-Type: application/json' \
-d '{
"label": "Updated Newsletter Subscribers",
"description": "Updated main newsletter contact list"
}'

Path parameters

Param nameDescription
blueprint_idUnique identifier of the contacts list (UUID).

Request fields

Only the fields supplied in the body are changed.

Field nameRequiredDescription
labelNoNew name for the list.
descriptionNoNew description.
colorNoNew hex color from the allowed palette.
fields_orderNoNew display order for the list’s fields. Must contain every existing field id exactly once.
unsub_success_redirect_urlNoRedirect URL after a successful unsubscribe.
unsub_failed_redirect_urlNoRedirect URL after a failed unsubscribe.
send_welcome_emailNoWhether to send a welcome email to new contacts.
welcome_email_subjectNoSubject of the welcome email.
welcome_email_template_idNoTemplate id (UUID) used for the welcome email.
welcome_sender_profile_idNoSender profile id (UUID) used for the welcome email.

Example request

{
"label": "Updated Newsletter Subscribers",
"description": "Updated main newsletter contact list",
"color": "#b6d8d5"
}

Response

Returns 200 with the full updated contact list (same shape as Get contact list).

Possible response codes

Status codeDescription
200Contact list updated successfully.
400Invalid request data.
401Unauthorized.
404Contact list not found.