---
title: "Enroll a contact in a journey"
method: POST
path: "/api/v1/journeys/{id}/trigger"
tags: ["Journeys"]
---

# Enroll a contact in a journey

`POST /api/v1/journeys/{id}/trigger`

## Request

- Base URL: `https://mailinapp.com`
- URL: `https://mailinapp.com/api/v1/journeys/{id}/trigger`
- Auth: HTTP bearer

For a journey whose trigger is "API" and that is enabled. Adds the address to `listId` first if it isn't there yet.

## Path parameters

- `id` string, required

## Request body

- object
  - `email` string, email, required
  - `listId` string, required

## Response `200`

Done

- object
  - `ok` true, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key
- `404`: Not found, or not this account's
- `429`: Too many requests for this key

---

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