---
title: "Enroll a contact"
method: POST
path: "/v1/workflows/{id}/enroll"
tags: ["Workflows"]
---

# Enroll a contact

`POST /v1/workflows/{id}/enroll`

## Request

- Base URL: `https://api.volanea.com`
- URL: `https://api.volanea.com/v1/workflows/{id}/enroll`
- Auth: HTTP bearer

Manually start an execution for a contact (the workflow must be `active`). Re-entry is subject to the workflow's `reentry` policy.

## Path parameters

- `id` string, required

## Request body

- object
  - `email` string, email, required

## Response `201`

The new execution.

- WorkflowExecution
  - `executionId` string, required
  - `workflowId` string, required
  - `projectId` string
  - `contactId` string, required
  - `status` 'active' | 'waiting' | 'completed' | 'exited' | 'failed' | 'cancelled', required
  - `currentNodeId` string, nullable
  - `wakeAt` string, date-time, nullable
  - `waitEventName` string, nullable
  - `waitTimeoutAt` string, date-time, nullable
  - `context` object, nullable
  - `enteredAt` string, date-time, required
  - `updatedAt` string, date-time
  - `completedAt` string, date-time, nullable

## Other responses

- `401`: Missing or invalid API key.
- `404`: Not found.
- `409`: Workflow not active (`invalid_state`) or contact not enrolled (`not_enrolled`).
- `422`: Request validation failed (code `validation_error`, 422).

---

[API](https://skmtc.dev/volanea/apis/volanea-api.md) · [All operations](https://skmtc.dev/volanea/apis/volanea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/volanea/apis/volanea-api/revisions/9e187ae84fda?raw)
