---
title: "Receive a signed trigger webhook"
---

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

# Receive a signed trigger webhook

Path: CloudRaker Workspace API › Trigger Webhooks

`POST /inbound/{orgSlug}/{slug}`

Accepts a JSON payload up to 1 MiB, authenticated by Standard Webhooks headers.

## Path parameters

- `orgSlug` (`receiveTriggerWebhook.path.orgSlug`; string, required)
  - maxLength 63; pattern `^[a-z0-9][a-z0-9-]{0,62}$`
- `slug` (`receiveTriggerWebhook.path.slug`; string, required)
  - maxLength 64; pattern `^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$`

## Header parameters

- `webhook-id` (`receiveTriggerWebhook.header.webhook-id`; string, required)
- `webhook-timestamp` (`receiveTriggerWebhook.header.webhook-timestamp`; string, required)
- `webhook-signature` (`receiveTriggerWebhook.header.webhook-signature`; string, required)

## Request body

_Required._

## Example request

```json
{}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.cloudraker.com/inbound/<orgSlug>/<slug>' \
  --header 'Content-Type: application/json' \
  --header 'webhook-id: string' \
  --header 'webhook-signature: string' \
  --header 'webhook-timestamp: string' \
  --data '{}'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/inbound/<orgSlug>/<slug>';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'webhook-id': 'string',
    'webhook-timestamp': 'string',
    'webhook-signature': 'string'
  },
  body: JSON.stringify({})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/inbound/<orgSlug>/<slug>"

payload = {}
headers = {
    "Content-Type": "application/json",
    "webhook-id": "string",
    "webhook-timestamp": "string",
    "webhook-signature": "string"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 202

The signed delivery was accepted.

#### Example

```json
{}
```

### 400

`invalid_payload` — the body could not be read as a signed payload.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`receiveTriggerWebhook.response.400.error`; string, required) — The sentence a human reads.
- `error_code` (`receiveTriggerWebhook.response.400.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`receiveTriggerWebhook.response.400.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`receiveTriggerWebhook.response.400.issues.path`; string, required)
  - `code` (`receiveTriggerWebhook.response.400.issues.code`; string, required)
  - `message` (`receiveTriggerWebhook.response.400.issues.message`; string, required)

### 401

`invalid_signature` — the signature does not match the signed bytes.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`receiveTriggerWebhook.response.401.error`; string, required) — The sentence a human reads.
- `error_code` (`receiveTriggerWebhook.response.401.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`receiveTriggerWebhook.response.401.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`receiveTriggerWebhook.response.401.issues.path`; string, required)
  - `code` (`receiveTriggerWebhook.response.401.issues.code`; string, required)
  - `message` (`receiveTriggerWebhook.response.401.issues.message`; string, required)

### 404

`not_found` — no such webhook address, or its trigger is disabled.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`receiveTriggerWebhook.response.404.error`; string, required) — The sentence a human reads.
- `error_code` (`receiveTriggerWebhook.response.404.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`receiveTriggerWebhook.response.404.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`receiveTriggerWebhook.response.404.issues.path`; string, required)
  - `code` (`receiveTriggerWebhook.response.404.issues.code`; string, required)
  - `message` (`receiveTriggerWebhook.response.404.issues.message`; string, required)

### 409

`trigger_conflict` — the same delivery id arrived with different bytes; `channel_migration_in_progress` — this address has no committed trigger owner yet.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`receiveTriggerWebhook.response.409.error`; string, required) — The sentence a human reads.
- `error_code` (`receiveTriggerWebhook.response.409.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`receiveTriggerWebhook.response.409.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`receiveTriggerWebhook.response.409.issues.path`; string, required)
  - `code` (`receiveTriggerWebhook.response.409.issues.code`; string, required)
  - `message` (`receiveTriggerWebhook.response.409.issues.message`; string, required)

### 413

`payload_too_large` — the payload exceeds 1 MiB.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`receiveTriggerWebhook.response.413.error`; string, required) — The sentence a human reads.
- `error_code` (`receiveTriggerWebhook.response.413.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`receiveTriggerWebhook.response.413.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`receiveTriggerWebhook.response.413.issues.path`; string, required)
  - `code` (`receiveTriggerWebhook.response.413.issues.code`; string, required)
  - `message` (`receiveTriggerWebhook.response.413.issues.message`; string, required)

### 503

`intake_unavailable` — webhook intake is temporarily unavailable.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`receiveTriggerWebhook.response.503.error`; string, required) — The sentence a human reads.
- `error_code` (`receiveTriggerWebhook.response.503.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`receiveTriggerWebhook.response.503.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`receiveTriggerWebhook.response.503.issues.path`; string, required)
  - `code` (`receiveTriggerWebhook.response.503.issues.code`; string, required)
  - `message` (`receiveTriggerWebhook.response.503.issues.message`; string, required)


Source: https://docs.cloudraker.com/workspace/api/trigger-webhooks/receive-trigger-webhook/index.md
