POST
/
workflows
/
test-node
curl --request POST \
--url https://v1.api.altostrat.io/workflows/test-node \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"node": {
"id": "node_1",
"data": {
"componentId": "sns_trigger",
"event_name": "user.created"
}
},
"context": {
"event_payload": {
"userId": "usr_123",
"email": "test@example.com"
},
"event_details": {
"event_id": "evt_abc",
"source_service\"": "auth-service"
}
}
}'
{
  "status": "success",
  "output": {}
}

Authorizations

Authorization
string
header
required

Enter the JWT token.

Body

application/json

Response

200
application/json

Node executed successfully.

The response is of type object.