Approvals & Self-Service
11 endpoints discovered from this archive’s backend.
GET/api/approvals/definitions
List approval definitions
curl --fail-with-body -sS -X GET "$ALPHIE_URL/api/approvals/definitions" \
-H "Authorization: Bearer $ALPHIE_TOKEN"POST/api/approvals/definitions
Create approval definition
curl --fail-with-body -sS -X POST "$ALPHIE_URL/api/approvals/definitions" \
-H "Authorization: Bearer $ALPHIE_TOKEN" \n -H "Content-Type: application/json" \n --data-binary @request.jsonBody example: supply a request.json file matching this endpoint’s request model. Consult $ALPHIE_URL/openapi.json for required fields.
DELETE/api/approvals/definitions/{definition_id}
Delete approval definition
curl --fail-with-body -sS -X DELETE "$ALPHIE_URL/api/approvals/definitions/${DEFINITION_ID}" \
-H "Authorization: Bearer $ALPHIE_TOKEN"GET/api/approvals/definitions/{definition_id}
Get approval definition
curl --fail-with-body -sS -X GET "$ALPHIE_URL/api/approvals/definitions/${DEFINITION_ID}" \
-H "Authorization: Bearer $ALPHIE_TOKEN"PUT/api/approvals/definitions/{definition_id}
Update approval definition
curl --fail-with-body -sS -X PUT "$ALPHIE_URL/api/approvals/definitions/${DEFINITION_ID}" \
-H "Authorization: Bearer $ALPHIE_TOKEN" \n -H "Content-Type: application/json" \n --data-binary @request.jsonBody example: supply a request.json file matching this endpoint’s request model. Consult $ALPHIE_URL/openapi.json for required fields.
GET/api/approvals/requests
List approval requests
curl --fail-with-body -sS -X GET "$ALPHIE_URL/api/approvals/requests" \
-H "Authorization: Bearer $ALPHIE_TOKEN"POST/api/approvals/requests
Create approval request
curl --fail-with-body -sS -X POST "$ALPHIE_URL/api/approvals/requests" \
-H "Authorization: Bearer $ALPHIE_TOKEN" \n -H "Content-Type: application/json" \n --data-binary @request.jsonBody example: supply a request.json file matching this endpoint’s request model. Consult $ALPHIE_URL/openapi.json for required fields.
DELETE/api/approvals/requests/{request_id}
Delete approval request admin
curl --fail-with-body -sS -X DELETE "$ALPHIE_URL/api/approvals/requests/${REQUEST_ID}" \
-H "Authorization: Bearer $ALPHIE_TOKEN"GET/api/approvals/requests/{request_id}
Get approval request admin
curl --fail-with-body -sS -X GET "$ALPHIE_URL/api/approvals/requests/${REQUEST_ID}" \
-H "Authorization: Bearer $ALPHIE_TOKEN"POST/api/approvals/respond/{token}
Respond to approval request
curl --fail-with-body -sS -X POST "$ALPHIE_URL/api/approvals/respond/${APPROVAL_TOKEN}" \n -H "Content-Type: application/json" \n --data-binary @request.jsonExample request body shown; use only with an authorized token. The approval link token authorizes this endpoint; treat it as a secret.
GET/api/approvals/review/{token}
Review approval request
curl --fail-with-body -sS -X GET "$ALPHIE_URL/api/approvals/review/${APPROVAL_TOKEN}"The approval link token authorizes this endpoint; treat it as a secret.
