# Receive a data source webhook

Canonical: https://docs.shumoku.dev/en/server/0.2.0/api/postWebhooksByTypeById
Language: en
Server documentation version: 0.2.0
Product version: 0.2.0
Channel: stable

Shumoku Server API · 0.2.0 · Webhooks

# Receive a data source webhook

[OpenAPI source](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.2.0/apps/server/api/openapi.json)

```
POST /api/webhooks/{type}/{id}
```

## Authentication

webhookHeader / webhookQuery

## Request body

`object` · application/json

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | Webhook processed | `WebhookResult` |
| `400` | Webhook rejected | `Error` |
| `401` | Webhook rejected | `Error` |
| `404` | Webhook rejected | `Error` |
| `500` | Webhook rejected | `Error` |

[`apps/server/api/openapi.json`](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.2.0/apps/server/api/openapi.json)
