Creating Subscriptions
Below are list of APIs that need to be called to set up your application for creating subscriptions.
Make sure you followed previous instructions, created a user and logged in to the connectors that you want to use.
You can get information about input variables in built-in-connectors page.
Steps
- Get connector token
- You can use both userId and sourceId.
- Get triggers for the connector
- You need to know
name
of the trigger for the connector that you what to use.- Get triggers
- Choose the trigger that you want to use
- You can use
connector_name
instead ofconnector_id
.
- Get triggers
- You need to know
- Create a subscription
- You should use
url
that you can receive event notifications. variables
is the object for notification creating input.
- You should use
- Get notification
- After a subscription is created, you can get trigger notification in your
url
when event occurs.
- After a subscription is created, you can get trigger notification in your
Helpful?