Webhooks
In this document we shall look at the various webhook events provided by TagMango
Webhooks (Web Callback, HTTP Push API, or Reverse API) are a method for one web application to transmit messages to the other application in real-time when a predefined event takes place. TagMango's webhooks allow you to receive information about specific events based on parameters of the event.
Registering webhooks
In order to register a webhook on TagMango follow the following steps:
Retrieve your API Key from TagMango dashboard by going to Dashboard -> Platform Integrations.
Use the key to hit the following api endpoint:
curl --location 'https://api-prod-new.tagmango.com/integration/webhook' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Cache-Control: no-cache' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <Your API Key>' \
--data '{
"hookUrl": "<your webhook url>",
"event": "<event to be connected>",
"mango": "<mango to be associated>",
"course": "<the course to be associated>",
}'
Last updated