younifyd
Menu

Create Webhook

Create webhook

POST/apps/{app_key}/webhooks

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Create Webhook action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{createWebhook.response.data}}.

Request

Path parameters

app_keystringrequired

The store ID

Query parameters

utokenstringrequired

Your Yotpo account access token. See [Yotpo Authentication](https://apidocs.yotpo.com/reference#yotpo-authentication) to learn how to generate your utoken.

Request body

Enter the body as JSON in the step's Body field.

urlstringrequired

The webhook callback URL.

event_namestringrequired

The event the webhook should listen to. Webhook events could be `review_create` or `review_updated`.

json
{
  "url": "string",
  "event_name": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{createWebhook.response.data.<field>}}.

statusobject
codeinteger

Default 0

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

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.