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.
welcome_on_embed_form_subscribeNoSend a welcome email when a contact subscribes via an embed form.
welcome_on_single_contact_addNoSend a welcome email when a contact is added individually.
welcome_email_subjectNoSubject of the welcome email.
welcome_email_template_idNoId (UUID) of an email template to use for the welcome email.
welcome_sender_profile_idNoId (UUID) of a sender profile to send the welcome email from.

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.