restcircuit-sdk

Getting "403" error while registering an Outgoing Webhook via PostMan


URL :

https://circuitsandbox.net/rest/v2/webhooks

My Headers :

  • Content-Type : application/x-www-form-urlencoded
  • Authorization : Bearer ot-xxxxxxxxxxxx

Body :

  • url - Some URl
  • filter - CONVERSATION.CREATE

Error I am getting :

"The permission to access this resource is not granted. Scopes ::= [ALL, READ_CONVERSATIONS, READ_USER]"

Plus If i want to send extra filters thn will it be comma separated values?


Solution

  • If you are getting a 403, I would suspect a scope error (as mentioned by Roger) or an authentication problem. For the first, please show us which scopes are currently selected for the application ; for authentication, can you check if you can make other API calls successfully ?

    Here is what it looks like in Postman

    enter image description here

    enter image description here