Requisitar Exemplo

GET
https://api.eduzz.com/webhook/v1/origin/sample/:event

List WebHook Events

Path params

event

identificador do evento

Response params (201)

id
string

Id do contato

Status codes

StatusDescrição
201Success
400Bad Request

Exemplos

1curl --request GET \
2	--url https://api.eduzz.com/webhook/v1/origin/sample/nutror.lesson_watched \
3	--header 'accept: application/json' \
4	--header 'authorization: Bearer qzrUZcm4dISz/ayXgq7g9+GmusYbXHmIpJ7fbLYDIjUPtNwAN1rrsRZbeJ6e6tAlSUSy3w=='
Response
1{
2  "id": "hus5jx72ktelexgvl79iojuoe",
3  "event": "nutror.lesson_watched",
4  "data": {
5    "producer": {
6      "email": "fulano@eduzz.com",
7      "name": "Fulano da Silva"
8    },
9    "learner": {
10      "email": "learner@eduzz.com",
11      "name": "Ciclano da Silva"
12    },
13    "createdAt": "2023-09-25T19:18:29Z",
14    "course": {
15      "hash": "4bba1d18c02755a13ee97521ae61958c3cf9e665",
16      "title": "Título do Curso"
17    },
18    "lesson": {
19      "id": "3866",
20      "title": "Título da Aula"
21    }
22  },
23  "sentDate": "2024-04-22T18:51:09.246Z"
24}