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
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | Bearer <access-token> | |
Content-Type | application/json | |
Accept | application/json |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer <access-token> |
Content-Type* | string | application/json |
Accept* | string | application/json |
Request Body
Name | Type | Description |
---|---|---|
url* | string | Link do webhook a ser alterado |
Remover webhook
DELETE
https://api-v1.assine.online/webhook-business-unit/1
Remover um webhook
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer <access-token> |
Content-Type* | string | application/json |
Accept* | string | application/json |
Last updated