Webhooks

Conecta un flujo al webhook (se ejecuta al recibir un evento)

Hace que cada evento recibido ejecute un flujo. Es la forma de convertir un aviso externo en trabajo real: llega el evento, corre el flujo. Un webhook sin flujo ni binding recibe y no hace nada.

put/workspaces/{workspaceId}/webhooks/{id}/flow

Request

  • Base URL: https://api.met.meteor.com.co/api/v1
  • URL: https://api.met.meteor.com.co/api/v1/workspaces/{workspaceId}/webhooks/{id}/flow
  • Auth: one of:
    • bearer (a scheme the document does not define)
    • HTTP bearer

Path parameters

workspaceIdnumber required

ID numérico del workspace. Debe ser el mismo workspace de tu API key: pedir otro devuelve 401.

idnumber required

ID del recurso de esta ruta.

Request body

flow_idstring required

ID (uuid) del flow a ejecutar cuando llegue un evento a este webhook.

Response

successtrue required

Siempre true en una respuesta 2xx.

Example response

{
  "data": {
    "connected_flow": {
      "id": "5f0a1e3c-9b2d-4a77-8f31-6c1d0e2b4a99",
      "name": "Alta de pedido"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.