---
title: "Answer workflow step"
method: POST
path: "/s2s/conversations/{conversationId}/workflow/answer"
tags: ["S2S Conversations"]
---

# Answer workflow step

`POST /s2s/conversations/{conversationId}/workflow/answer`

Answer the pending workflow step (text, selection, rating, attachments) or
request a human with botAction "humanHandoff".

## Path parameters

- `conversationId` string, required

## Request body

- S2SWorkflowAnswerBody
  - `text` string — Free-text answer (input / chat steps).
  - `selected` string — Selected option value (button / select steps).
  - `rating` number, double — Rating value (rate-conversation steps).
  - `attachments` S2SAttachmentInput[]
    - `url` string, required
    - `name` string
    - `contentType` string
  - `botAction` 'humanHandoff' — "humanHandoff" requests a human without waking an agent run.

## Response `202`

Accepted

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/b8a72fda881e/schema)
