API References v20
Administrative Requests & Poli...
/getAllPolicies
1 min
POST
/getAllPolicies
Retrieve all policy data signed by cold and MPC.
**Request Example:**
.. code-block::
getAllPolicies()
----
**Response Example:**
.. code-block::
{
"FunctionData": {
{
"ColdSnapshotId": "1775814248301567709",
"MpcPoliciesData": {
"PolicyDataSignedByMpc": {
"AccountIdToName": {
"1": "Main Account"
},
"AccountSourcesInfo": {},
"AllUserRoleCount": 7,
"AllowSmartContractFunctionCall": true,
"Assets": {
"All": true,
"Currencies": []
},
"Created": {
"User": {
"Email": "[email protected]",
"FullName": "11 11"
}
},
"Destinations": {
"AccountWallets": {},
"All": true,
"DestAddressGroupNames": [],
"DestAddressGroupsIds": [],
"DestContactIds": [],
"DestContactNames": [],
"IsEmpty": false
},
"Frequency": 0,
"Initiators": {
"All": false,
"InitiatorsUsersGroupNames": [
"Admins"
],
"InitiatorsUsersGroupsIds": [
"2"
],
"InitiatorsUsersIds": []
},
"LastUpdated": {
"User": {
"Email": "[email protected]",
"FullName": "leon leonm"
}
},
"PolicyId": "66f03085-33e4-430a-b2cb-0e42d06d59e8",
"PolicyName": "Allow all",
"PolicyType": "Transfer",
"RangedApprovalWorkflows": {
"ApprovalWorkflowIdToApprovalWorkflowName": {
"3": "Transaction no approvers needed workflow"
},
"FromAmountInDollar": "0",
"RoleIdToApprovalWorkflowId": {
"1": "3"
},
"RoleIdToRoleName": {
"1": "Quorum admin"
},
"UntilAmountInDollar": "Unlimited"
},
"SourceAccountsIdsToMachinesColdAndHot": {
"1": [
"MPC",
"1002": [
"MPC"
],
"2": [
"MPC"
],
"3": [
"MPC"
],
"4": [
"MPC"
],
"5": [
"MPC"
]
},
"Time": "2026-04-12 19:36:35.754",
"TransactionTypes": [
"Transfer"
]
}
},
"MpcSnapshotId": "1776022595754105948",
"PoliciesData": {
"PolicyDataSignedByCold": {
"AccountIdToName": {
"1": "Main Account"
},
"AccountSourcesInfo": {},
"AllUserRoleCount": 7,
"AllowSmartContractFunctionCall": true,
"Assets": {
"All": true,
"Currencies": []
},
"Created": {
"Time": "2025-10-21 14:23:55",
"User": {
"Email": "[email protected]",
"FullName": "22 22"
}
},
"Destinations": {
"AccountWallets": {},
"All": true,
"DestAddressGroupNames": [],
"DestAddressGroupsIds": [],
"DestContactIds": [],
"DestContactNames": [],
"IsEmpty": false
},
"Frequency": 0,
"Initiators": {
"All": false,
"InitiatorsUsersGroupNames": [
"Admins"
],
"InitiatorsUsersGroupsIds": [
"2"
],
"InitiatorsUsersIds": []
},
"LastUpdated": {
"Time": "2026-04-10 09:22:54",
"User": {
"Email": "[email protected]",
"FullName": "11 11"
}
},
"PolicyId": "1761056635575573646",
"PolicyName": "Policy 1",
"PolicyType": "Transfer",
"RangedApprovalWorkflows": {
"ApprovalWorkflowIdToApprovalWorkflowName": {
"3": "Transaction no approvers needed workflow"
},
"FromAmountInDollar": "0",
"RoleIdToApprovalWorkflowId": {
"1": "3"
},
"RoleIdToRoleName": {
"1": "Quorum admin"
},
"UntilAmountInDollar": "Unlimited"
},
"SourceAccountsIdsToMachinesColdAndHot": {
"1": [
"COLD"
]
},
"Time": "2026-04-10 09:44:08.483",
"TransactionTypes": [
"Transfer"
]
}
}
}
},
"Meta": {
"AccessToken": "2911...9a7",
"Destination": "04bc...9e2",
"Source": "3dcf...ba4",
"Time": "2025-05-22 17:00:44.605"
}
}
----
acceptstringGenerated from available response content types
bodyobject
200success
curl --request POST \
--url /getAllPolicies \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"Meta": {
"FunctionName": "getAllPolicies"
}
}'