The new Cosmic dashboard is here!
Test drive it now →

Adding Webhooks in 4 Steps

Cosmic Blog
Cosmic Blog Adding Webhooks in 4 Steps
by Carson Gibbons on September 26, 2016

At Cosmic, we get questions every day about adding Webhooks to an application for better team & product management. Cosmic is an API-first cloud-based content management platform that allows you to easily integrate a CMS to your deployed or emerging application for content updates. Cosmic works by decoupling content from code, allowing you to build applications in your desired language since Cosmic can be integrated with any application, regardless of its programming language.

Cosmic makes it easy to add Webhooks that trigger a POST request to the endpoint of your choice when there is activity on your bucket. 


Let's insert Webhooks into your web application:


1. Go to your Bucket Dashboard



2. Go to the Webhooks tab



3. Add the Webhooks bucket upgrade - refer to Cosmic Pricing for bucket breakdowns




4. Use the Webhooks table to select an event and trigger a POST request to the API endpoint



Now this will post to the endpoint of your choice whenever the event signified occurs. This is great for static websites & great for the build process whenever content is changed. You can send a message on Slack to your team whenever you’ve added a new piece of content for draft review. Cosmic builds collaboration between developers & content editors in everything we do, because we work content-first.


Watch the Webhooks Tutorial: 

 


Read More:

  1. New: Track Your API Requests
  2. Build a Blog in 4 Steps
  3. The Cosmic Stack
  4. Three Ways to use The Cosmic Stack
  5. How to Create an Intuitive Website Navigation Menu


You may also like


Looking to shortlist some headless content management systems? Our comprehensive list will help you narrow down the growing headless CMS landscape.

We believe headless is positioned to dominate the CMS market in the next decade. How so? Take a peek into our insights.

In this article, we'll talk about what Vue and React bring to the table to help you decide which framework/library you should use.

What should you be thinking about when hunting for a future-proof CMS? We've listed every consideration your organization will need when it comes to choosing a Modern CMS.

We are excited to share more dashboard progress with you. Since our last update we've been focused on building out the main Cosmic user flows for developers and content creators. Here's a sneak peak of some recently completed features.

After months of painstaking design, development, and testing, we are excited to announce the release of the new Cosmic Dashboard! We have rebuilt the dashboard from the ground up and you can now be one of the first to test it in a private alpha release.

Get Started with Cosmic

Build personal projects for free. Add your team at unbeatable prices.
Start Building Talk to Sales