---
title: "Handle Generate Participants Payload"
method: POST
path: "/api/v1/pm_invoice/generate_participants_payload"
---

# Handle Generate Participants Payload

`POST /api/v1/pm_invoice/generate_participants_payload`

Generates a list of participant ids for a given billing period.

Keyword arguments:
payload -- the payload to generate the participants
Returns:
List[str] -- the list of participants

## Request body

- AppSchemasPmInvoicesGenerateParticipantPayload
  - `billing_period_from` string, required
  - `billing_period_to` string, required
  - `plan_manager_id` string, required

## Response `200`

Successful Response

- string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/caresquare/apis/fastapi.md) · [All operations](https://skmtc.dev/caresquare/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/caresquare/fastapi/revisions/c9df874d8d59/schema)
