This endpoint test runs a transform function against a payload.
curl --request POST \ --url https://dashboard.getconvoy.io/api/v1/projects/{projectID}/subscriptions/test_function \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "function": "<string>", "payload": {}, "type": "<string>" }'
{ "message": "<string>", "status": true, "data": { "log": [ "<string>" ], "payload": "<any>" } }
Project ID
Show child attributes
Was this page helpful?