post https://totvssign.staging.totvs.app/webhooks/v1/subscription
Endpoint responsável por criar uma Subscription (WebHook).
Responses
Endpoint responsável por criar uma Subscription (WebHook).
xxxxxxxxxx
17curl --request POST \
--url https://totvssign.staging.totvs.app/webhooks/v1/subscription \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"name": "Nome da Subscription",
"endpointUrl": "minhaApi/url-destino",
"body": "{ \"identificador\": \"[IDDOCUMENTO]\", \"statusFinal\": \"[STATUS]\" },",
"headers": {
"accept": "application/json, text/plain, */*"
},
"retries": 1,
"timeout": 1,
"isActive": true
}
'
Try It!
to start a request and see the response here! Or choose an example: