Since releasing our developer integrations, teams have used our API, CLI, and SDKs to manage product copy in all stages of the software development lifecycle: updating text locally, integrating our CLI into CI/CD pipelines, integrating with translation and A/B testing tools, and more.
With our API/CLI, up-to-date product copy is available on-demand: whenever a developer fetched the specified text using either our API or CLI. However, as teams built out more complex workflows using Ditto, we wanted to provide developers with a way to gain visibility into actions (text edits, ID edits, status changes) happening in Ditto.
Today, we’re excited to introduce webhooks to our developer tooling!
Webhooks allow developers to get notified about actions in Ditto in real-time. This enables teams to build custom workflows that automatically get triggered by changes in Ditto.
In simple terms, Ditto Webhooks are real-time notifications sent by Ditto to your application whenever there's a change to data stored in Ditto. This includes notifications for text edits, status changes, ID edits, and more.
Unlike the API and CLI, which fetches information from Ditto when initiated by the user (for example: running our CLI to pull up-to-date text), payloads for Ditto Webhooks are initiated by actions taken in Ditto and contain information about what’s changed.
Webhooks allow you to connect actions in Ditto to all the other tools and systems your team uses.
Developers can create webhooks for the actions they want to get notified by in Ditto. Developers are able to get notified the moment a change happens, eliminating manual monitoring on when to implement upstream copy changes.
A few ways you can use webhooks include:
To get started with our webhooks, check out our guide in our developer docs, where we cover the basics and step-by-step instructions. (If you’re not a developer but curious if this can help your team’s developer integrations, feel free to reach out!)
We’re so excited for teams to start using Ditto webhooks in their developer toolkit. We hope this helps bridge the gap between how edits to copy move from Ditto and designs into production in a way that’s scalable and robust. If you get to try this out in your own workflow, let us know what you build!