I was trying to capture webhook response when i am creating the task from inside podio dashboard but i can't receive any response in webhook.site
Used Postman, auth2.0 validation to create and validate the webhook
POST request for creation was
https://api.podio.com/hook/space/7026308/
Request body was
{
"url": "https://webhook.site/e664de7d-b571-42f0-8844-19723ae64caf",
"type": "task.create"
}
Response i get was
{
"hook_id": 17701094
}
Then In webhook.site i got this message
hook_id=17701094&code=51cf7340&type=hook.verify
Then i fire validate POST method from POSTMAN
My POST request was this
https://api.podio.com/hook/17701094/verify/validate
request body was
{
"code": "51cf7340"
}
Response was blank
Then i created a task inside from podio dashboard but i didn't receive any response in my webhook.site Please provide solution for my problem
To verify a webhook, you need to call the
/hook/{hook_id}/verify/validate
API end-point with the hook_id and the code.To do this, you need to be authenticated to the API, so you cannot just do a POST from Postman.
You should code for this in your webhook.site portal. If a POST request comes in with type=hook.verify, authenticate to the API and call
/hook/{hook_id}/verify/validate
.For more, see the docs: https://developers.podio.com/doc/hooks/validate-hook-verification-215241