---
title: "Queue a report of memberships"
method: GET
path: "/customers/memberships/queue"
tags: ["Memberships"]
---

# Queue a report of memberships

`GET /customers/memberships/queue`

Retrieves a report of memberships in CSV format. The report will be generated asynchronously.

## Query parameters

- `customer_id` string, uuid
- `site_id` string
- `status` string[]
- `membership_type_id` string, uuid
- `membership_type_ids` string[]
- `membership_rate_ids` string[]
- `created_at_from` string, date
- `created_at_to` string, date
- `next_billing_date_from` string, date
- `next_billing_date_to` string, date
- `end_date_from` string, date
- `end_date_to` string, date
- `attention_reason` string
- `manual_payments` boolean
- `membership_number` string
- `external_ref` string
- `billing_frequency` string[]

## Response `200`

The job was successfully queued

- object
  - `data` QueuedJob, required
    - `id` string, uuid, required — The ID of the queued job.
    - `status` 'pending' | 'complete' | 'failed', required — The status of the queued job.
    - `output` object, required — The output of the queued job.
    - `created_at` string, date-time, required — The date and time the queued job was created.
    - `updated_at` string, date-time, required — The date and time the queued job was last updated.

## Other responses

- `401` — The user is unauthenticated

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
