{"_id":"59520919f5c137001533823a","project":"56f962d8d522d81700600280","version":{"_id":"56f962d8d522d81700600283","hasDoc":true,"__v":5,"hasReference":true,"project":"56f962d8d522d81700600280","createdAt":"2016-03-28T16:59:04.166Z","releaseDate":"2016-03-28T16:59:04.166Z","categories":["56f962d8d522d81700600284","5951d5489435c30015923d54","5951d6de50727a00155053c6","5951d99224e2f70015dec6c6","5951e40ef5c137001533814b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5951d6de50727a00155053c6","project":"56f962d8d522d81700600280","version":"56f962d8d522d81700600283","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-06-27T03:54:06.338Z","from_sync":false,"order":4,"slug":"reference","title":"Run API"},"user":"57736a020a6d610e00dea1fd","__v":1,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-06-27T07:28:25.306Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","examples":{"codes":[]},"method":"post","auth":"required","params":[{"_id":"59520997f5c137001533823d","ref":"","in":"header","required":true,"desc":"Authentication Key","default":"","type":"string","name":"Authorization"},{"_id":"59520997f5c137001533823c","ref":"","in":"body","required":true,"desc":"The URL that Wimo should issue a request against as soon as the trigger condition is met.","default":"","type":"string","name":"url"},{"_id":"59520997f5c137001533823b","ref":"","in":"body","required":true,"desc":"The number corresponding to the trigger condition on which the webhook should fire.","default":"","type":"int","name":"trigger"}],"url":"/api/v1/webHooks"},"isReference":false,"order":12,"body":"","excerpt":"","slug":"add-webhook","type":"endpoint","title":"Add Webhook"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

url:
required
string
The URL that Wimo should issue a request against as soon as the trigger condition is met.
trigger:
required
integer
The number corresponding to the trigger condition on which the webhook should fire.

Headers

Authorization:
required
string
Authentication Key

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}