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
Status | Descrição |
201 | Success |
Exemplos
1curl --request POST \
2 --url https://api.eduzz.com/webhook/v1/subscription/sample \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json' \
5 --header 'authorization: Bearer {{YOUR_ACCESS_TOKEN}}'\
6 --data '
7{
8 "subscriptionId": "gklzq82g9l0daazesebit6hds",
9 "event": "test.event_one"
10}
11'
Response
1{
2 "statusCode": 200,
3 "body": "{\"message\":\"Workflow was started\"}",
4 "timeTaken": 322
5}