Listar Origens

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

List WebHook Origins

Response params (201)

id
string

Id da Origin

name
string

Nome da Origin

prefix
string

Prefixo da Origin

events
array of object

Eventos

events[n].name
string

Nome do Evento

events[n].metadata
array of string

Metadados do Evento

events[n].description
string

Descrição do Evento

Status codes

StatusDescrição
201Success
400Bad Request

Exemplos

1curl --request GET \
2	--url https://api.eduzz.com/webhook/v1/origin \
3	--header 'accept: application/json' \
4	--header 'authorization: Bearer qzrUZcm4dISz/ayXgq7g9+GmusYbXHmIpJ7fbLYDIjUPtNwAN1rrsRZbeJ6e6tAlSUSy3w=='\
5	--data '
6{
7  "id": "id",
8  "name": "name",
9  "email": "email",
10  "phones": [
11    "phone"
12  ]
13}
14'
Response
1[
2  {
3    "id": "guab3fmaixba8twqr7mrezg6u",
4    "name": "Nutror",
5    "prefix": "nutror",
6    "events": [
7      {
8        "name": "nutror.lesson_rated",
9        "metadata": [
10          "producerId",
11          "learnerEmail",
12          "lessonId",
13          "courseId"
14        ],
15        "description": "Aluno avaliou uma aula"
16      },
17      {
18        "name": "nutror.lesson_watched",
19        "metadata": [
20          "producerId",
21          "learnerEmail",
22          "lessonId",
23          "courseId"
24        ],
25        "description": "Aluno terminou uma aula"
26      }
27    ]
28  },
29  {
30    "id": "p3lxcu1yfbtzh7qsa8bbwrn9q",
31    "name": "Blinket",
32    "prefix": "blinket",
33    "events": [
34      {
35        "name": "blinket.attendance_added",
36        "metadata": [
37          "eventId",
38          "email",
39          "name",
40          "batchId"
41        ],
42        "description": "Novo Participante"
43      },
44      {
45        "name": "blinket.attendance_assigned",
46        "metadata": [
47          "eventId",
48          "name",
49          "email"
50        ],
51        "description": "Ingresso atribuído"
52      }
53    ]
54  }
55]