Lists
v1

Retrieve all lists available in the account. The response includes each list's attributes and can be filtered through query parameters.

Credit Note: Retrieving list definitions does not consume credits.

:::info Requires the lists:read OAuth2 scope. :::

get/v1/lists

Request

  • Base URL
    https://api.leadfeeder.com
  • URL
    https://api.leadfeeder.com/v1/lists
  • Auth
    • API key in header X-Api-Key
    • or OAuth 2
      Authorization code: https://api.leadfeeder.com/v1/oauth/authorize
      Token URL: https://api.leadfeeder.com/v1/oauth/token scopes: lists:read

Query parameters

account_idstring required

The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.

page[num]integer

Page of results to fetch.

page[size]integer

The number of items per page. Maximum is 100.

filter[scope]'company' | 'contact' required

Filter by entities that apply to either company or contact.

Response

Success

Example response

{
  "data": [
    {
      "attributes": {
        "created_at": "2024-12-10T15:57:25Z",
        "name": "US Prospects",
        "scope": "company",
        "updated_at": "2024-11-24T11:50:00Z"
      },
      "id": "company_123",
      "relationships": {
        "created_by": {
          "id": "12345"
        }
      },
      "type": "list"
    }
  ],
  "meta": {
    "pagination": {
      "page_count": 1,
      "page_num": 1,
      "total_count": 1
    },
    "request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
  }
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      the endpoint scheme security OAuth2 was added to the API

    • info

      added the non-success response with the status