---
title: "Webhook Input"
method: POST
path: "/v1/projects/{project_id}/data/webhook"
tags: ["data-input"]
---

# Webhook Input

`POST /v1/projects/{project_id}/data/webhook`

Accept programmatic data input via webhook.

For automated systems to push data into the platform.

## Path parameters

- `project_id` string, required

## Request body

- WebhookRequest — Request from a programmatic webhook.
  - `source_name` string, nullable — Name/description of the data source
  - `metadata` object — Additional metadata
  - `data` unknown, required
  - `source` string, nullable — Source identifier

## Response `200`

Successful Response

- DataInputResponse — Response after data input is accepted.
  - `input_id` string, required — Unique identifier for this input
  - `input_type` string, required — Type of input (file, url, paste, webhook)
  - `source_name` string, nullable — Name of the data source
  - `detected_format` string, nullable — Detected format (if available)
  - `size_bytes` integer, required — Size of the input in bytes
  - `preview` object, nullable — Preview of the data
  - `status` string — Processing status
  - `created_at` string, date-time

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
