No. 001Filed by The Reporter
Start a routine from any app with a webhook
An HTTP POST can start a Bot routine, but current staff advice conflicts with the docs about delivery of its JSON body.
Update, Nov 8: Staff advice now conflicts with the help center on whether the Bot receives the JSON body. The dek, lead, Why it matters and step 3 are qualified below, and a correction is at the bottom of this page.
Update, Oct 9: Staff said where the webhook fields live on desktop now, and that the phone apps don't show them yet. Step 2 is updated and the re-check note is cleared.
You can have a form, a CI job, or a script start a Grok Bot routine by calling its webhook, per the Grok Bot docs page. Do not assume the Bot currently receives the JSON body: the help center says it does, but Colin's Nov 8 staff reply says the webhook only wakes the Bot and does not pass the body along. We have not tested which behavior holds.
Why it matters#
A schedule runs whether or not there's work. A webhook runs only when something happened. The Aug 25 changelog said routines started by a webhook receive the request body. That historical release note and the help center conflict with Colin's current advice; neither source specifies a scope difference that resolves it.
How to use it#
- Ask the Bot to add a webhook trigger to the routine, as the Grok Bot docs page describes.
- On the desktop app, open the routine from the chip on the Created routine line in the chat where the Bot made it. Click each field (the URL, the key, and the Authorization header) to copy it, staff said.
- Send a POST with that header. You may include JSON as the help center describes, but do not rely on body delivery while the staff/docs conflict is unresolved.
- Read the result in the Bot's chat.
curl -X POST "<POST to URL>" \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"order_id": "1042"}'
This is a request shape, not a tested delivery guarantee. Colin recommends saving incoming messages somewhere the Bot can read, then calling the webhook and having the routine pick up those messages. That is staff advice, not a bridge we tested.
Good to know#
- A 200 means the run started, not that it finished. Any other code means no run. Check that the routine isn't paused and the key is current.
- Treat the key like a password.
- The phone apps don't show the webhook URL, key, or header yet, on Android or iOS, staff said on Oct 9. Tapping grokbot:// links to those fields in a chat does nothing on the phone. Both are on the team's list, with no date.
- Webhook triggers shipped Aug 19 in 0.21.0. Request bodies followed Aug 25.
- Tried it: We haven't called a live routine webhook. We don't have a routine URL and key to test against, so the request above is the shape the Grok Bot docs page describes, with placeholders.
Sources#
- Grok Bot docs: Skills and routines
- Grok Bot changelog
- Colin on gateway sends and webhook routines (Nov 8)
Corrections#
Correction, Nov 8, 2026: Our earlier dek and lead presented webhook body delivery as assured. We have qualified that current guarantee: on Nov 8, Colin said the webhook only wakes the Bot and does not pass the request body along, while Cursor's help center still says the Bot receives it. We have not tested which holds, and have not established when or whether behavior changed. The Aug 25 release note remains a historical statement, not proof of today's behavior.
·
Sources
- Grok Bot docs: Skills and routinesdocs.x.ai1
- Grok Bot changelogx.ai2
- Colin on the Cursor forum: webhook fields show only on desktopforum.cursor.com3
- Colin on gateway sends and webhook routines (Nov 8)forum.cursor.com4