API Reference

Learn how to access UNLOQ end points

POST /webhooks

Add webhook for current application

POST https://api.unloq.io/v1/webhooks
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
Body parameters
  • event (enum) - Required.
  • raw_url (boolean) - Optional. Default is false.
  • url (url) - Optional.
  • secret (string) - Optional.
  • retry (integer) - Optional. Number of times to retry. Default is 0.
  • retry_timeout (integer) - Optional. Number of seconds. Default is 60.
  • is_active (boolean) - Optional. Default is true.
Result format (200 OK)
{
  "type": "api.application.webhook.create",
  "result": {
    "id": "123456",
    "event": "logout",
    "url": "http://www.google.com/",
    "is_active": true,
    "organization_id": "123",
    "application_id": "12",
    "created_at": "2016-11-23T09:09:48.000Z"
  }
}
      

Have a question? You can always send us an email at support@unloq.io, or contact us on chat.

For security related concerns, please visit our Security page.