Configuration¶
Subscribe to a topic¶
Your endpoint must be an HTTPS address.
It’s possible to subscribe to a topic by sending a POST request to the API REST.
Here is an example to subscribe to the trip.created topic :
Request: POST /admin/api/2021-04/webhooks.json
Request: POST /2021_05_06/webhooks
{
"topics": ["trip.created"],
"url": "https://1234abcd.ecovelo.mobi"
}
Testing your webhook¶
To test your webhook subscription, you can use publicy available service such as webhook.site.