---
title: "Fetch List Memberships Ordered by Added to List Date"
method: GET
path: "/crm/v3/lists/{listId}/memberships/join-order"
tags: ["Basic"]
---

# Fetch List Memberships Ordered by Added to List Date

`GET /crm/v3/lists/{listId}/memberships/join-order`

Fetch the memberships of a list in order sorted by the time the records were added to the list.

The `recordId`s are sorted in *ascending* order if an `after` offset or no offset is provided. If only a `before` offset is provided, then the records are sorted in *descending* order.

The `after` offset parameter will take precedence over the `before` offset in a case where both are provided.

## Path parameters

- `listId` string, required

## Query parameters

- `after` string
- `before` string
- `limit` integer

## Response `200`

successful operation

- ApiCollectionResponseJoinTimeAndRecordId
  - `paging` Paging — The cursor to be used for paging through records.
    - `next` NextPage — Specifies the paging information needed to retrieve the next set of results in a paginated API response
      - `after` string, required — The offset for the next page of records.
      - `link` string — A direct link to the request for the next page of records.
    - `prev` PreviousPage — specifies the paging information needed to retrieve the previous set of results in a paginated API response
      - `before` string, required — The offset of the previous page of records.
      - `link` string — A direct link to the request for the previous page of records.
  - `results` JoinTimeAndRecordId[], required
    - `membershipTimestamp` string, date-time, required — The date and time when the record was added to the list.
    - `recordId` string, required — The unique identifier of the record.
  - `total` integer — The total number of records that match the query.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/crm-lists.md) · [All operations](https://skmtc.net/hubspot/apis/crm-lists/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/crm-lists/revisions/2ba1203b03a0/schema)
