Webhook By ID
Changed onRetrieve webhook URLs ,event names, and event IDs by webhook id.
get/v2/{account_id}/webhooks/{id}
Request
- Base URLhttps://developers.yotpo.com
- URLhttps://developers.yotpo.com/v2/{account_id}/webhooks/{id}
- AuthAPI key in header X-Yotpo-Token
Path parameters
account_idstring required
Your account's API app key
idstring required
The webhook id. Can be found using Retrieve All Webhooks
Response
200
Example response
{
"status": {
"code": 200,
"message": "OK"
},
"webhook": {
"webhook": {
"webhook_event_id": 1,
"webhook_event_name": "review_create",
"url": "https://myapp.yotpo.com/users/B9Fnmid4rkwNVa9xCCB5WzbfjpeNWAisV7aTYj5f/yotpo_webhook"
}
}
}Changes
- info
endpoint added
- info