---
title: "POST Process large commission exports"
description: "QStash worker endpoint for processing large commission exports and emailing the result to the user as a CSV."
last_updated: "2026-10-05T05:08:28.925996+00:00"
canonical_url: "https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/api/cron/exportcommissionsworker"
---

<APIEndpoint
  method={"POST"}
  path={"/api/cron/export/commissions"}
  summary={"Process large commission exports"}
  description={"QStash worker endpoint for processing large commission exports and emailing the result to the user as a CSV."}
  deprecated={false}
  baseUrl={""}
/>

## Request Body

Commissions export query parameters, program ID, and user ID.

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Export generated and email sent."}
  contentType={"text/plain"}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/api/cron/export/commissions"}
  parameters={[]}
  requestBody={{"contentType":"application/json","required":true,"description":"Commissions export query parameters, program ID, and user ID.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/llms.txt) for all pages in this wiki.
