Create Webhook
documentedCreate a webhook for conversation events.
POST /webhooksConversationsno 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": ["message.created", "message.updated"], "channelId": "{{$channel_id}}", "url": "{{$webhook_url}}", "settings": {"expected_http_code": "{{$expected_http_code}}", "headers": {"X-Custom-Header": "{{$custom_header}}"}, "query_params": "{{$query_params}}", "username": "{{$username}}", "password": "{{$password}}", "retry": {{$retry}}, "timeout": {{$timeout}} } }'