Create Webhook
documentedCreate a new webhook for events.
POST /webhooksWebhooksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://conversations.messagebird.com/v1/webhooks" \
-X POST \
-H "Authorization: AccessKey {{MESSAGEBIRD_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"events": {{$events}}, "channelId": "{{$channel_id}}", "url": "{{$webhook_url}}", "settings": {"expected_http_code": "{{$expected_http_code}}", "headers": {"from": "{{$header_from}}"}, "query_params": "{{$query_params}}", "username": "{{$webhook_username}}", "password": "{{$webhook_password}}", "retry": {{$retry}}, "timeout": {{$timeout}}}}'