Create a webhook and parameters for a specific URL. Events can be review_createand review_updated. Scroll down to view the object structure for each event.

post/v2/{account_id}/webhooks

Request

  • Base URL
    https://developers.yotpo.com
  • URL
    https://developers.yotpo.com/v2/{account_id}/webhooks
  • Auth
    API key in header X-Yotpo-Token

Path parameters

account_idstring required

Your account's API app key

Request body

urlstring

Your site URL

event_namestring

The type of webhook params you can create. This can be review_create or review_updated.

Response

200

paginationunknown

Example response

{
  "status": {
    "code": 200,
    "message": "OK"
  }
}

Changes