Skip to content

Get contact list

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

Retrieving a single contact list is also how you discover its field schema — the set of columns (default and custom) that contacts in the list can have. There is no separate “fields schema” endpoint; the schema is returned in the sorted_fields array of this response.

Retrieving a contact list

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

Terminal window
curl -X GET 'https://webapi.inboxroad.com/api/v2/contacts-lists/{blueprint_id}/' \
-H 'X-API-Key: <your_token>' \
-H 'Content-Type: application/json'

Path parameters

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

Response fields

Field nameDescription
idUnique identifier of the list (UUID).
labelHuman-readable name of the list.
colorHex color assigned to the list.
descriptionDescription of the list.
unsub_success_redirect_urlRedirect URL after a successful unsubscribe, or null.
unsub_failed_redirect_urlRedirect URL after a failed unsubscribe, or null.
sorted_fieldsOrdered list of field schema objects (see below).
integration_idLinked integration id, or null.
contacts_import_task_idId of an in-progress import task, or null.
send_welcome_emailWhether a welcome email is sent to new contacts.
welcome_email_subjectSubject of the welcome email, or null.
welcome_email_template_idTemplate id used for the welcome email, or null.
welcome_sender_profile_idSender profile id used for the welcome email, or null.

Field schema object (sorted_fields[])

Each contact list defines its own columns. Alongside the always-present default fields, a list can have an arbitrary number of custom fields. Use this array to discover the valid keys when creating or updating contacts.

Field nameDescription
idUnique identifier of the field (UUID).
labelHuman-readable label of the field.
column_nameSnake-cased key used in contact payloads (derived from the label).
data_typeOne of TEXT, INTEGER, FLOAT, BOOLEAN, DATE, DATETIME, CHOICE, MULTICHOICE, EMAIL, PATTERN.
requiredWhether the field is required when creating a contact.
uniqueWhether values must be unique within the list.
defaultDefault value, or null.
choicesAllowed values for CHOICE / MULTICHOICE fields, otherwise null.
max_lengthMaximum length for text-like fields, or null.
read_onlyWhether the field is set by the system and cannot be written.
patternRegex pattern for PATTERN fields, otherwise null.

Example response

{
"id": "0fd3d5b4-1c0a-4e91-8a4f-0f17dc6dc5ab",
"label": "Newsletter Subscribers",
"color": "#7cb7de",
"description": "Main newsletter contact list",
"unsub_success_redirect_url": null,
"unsub_failed_redirect_url": null,
"sorted_fields": [
{
"id": "b1f3c0a2-1111-4e91-8a4f-0f17dc6dc5ab",
"label": "Email",
"column_name": "email",
"data_type": "EMAIL",
"required": true,
"unique": true,
"default": null,
"choices": null,
"max_length": 150,
"read_only": false,
"pattern": null
},
{
"id": "c2a4d1b3-2222-4e91-8a4f-0f17dc6dc5ab",
"label": "Plan",
"column_name": "plan",
"data_type": "CHOICE",
"required": false,
"unique": false,
"default": "free",
"choices": { "free": "Free", "pro": "Pro" },
"max_length": null,
"read_only": false,
"pattern": null
}
],
"integration_id": null,
"contacts_import_task_id": null,
"send_welcome_email": false,
"welcome_email_subject": null,
"welcome_email_template_id": null,
"welcome_sender_profile_id": null
}

Possible response codes

Status codeDescription
200Contact list retrieved successfully.
401Unauthorized.
404Contact list not found.