---
title: "POST /responses/by-id"
method: POST
path: "/responses/by-id"
tags: ["AI"]
---

# POST /responses/by-id

`POST /responses/by-id`

## Request

- Base URL: `https://api.carbonvoice.app`
- URL: `https://api.carbonvoice.app/responses/by-id`
- Auth: one of:
  - API key in header `pxtoken`
  - OAuth 2 (implicit, authorization URL `https://api.carbonvoice.app/oauth/authorize`)

## Request body

- GetAIResponsesByIds
  - `ids` string[], required: List of AI response IDs Max 500

## Response `200`

- AIResponse[]
  - `id` string, required
  - `creator_id` string, required
  - `prompt_id` string, required
  - `created_at` string, date-time, required
  - `last_updated_at` string, date-time, required
  - `responses` ResponseByLanguage[], required: Responses by language
    - `language` string, required: Language
    - `json` object: Json format
    - `text` string: Text format
    - `html` string: Html format
    - `markdown` string: Markdown format
  - `message_ids` string[], required
  - `workspace_id` string
  - `channel_id` string

## Other responses

- `403`
- `404`

---

[API](https://skmtc.dev/carbonvoice/apis/carbon-voice-api.md) · [All operations](https://skmtc.dev/carbonvoice/apis/carbon-voice-api/llms.txt) · [OpenAPI document](https://skmtc.dev/carbonvoice/apis/carbon-voice-api/revisions/b91c5c845122?raw)
