subscriptions

Activate webhook subscription.

To ensure that the target server is ready to consume notifications, we require you to implement the initial handshake.

Having subscription with callbackUrl: https://example.org/hook, during activation we will make POST request with X-Hook-Secret header:

POST https://example.com/hook
X-Hook-Secret: 4jn8fs9011jj8

We expect your server to respond within the time of 20 seconds with HTTP 200 response containing X-Hook-Secret header with the same value.

Response 200
X-Hook-Secret: 4jn8fs9011jj8
put/subscriptions/{id}/activation

Request

  • Base URL
    https://api.smartrecruiters.com/webhooks-api/v201907
  • URL
    https://api.smartrecruiters.com/webhooks-api/v201907/subscriptions/{id}/activation
  • Auth
    • API key in header x-smarttoken
    • or OAuth 2
      Authorization code: https://www.smartrecruiters.com/identity/oauth/allow
      Token URL: https://api.smartrecruiters.com/identity/oauth/token scopes: webhooks_write, webhooks_manage

Response

Subscription activated.

Changes

No recorded changes to this operation across all 1 revision of this API.