Skip to main content
Version: 6.0.9

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 services that you want to use.

You can get information about input variables in built-in-services page.

Steps

  1. Get service token
    • You can use both userId and sourceId.
  2. Get triggers for the service
    • You need to know name of the trigger for the service that you what to use.
      1. Get triggers
        • Choose the trigger that you want to use
        • You can use service_name instead of service_id.
  3. Create a subscription
    • You should use url that you can receive event notifications.
    • variables is the object for notification creating input.
  4. Get notification
    • After a subscription is created, you can get trigger notification in your url when event occurs.