docs/adapters/http.md
The http adapter sends a webhook request to an external agent service. The agent runs externally and Paperclip just triggers it.
process, claude_local, or codex_local)| Field | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Webhook URL to POST to |
headers | object | No | Additional HTTP headers |
timeoutSec | number | No | Request timeout |
The webhook receives a JSON payload with:
{
"runId": "...",
"agentId": "...",
"companyId": "...",
"context": {
"taskId": "...",
"wakeReason": "...",
"commentId": "..."
}
}
The external agent uses PAPERCLIP_API_URL and an API key to call back to Paperclip.