---
title: "Extract Data"
method: POST
path: "/conversations/{id}/extractions"
tags: ["conversations"]
---

# Extract Data

`POST /conversations/{id}/extractions`

Extracts data from a conversation using a schema.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body

- ExtractDataRequest
  - `schema_id` string, required — ID of the extraction schema to use.

## Response `201`

Success response

- ConversationsExtractDataResponse201
  - `result` object, required — The extracted data according to the schema.

## Other responses

- `400` — Invalid parameters
- `401` — Unauthorized (authentication missing or invalid)
- `403` — Forbidden
- `404` — Conversation or schema not found
- `500` — Internal server error

---

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