Send roadmap events to another service with webhooks
PRO - requires Product Roadmap Pro
A webhook sends a message to another service the moment something happens on your roadmap. Use it to post “Slack notifications” status changes to a channel, add a row to a spreadsheet when someone votes, or start a Zapier or Make scenario.
There is no webhooks screen yet. You switch webhooks on in settings, then add and manage them through the REST API. The steps below use a command you can paste into a terminal.
Set up a webhook
Section titled “Set up a webhook”-
Go to Roadmap > Settings > Advanced and tick Enable webhooks. Click Save Settings. While this is off, nothing is sent.
-
Go to Users > Profile, scroll to Application Passwords, and create one named “Roadmap webhooks”. Copy the password. You need the Administrator role.
-
Add the webhook. Replace the site address, password and secret with your own:
curl -u "admin:abcd efgh ijkl mnop qrst uvwx" \-X POST "https://fieldbook.example/wp-json/roadmap/v1/webhooks" \-H "Content-Type: application/json" \-d '{"url":"https://hooks.example.com/fieldbook","secret":"k7Qp2xVn9sLw4TzR","events":["status_changed","vote_submitted"]}'A reply with
"success":truemeans it is saved. Theurl,secretandeventsare all required. Use any long random string as the secret.
Events
Section titled “Events”| Event | Sent when |
|---|---|
status_changed |
An item moves to a new status, for example “Dark theme” moves to In Progress. |
vote_submitted |
A member votes on an item. |
comment_submitted |
A member comments on an item. |
suggestion_submitted |
A logged-in member suggests an idea. |
guest_suggestion_submitted |
A visitor suggests an idea as a guest. |
Choose only the events you need. Any other event name is dropped when you save. The fields in each message are listed in Webhooks and custom fields.
Check the signature
Section titled “Check the signature”Every message carries an X-Roadmap-Signature-256 header, which looks like sha256= followed by a code. The code is an HMAC-SHA256 of the raw message body, made with your secret. Recalculate it on your side and compare. If it does not match, ignore the message.
$body = file_get_contents( 'php://input' );$expected = 'sha256=' . hash_hmac( 'sha256', $body, 'k7Qp2xVn9sLw4TzR' );$received = $_SERVER['HTTP_X_ROADMAP_SIGNATURE_256'] ?? '';
if ( ! hash_equals( $expected, $received ) ) { http_response_code( 401 ); exit;}Two more headers come with each message: X-Roadmap-Event (the event name) and X-Roadmap-Delivery (a unique ID you can use to ignore duplicates).
Test a webhook
Section titled “Test a webhook”There is no Test button. Send a test message with the test route:
curl -u "admin:abcd efgh ijkl mnop qrst uvwx" \ -X POST "https://fieldbook.example/wp-json/roadmap/v1/webhooks/test" \ -H "Content-Type: application/json" \ -d '{"url":"https://hooks.example.com/fieldbook","secret":"k7Qp2xVn9sLw4TzR"}'It sends an event named test, waits for the answer, and shows you the other service’s response code and body. "success":true means it replied with a 2xx code. A test works even while Enable webhooks is off.
See what was sent
Section titled “See what was sent”curl -u "admin:abcd efgh ijkl mnop qrst uvwx" \ "https://fieldbook.example/wp-json/roadmap/v1/webhooks"The reply lists your webhooks, with each secret partly hidden, and the 20 most recent deliveries. Each delivery shows the address, the event, the time and any error. The plugin keeps the last 100 deliveries.
A real delivery is logged as dispatched. Messages are sent in the background, so the log does not show whether the other service accepted them. It records an error only when the message could not leave your site, for example when the address cannot be reached or its HTTPS certificate is invalid.
Retries
Section titled “Retries”There are none. Each event is sent once, with a 10 second limit. If the other service is down at that moment, the event is lost. Design your receiver to answer quickly, and use the delivery ID to skip a message you have already handled.
Remove or pause webhooks
Section titled “Remove or pause webhooks”-
Pause all: untick Enable webhooks and save. Your webhooks stay saved.
-
Remove one: list your webhooks to find its
index, then send a DELETE request:curl -u "admin:abcd efgh ijkl mnop qrst uvwx" \-X DELETE "https://fieldbook.example/wp-json/roadmap/v1/webhooks/0"The remaining webhooks shift up by one. List them again before you delete a second one.

