Webhook
Webhook para receber eventos de mudanças no status de um Workflow ou WorkflowStep.
Listar Webhook
GET
https://api-v1.assine.online/webhook-business-unit
Listar todos os webhooks cadastrados.
Headers
Authorization*
Bearer <access-token>
Content-Type*
application/json
Accept
application/json
Criar Webhook
POST
https://api-v1.assine.online/webhook-business-unit
Cadastrar um novo webhook.
Headers
Authorization*
Bearer <access-token>
Content-Type
application/json
Accept
application/json
Request Body
businessUnit*
String
Id da business unit
url*
String
Link do webhook a ser cadastrado
Atualizar webhook
PATCH
https://api-v1.assine.online/webhook-business-unit/1
Realizar alterações em webhooks previamente cadastrados.
Headers
Authorization*
string
Bearer <access-token>
Content-Type*
string
application/json
Accept*
string
application/json
Request Body
url*
string
Link do webhook a ser alterado
Remover webhook
DELETE
https://api-v1.assine.online/webhook-business-unit/1
Remover um webhook
Headers
Authorization*
string
Bearer <access-token>
Content-Type*
string
application/json
Accept*
string
application/json
Last updated
Was this helpful?