Create Subscription

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.

Body Params
string
required

A unique name to identify your subscription

string
required

The URL for the webhook to be POSTed

string

A pipe delimited list of events to subscribe

int32
Defaults to 10

The number of retries

int32
Defaults to 60

The length of time between retries

boolean

Whether to receive email notifications for failed deliveries

string

An optional token to be passed as a query parameter

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json