---
title: "Send the next step of an interaction"
method: POST
path: "/interactions/{id}/steps"
tags: ["Interactions"]
---

# Send the next step of an interaction

`POST /interactions/{id}/steps`

## Request

- Base URL: `https://api.primitive.dev/v1`
- URL: `https://api.primitive.dev/v1/interactions/{id}/steps`
- Auth: HTTP bearer

Send the next step from our side of an existing interaction, validated against its current state. An interaction on a mailbox the caller cannot send from is answered as not found.

## Path parameters

- `id` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- SendInteractionStepRequest
  - `step` string, required
  - `payload` unknown
  - `expires_at` string, date-time, nullable
  - `subject` string
  - `body_text` string

## Response `200`

Send the next step of an interaction

- object
  - `success` true, required
  - `data` SendInteractionStepResult, required
    - `interaction_id` string, uuid, required
    - `wire_id` string, required
    - `step_id` string, required
    - `send_id` string, nullable
    - `state` string, required
    - `failure_reason` string, nullable
    - `events` string[], required

## Other responses

- `400`: Invalid request parameters
- `401`: Invalid or missing API key
- `403`: feature_disabled: interactions (or, for wake.dispatch, Wake dispatch) are not enabled for this organization; grant_forbidden: the credential does not hold the permission
- `404`: Resource not found
- `429`: Rate limit exceeded. The `ratelimit-*` headers describe the limiter that rejected this request, with its own limit and window, not the API budget that successful responses report. A limiter that reports only a wait sends `Retry-After` alone.

---

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