Saltar al contenido principal
POST
/
v1
/
workflow
/
{flow_id}
/
trigger
/
test
Test the trigger
import requests

url = "https://api.diga.io/v1/workflow/{flow_id}/trigger/test"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
{
  "events": [
    {}
  ]
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

flow_id
string
requerido

Respuesta

Successful Response

Result of testing a trigger.

events
Events · object[]