Orvelt

opinion.created

A customer submitted an opinion for a response. Each answer arrives as answer.created.

Payload version 5. data is a snapshot of the resource after the change.

Request Body

The Standard Webhooks envelope Orvelt sends to your destination.

application/json
  1. body
id*string

The event ID. A retried delivery keeps it, so deduplicate on it.

Formatuuid
type*"opinion.created"

The event topic.

Value in"opinion.created"
timestamp*string

When the change happened.

Formatdate-time
data*

Response Body

Acknowledge the event. Any other status, or no response in time, is retried.

Example Requests
POST/opinion.created
Request Body
application/json
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "type": "opinion.created",
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "opinionId": "3ebd9171-585a-4d7e-9c01-56265c703c47",
    "responseId": "ed662de2-39c1-4e7d-a6bf-6980511adfaf",
    "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
    "content": "string",
    "privateAt": "2019-08-24T14:15:22Z",
    "publishedAt": "2019-08-24T14:15:22Z",
    "store": {
      "name": "string",
      "caption": "string"
    },
    "customer": {
      "id": "string",
      "name": "string",
      "anonymous": true
    },
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "submittedAt": "2019-08-24T14:15:22Z"
  }
}