Skip to main content

API call to add webhook fails. Is scope the problem?

  • November 10, 2021
  • 4 replies
  • 1933 views

I need to add an integration to a board via the API but it appears the API key I’ve created does not have the webhooks scope.
My query:
mutation {

create_webhook (board_id: xxxxxxxxxx, url: "https://www.webhooks.my-webhook/test", event: change_column_value) {

    id

    board_id

}

}

yields:

{

"data": {

    "create_webhook": null

},

"account_id": xxxxxxx

}

and does not create the webhook integration

This topic has been closed for replies.

4 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • November 10, 2021

Hello @ddarnell!

Thank you for reaching out!

If it was a scope issue, you would probably get a different error.

I believe your problem could lie in the URL. You have to use that URL to return the challenge back to our server. If our server does not get the challenge in return, you will get a null response.

You can read a little bit more about this here and here.

Please do let me know if this works for you!

Cheers,
-Matias


  • Author
  • New Participant
  • November 10, 2021

Hi,

You were of course correct. It’s working now.

Thanks!!!

Dave

image001.png


  • November 17, 2021

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • May 23, 2023

Happy to help @ddarnell !