File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -64,12 +64,14 @@ echo ""
6464
6565workflow_id=$( grep -B 1 ' "name": "Example workflow - send invite to signer"' $response | grep ' "id":' | sed -n ' s/.*"id": "\([^"]*\)".*/\1/p' )
6666
67+ # apx-snippet-start:GetWorkflowTriggerRequirements
6768# Get the trigger URL
69+ # workflow_id comes from the response of the Workflows: getWorkflowsList endpoint
6870response=$( mktemp /tmp/response-wftmp.XXXXXX)
6971Status=$( curl -s -w " %{http_code}\n" -i --request GET " ${base_path} /accounts/${account_id} /workflows/${workflow_id} /trigger-requirements" \
7072 " ${Headers[@]} " \
7173 --output ${response} )
72-
74+ # apx-snippet-end:GetWorkflowTriggerRequirements
7375# If the status code returned is greater than 201 (OK / Accepted), display an error message with the API response.
7476if [[ " $Status " -gt " 201" ]]; then
7577 echo " "
You can’t perform that action at this time.
0 commit comments