Send Your First Webhook Event
In this guide, you’ll learn how to deploy your first webhook event with Convoy. You’ll be making use of your project API key which can be generated by creating a project from your dashboard. You’ll also need your project ID which can be retrieved from your Project Settings page.
Install Client
Install convoy.js with:
Configure
In the event you’re using a self-hosted convoy instance, you can define the url as part of what is passed into convoy’s constructor.
Now that your client has been configured, create a convoy application.
Create an Endpoint
The next step is to create a subscription to the webhook source. Subscriptions are the conduit through which events are routed from a source to a destination on Convoy.
Subscribe for Events
With the subscription in place, you’re set to send an event.
Send an Event
To send an event, you’ll need the uid from the endpoint you created earlier.
Cheers! 🎉
You have successfully created a Convoy application to send events to your configured endpoint.
Was this page helpful?