Download OpenAPI specification:Download
This is the Webhook section description
Publishers use this endpoint to notify Yext of review activity on listings. Specifically:
api_key | string Publisher api key |
listingId required | string Publisher Listing ID |
total required | string Total number of reviews on the listing, overall |
timestamp required | string Official time the event occurred |
averageRating | string The average rating across all reviews for this listing (of which there are total) |
required | Array of objects (PartnerReview) A list containing one element - the updated review |
{- "listingId": "5269143",
- "total": "25",
- "timestamp": "2020-01-02T13:15:53Z",
- "averageRating": "3.4",
- "reviews": [
- {
- "reviewId": "5382",
- "status": "ACTIVE",
- "timestamp": "2020-01-01T13:15:53Z",
- "authorName": "Dana Smith",
- "title": "Great falafel",
- "content": "Went there for lunch and had the best sandwich of my life.",
- "rating": "4.5",
- "maxRating": "string",
- "flagReason": "INAPPROPRIATE_CONTENT",
- "comments": [
- {
- "commentId": "832813382",
- "timestamp": "2020-01-04T13:15:53Z",
- "authorName": "Gomez Adams",
- "content": "The hummus is good too!",
- "ownerResponse": true
}
], - "generated": true
}
]
}
Publishers use this endpoint to notify Yext of data suggestion on listings. Specifically, notifications for:
api_key | string Publisher api key |
listingId required | string Publisher Listing ID |
eventType required | string Enum: "SUGGESTION_CREATED" "SUGGESTION_UPDATED" |
timestamp required | string Official time the event occurred |
required | object (PartnerSuggestion) |
{- "listingId": "5269143",
- "eventType": "SUGGESTION_CREATED",
- "timestamp": "2020-01-02T13:15:53Z",
- "suggestion": {
- "id": "5382",
- "field": "name",
- "status": "ACCEPTED",
- "timestamp": "2020-01-04T13:15:53Z",
- "currentValue": "DeeDee’s Doughnuts",
- "proposedValue": "Dee's Doughnuts"
}
}