Webhooks
CodeWords webhooks are HTTP endpoints that let external systems send data directly into your workflows or agents.
What are webhooks?
Webhooks let other apps start a CodeWords workflow when something happens — a form submit, a file upload, a CRM update, and so on.
They’re useful when you want an automation to react instantly. They can also send data back when the workflow finishes, which is handy for API-style automations that process input and return a result.
Ask Cody to create and manage webhooks for you.
Authentication
You don’t need a CodeWords API key for webhooks. The webhook URL itself is the credential.
Each webhook gets a unique, hard-to-guess URL. Keep it private — anyone with the link can send data to your workflow. That’s why webhooks work well when you need external triggering without minting an API key.
How webhooks work
Deployed with
app="codewords"andtrigger="webhook"Cody generates a unique CodeWords webhook URL
External systems POST JSON to that URL
Designed to receive event notifications as POST requests with a JSON payload
CodeWords currently supports only the POST HTTP method.
https://runtime.codewords.ai/webhook/.../your_unique_id/your_workflow_webhookCody generates this URL when it sets up the webhook — you don’t need to build it by hand.
Webhook setup
Create a test webhook
Ask Cody to generate a temporary webhook URL so it can learn what data your external app will send.
Connect your external system
Add the test webhook URL in your app (GitHub, Stripe, or any other service) and trigger a test event.
Let Cody analyze the payload
Cody inspects the data your system sent and learns its structure.
Build the webhook service
Cody creates a service with test and production endpoints that follow the webhook pattern.
Deploy the production webhook
Cody launches the live webhook endpoint for real usage.
Update your external system
Replace the test URL with the production webhook URL in your app to finish setup.
FAQs
Last updated
Was this helpful?