---
title: "Approve candidates and enroll through the existing engine"
method: POST
path: "/plays/{id}/enroll"
tags: ["Manual review"]
---

# Approve candidates and enroll through the existing engine

`POST /plays/{id}/enroll`

## Request

- Base URL: `https://app.pumpgtm.com/api/v1`
- URL: `https://app.pumpgtm.com/api/v1/plays/{id}/enroll`
- Auth: HTTP bearer

Mutating action: marks selected candidates good fit and queues newly enrolled leads. Requires exact Play and sequence revisions and the Play's own connected sender/sequence. An active eligible sequence can send on its next engine run. Does not activate, approve or change the sequence itself. Existing leads (including stopped/replied leads) keep their original state and sequence. Repeating a completed good-fit review returns already_reviewed; conflicting review decisions return 409. POST /plays/{id}/leads with this same candidateIds body does the same.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-PumpGTM-Client` string, uuid
- `X-PumpGTM-User` string

## Request body

- object
  - `expectedRevision` integer, required: Current saved revision. Fetch again after a 409; do not silently retry a changed plan.
  - `sequenceId` string, uuid, required
  - `sequenceRevision` integer, required: Current saved revision. Fetch again after a 409; do not silently retry a changed plan.
  - `candidateIds` string[], required

## Response `200`

Successful response. Read outcome fields; success does not imply delivery.

- object
  - `results` object[], required
    - `candidateId` string, uuid, required
    - `result` 'enrolled' | 'existing_lead' | 'already_reviewed' | 'rejected', required
    - `leadId` string, uuid, nullable, required
  - `sequenceStatus` string, nullable, required
  - `sequenceStatusChanged` unknown, required
  - `reviewUrl` string, required

## Other responses

- `400`: Invalid input; for partner keys also user_header_required when the account requires X-PumpGTM-User
- `401`: Missing, invalid or revoked key
- `403`: Workspace mismatch, channel or feature disabled; for partner keys also enterprise_required and user_disabled
- `404`: Resource unavailable in this workspace
- `409`: Revision, identity or state conflict: { error, message } and nothing changed
- `429`: Rate limit; respect Retry-After when provided
- `500`: internal_error: an unexpected failure on our side; retry, then contact PumpGTM
- `503`: Dependency unavailable; identity may be unknown

## Changes

- **2026-10-12** `06d2e4d0e84b`: 8 info
  - the response property `error` became required for the status `400`
  - the response property `error` became required for the status `401`
  - the response property `error` became required for the status `403`
  - the response property `error` became required for the status `404`
  - …4 more
- **2026-10-12** `08c80059d483`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/changes/plays/:id/enroll/post.md)

---

[API](https://skmtc.dev/pumpgtm/apis/pumpgtm-api.md) - [All operations](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pumpgtm/apis/pumpgtm-api/revisions/06d2e4d0e84b?raw)
