Question

Validation Token on WebHook subscription

  • 27 October 2016
  • 2 replies
  • 1143 views

I am attempting to subscribe to push notifications. When I send the request I am receiving the error code 'SUB-520' with description 'Validation Token is not returned'. I can't find anything in the API documentation about this whatsoever. I see the request come in to my server with a custom HTTP header called VALIDATION_TOKEN. I tried many ways to reply to this, but nothing I have tried works. What am I missing?


2 replies

Found it. The reply needs to have header "validation-token" with a hyphen instead of an underscore. The documentation where I found this was here: http://ringcentral-quickstart.readthedocs.io/en/latest/webhooks/
That is correct. Glad you were able to find the documentation.

There is also this demo application in Node.js for understanding RingCentral WebHooks.

Reply