---
title: "Confirm Card-Gated Action (Stream)"
method: POST
path: "/v1/agents/{agent_id}/conversations/{conversation_id}/confirm"
tags: ["API v1", "Agents", "Agent Conversations"]
---

# Confirm Card-Gated Action (Stream)

`POST /v1/agents/{agent_id}/conversations/{conversation_id}/confirm`

## Request

- Base URL: `https://api.xpander.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xpander.ai/v1/agents/{agent_id}/conversations/{conversation_id}/confirm`
- Auth: API key in header `x-api-key`

Approve or decline a prior confirmation card and resume the task, streaming every event over SSE. The target of the action is read from the card itself, never from the body.

## Path parameters

- `agent_id` string, required
- `conversation_id` string, required

## Query parameters

- `version` string, nullable: Agent version to run.

## Request body

- ConfirmCardSubmission: Body of the service-key confirm endpoint: resolve a destructive confirmation card.
  - `decision_id` string, required: Id of the confirmation card's interaction being resolved.
  - `approve` boolean: True to carry out the action; False to dismiss it.
  - `user` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xpander/apis/xpander-ai-api-service.md) - [All operations](https://skmtc.dev/xpander/apis/xpander-ai-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/xpander/apis/xpander-ai-api-service/revisions/4389ec0875d0?raw)
