List the approval stages set for each category
GET
https://app.softsolz.uk/api/v1/services/tasks/approval-policiesRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Headers
AuthorizationstringrequiredBearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.
Response
Response Body · array of objects
category_idintegerThe category the stages apply to.policyobjectThe approval stages for the category.Request
curl --request GET \ --url https://app.softsolz.uk/api/v1/services/tasks/approval-policies \ --header 'Authorization: Bearer sk_live_your_key'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": [ { "category_id": 3, "policy": { "stages": [ { "name": "Lead", "mode": "any", "min_count": 2, "approvers": {}, "due_hours": 24 } ] } } ]}