> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ingestly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhook

> Accept documents submitted via the HTTP API using an API key.

The webhook trigger accepts documents submitted programmatically via an HTTP POST request. Requests must include a valid API key for authentication. This trigger is ideal for integrating Ingestly into automated workflows and external systems.

## Configuration

| Field                | Type      | Required | Description                                                   |
| -------------------- | --------- | -------- | ------------------------------------------------------------- |
| **API key**          | select    | Yes      | The API key used to authenticate incoming requests            |
| **Allowed origins**  | string\[] | No       | List of allowed CORS origins for browser-based uploads        |
| **Accepted formats** | string\[] | No       | Restrict which document formats are accepted (e.g., PDF, PNG) |
| **Max size (MB)**    | number    | No       | Maximum document size limit in megabytes                      |

## Inputs and outputs

**Allowed inputs:** None. This is a trigger node and starts the pipeline.

**Output:** The uploaded document, passed to the next connected node.

## Related

<CardGroup cols={2}>
  <Card title="Webhook trigger guide" icon="code" href="/guides/webhook-trigger">
    Usage examples and integration patterns
  </Card>

  <Card title="API reference" icon="book" href="/api-reference/introduction">
    Full API documentation
  </Card>

  <Card title="API keys" icon="key" href="/admin/api-keys">
    Manage your API keys
  </Card>

  <Card title="Upload trigger" icon="cloud-arrow-up" href="/nodes/upload-trigger">
    Accept documents via the UI instead
  </Card>
</CardGroup>
