curl --request POST \
--url https://api.example.com/workflows/{workflow_id}/webhook \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"status": "offline",
"methods": [
"POST"
],
"entrypoint_ref": "<string>",
"allowlisted_cidrs": []
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create a webhook for a workflow.
curl --request POST \
--url https://api.example.com/workflows/{workflow_id}/webhook \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"status": "offline",
"methods": [
"POST"
],
"entrypoint_ref": "<string>",
"allowlisted_cidrs": []
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}wf_[0-9a-zA-Z]+Successful Response
Was this page helpful?