The Create Subscription method creates a new subscription and returns the created subscription object.
The subscription
parameter should contain a pipe delimited list of events to subscribe corresponding to the available methods.
The token
parameter may be set to ensure all webhooks are authenticated via your platform as the token
will be passed in a header named triathlon-token
in all outgoing requests such that you can check this header in your application.
If notifications
are set to true you will receive an email on any failed webhook requests.
retries
and retries_delay
follow an exponential back-off style retry policy which defaults to 10 retries with an initial delay of 60 seconds. We recommend keeping these defaults unless you have a differing use-case.
You may also create subscriptions through the apps.api.triathlon.org management portal.