Skip to content

webhook

JananiVenkat edited this page Jul 20, 2017 · 2 revisions

API's

Method API Desc
Post /webhooks/:token verify the token and publish on the topic

1.Verify the token and Publish on the topic

URI

HTTP POST /webhooks/:token

URI Params

Required: token 

Data Params

Required: None 

Success Response

Code : 200
Content : 
          [{
          'domain': 'illuminati',
          'toolId': 'raster',
          'events': ['evid1', 'evid2'],
          }];

Error Response

Code      :  400 Bad request
Content   :  {'error : Error in operation'}