v1

latestOpenAPI 3.1.02026-07-26620219.6 KB

Create target

Creates a webhook target or callback URL for listening to events. The webhook target can be used to listen to multiple events from multiple accounts.

post/core/v3/applications/{application_id}/webhooks/targets

Path parameters

application_idstring required

The application ID you received from Yotpo. Replace 'application_id' with your unique 'kong_client' ID (aka 'application_id'), which you received from Yotpo upon the approval and registration of your application

Query parameters

access_tokenstring required

Your Yotpo access token. Click here to learn how to generate one

Request body

Response

200

Example response

{
  "webhook_target": {
    "yotpo_id": 1234
  }
}