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

# Send Webhook

Send a POST request to any external HTTPS URL. Supports custom headers and JSON body. Automatically retries on failure and keeps sensitive headers (Authorization, API keys) encrypted.

Built-in action Utility

Send a POST request to any external HTTPS URL. Supports custom headers and JSON body. Automatically retries on failure and keeps sensitive headers (Authorization, API keys) encrypted.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `send-webhook` |
| Category | Utility |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `webhook`, `http`, `api`, `integration`, `notification`, `outbound` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | Yes | Target URL for the webhook. Must use HTTPS. URLs resolving to private/internal IPs are blocked for security. |
| `headers` | `object` | No | Custom HTTP headers. Sensitive headers \(Authorization, API keys, tokens\) are automatically encrypted at rest. |
| `body` | `object` | No | Request body \(JSON\). Can use workflow variables like &#123;&#123;node.result.field&#125;&#125; |
| `maxRetries` | `number` | No | Maximum retry attempts on failure \(default: 3\). Uses exponential backoff. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `deliveryId` | `string` | Yes | Unique ID for tracking this webhook delivery. Use the Deliveries API to check status. |
| `status` | `string` | Yes | Initial delivery status \(always 'pending', delivery happens async\) |
| `url` | `string` | No | Target URL |
| `method` | `string` | No | HTTP method used \(always POST\) |

## Examples

**Workflow node**

```json
{
  "type": "send-webhook",
  "payload": {
    "url": "https://api.example.com/webhook"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/send-webhook/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "url": "https://api.example.com/webhook"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.