Skip to main content
GET
/
v1
/
contact-lists
cURL
curl --request GET \
  --url https://client-api.salesfinity.co/v1/contact-lists \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "_id": "<string>",
      "name": "<string>",
      "source": "csv",
      "user": {
        "_id": "<string>",
        "email": "<string>",
        "first_name": "<string>",
        "last_name": "<string>"
      },
      "total_contacts": 123
    }
  ],
  "total": 123,
  "page": 123,
  "next": 123
}
Returns all contact lists for the team with pagination support. Includes lists from all sources (CSV, HubSpot, Salesforce, etc.).

Query Parameters

  • page (optional, number): Page number for pagination. Default: 1
  • limit (optional, number): Number of items per page. Min: 1, Max: 100
  • sort (optional, string): Sort field(s). Prefix with ”-” for descending order. Default: -createdAt
    • Example: name,-updatedAt

Response

Returns a paginated array of contact lists with the following fields:
  • _id - Unique identifier of the contact list
  • name - Name of the contact list
  • source - Source of the list (csv, hubspot, salesforce, manual)
  • user - User who owns the list
  • total_contacts - Total number of contacts in the list

Authorizations

x-api-key
string
header
required

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
limit
integer

Items per page

Required range: 1 <= x <= 100
sort
string

Sort field(s). Prefix with - for descending. Default: -createdAt

Response

200 - application/json

Contact lists retrieved successfully

data
object[]
total
integer
page
integer
next
integer | null