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


In this installment of the Cosmic Developer Spotlight Series, we sat down with Rick Hanlon, a Front End Engineer  and recent New Yorker that is now residing in London, England working on the front end team at Facebook. Rick is also on the core team of Jest, a JavaScript testing platform. Follow Rick on Twitter or LinkedIn and enjoy the Q/A.

In this installment of the Cosmic Developer Spotlight Series, we sat down with Raymond Camden, a Senior Software Engineer and Developer Advocate residing in Lafayette, Louisiana. Raymond has extensive experience in the technology space, having enjoyed stints at IBM, Adobe and AuthO prior to becoming a Senior Engineer for Developer Experience at American Express. Follow Raymond on Twitter, GitHub or LinkedIn, and enjoy the Q/A.

We're excited to announce a new way to collaborate with your team on your digital projects. Introducing Workspaces.

As a developer, getting a CMS set up for your content creators requires a certain level of empathy. It's your job to make a technology choice that allows them to work in a comfortable environment and only see what they need to get their job done.

Why are so many businesses looking beyond WordPress and other traditional CMSes for powering their digital content? What really is a headless CMS? And how does it work? Find out in this primer on headless CMSes.

At Cosmic, it's our mission to help teams of developers and content creators build great content-powered apps together. We're happy to announce the new Additional Users Add-On to offer a flexible pricing option for growing teams.

Ready to Get Started?

Build personal projects for free. Add your team at unbeatable prices.
Start Now Contact Sales