Requisitar Teste

POST
https://api.eduzz.com/webhook/v1/subscription/sample
Required scopes:webhook_read

Requisita um WebHook de Teste

Body params

subscriptionId
string

Id da Configuração do WebHook

event
string

Nome do Evento

Response params (201)

statusCode
number

HTTP Status Code do WebHook

body
string

Body retornado pela URL do WebHook

timeTaken
number

Latência do processo e envio de WebHook em milisegundos

Status codes

StatusDescrição
201Success

Exemplos

1curl --request POST \
2	--url https://api.eduzz.com/webhook/v1/subscription/sample \
3	--header 'accept: application/json' \
4	--header 'authorization: Bearer qzrUZcm4dISz/ayXgq7g9+GmusYbXHmIpJ7fbLYDIjUPtNwAN1rrsRZbeJ6e6tAlSUSy3w=='\
5	--data '
6{
7  "subscriptionId": "gklzq82g9l0daazesebit6hds",
8  "event": "test.event_one"
9}
10'
Response
1{
2  "statusCode": 200,
3  "body": "{\"message\":\"Workflow was started\"}",
4  "timeTaken": 322
5}