> This page is for Workspace app.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.cloudraker.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cloudraker.com/_mcp/server.

# Receive a signed trigger webhook

POST https://api.cloudraker.com/inbound/{orgSlug}/{slug}
Content-Type: application/json

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

Reference: https://docs.cloudraker.com/workspace/api/trigger-webhooks/receive-trigger-webhook

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `orgSlug` (string, required)
- `slug` (string, required)

### Headers

- `webhook-id` (string, required)
- `webhook-timestamp` (string, required)
- `webhook-signature` (string, required)

### Body (application/json)

This endpoint expects a map from string to any.

- `map from string to any`

## Response

### 202

The signed delivery was accepted.

- `map from string to any`

## Errors

### 400 Bad Request Error

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

- `error` (string, required) — The sentence a human reads.
- `error_code` (string, required) — The stable snake_case branch key.
- `issues` (list of InboundOrgSlugSlugPostResponsesContentApplicationJsonSchemaIssuesItems, optional) — Per-field detail, present only on a validation failure.

### 401 Unauthorized Error

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

- `error` (string, required) — The sentence a human reads.
- `error_code` (string, required) — The stable snake_case branch key.
- `issues` (list of InboundOrgSlugSlugPostResponsesContentApplicationJsonSchemaIssuesItems, optional) — Per-field detail, present only on a validation failure.

### 404 Not Found Error

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

- `error` (string, required) — The sentence a human reads.
- `error_code` (string, required) — The stable snake_case branch key.
- `issues` (list of InboundOrgSlugSlugPostResponsesContentApplicationJsonSchemaIssuesItems, optional) — Per-field detail, present only on a validation failure.

### 409 Conflict Error

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

- `error` (string, required) — The sentence a human reads.
- `error_code` (string, required) — The stable snake_case branch key.
- `issues` (list of InboundOrgSlugSlugPostResponsesContentApplicationJsonSchemaIssuesItems, optional) — Per-field detail, present only on a validation failure.

### 413 Content Too Large Error

`payload_too_large` — the payload exceeds 1 MiB.

- `error` (string, required) — The sentence a human reads.
- `error_code` (string, required) — The stable snake_case branch key.
- `issues` (list of InboundOrgSlugSlugPostResponsesContentApplicationJsonSchemaIssuesItems, optional) — Per-field detail, present only on a validation failure.

### 503 Service Unavailable Error

`intake_unavailable` — webhook intake is temporarily unavailable.

- `error` (string, required) — The sentence a human reads.
- `error_code` (string, required) — The stable snake_case branch key.
- `issues` (list of InboundOrgSlugSlugPostResponsesContentApplicationJsonSchemaIssuesItems, optional) — Per-field detail, present only on a validation failure.

## Types

### InboundOrgSlugSlugPostResponsesContentApplicationJsonSchemaIssuesItems

- `path` (string, required)
- `code` (string, required)
- `message` (string, required)

## Examples

**Request**

```json
{}
```

**Response**

```json
{}
```

**SDK Code**

```python
import requests

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

payload = {}
headers = {
    "webhook-id": "webhook-id",
    "webhook-signature": "webhook-signature",
    "webhook-timestamp": "webhook-timestamp",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript
const url = 'https://api.cloudraker.com/inbound/orgSlug/slug';
const options = {
  method: 'POST',
  headers: {
    'webhook-id': 'webhook-id',
    'webhook-signature': 'webhook-signature',
    'webhook-timestamp': 'webhook-timestamp',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

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

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("webhook-id", "webhook-id")
	req.Header.Add("webhook-signature", "webhook-signature")
	req.Header.Add("webhook-timestamp", "webhook-timestamp")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.cloudraker.com/inbound/orgSlug/slug")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["webhook-id"] = 'webhook-id'
request["webhook-signature"] = 'webhook-signature'
request["webhook-timestamp"] = 'webhook-timestamp'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.cloudraker.com/inbound/orgSlug/slug")
  .header("webhook-id", "webhook-id")
  .header("webhook-signature", "webhook-signature")
  .header("webhook-timestamp", "webhook-timestamp")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.cloudraker.com/inbound/orgSlug/slug', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
    'webhook-id' => 'webhook-id',
    'webhook-signature' => 'webhook-signature',
    'webhook-timestamp' => 'webhook-timestamp',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.cloudraker.com/inbound/orgSlug/slug");
var request = new RestRequest(Method.POST);
request.AddHeader("webhook-id", "webhook-id");
request.AddHeader("webhook-signature", "webhook-signature");
request.AddHeader("webhook-timestamp", "webhook-timestamp");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "webhook-id": "webhook-id",
  "webhook-signature": "webhook-signature",
  "webhook-timestamp": "webhook-timestamp",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cloudraker.com/inbound/orgSlug/slug")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```