Custom Webhooks for Cloud Functions

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Version │ 4.3.2 (node v16.14.2)

Aim: I want to trigger an endpoint (which is a cloud function) whenever any changes are made to a particular collection type.

My approach: I am trying to achieve this using lifecycle hooks, but I am not sure that how can I connect to an external API endpoint. As trying “fetch” isn’t working.

Any help?