List approval groups
curl --request GET \
--url https://api.anchorage-staging.com/v4/approvers/approval-groups \
--header 'Api-Access-Key: <api-key>'import requests
url = "https://api.anchorage-staging.com/v4/approvers/approval-groups"
headers = {"Api-Access-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Access-Key': '<api-key>'}};
fetch('https://api.anchorage-staging.com/v4/approvers/approval-groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"approvalGroupId": "3486b413-93d3-4447-afce-2b9c9dc34a32",
"name": "<string>",
"status": "PENDING_APPROVAL"
}
],
"page": {
"endCursor": "<string>"
}
}{
"message": "Missing required field 'amount'."
}{
"message": "Missing required field 'amount'."
}{
"message": "Missing required field 'amount'."
}{
"message": "Missing required field 'amount'."
}{
"message": "Missing required field 'amount'."
}List approval groups
List approval groups, optionally filtered by name or status.
GET
/
approvers
/
approval-groups
List approval groups
curl --request GET \
--url https://api.anchorage-staging.com/v4/approvers/approval-groups \
--header 'Api-Access-Key: <api-key>'import requests
url = "https://api.anchorage-staging.com/v4/approvers/approval-groups"
headers = {"Api-Access-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Access-Key': '<api-key>'}};
fetch('https://api.anchorage-staging.com/v4/approvers/approval-groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"approvalGroupId": "3486b413-93d3-4447-afce-2b9c9dc34a32",
"name": "<string>",
"status": "PENDING_APPROVAL"
}
],
"page": {
"endCursor": "<string>"
}
}{
"message": "Missing required field 'amount'."
}{
"message": "Missing required field 'amount'."
}{
"message": "Missing required field 'amount'."
}{
"message": "Missing required field 'amount'."
}{
"message": "Missing required field 'amount'."
}Query Parameters
Was this page helpful?