Which page to fetch
1
Page size to use
30
Search by matching name
Search private policies
false
Sort by attribute
createdAt
Possible values: Sort order
asc
Possible values: GET /rest/policies HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"page": 1,
"next": 1,
"prev": 1,
"pageSize": 1,
"total": 1,
"results": [
{
"id": "text",
"legacyId": 1,
"name": "text",
"description": "text",
"users": [
{
"id": "text",
"legacyId": 1,
"legacyViewAll": true,
"workspaceName": "text",
"name": "text",
"deviceUserId": "text",
"role": "ADMIN",
"status": "ACTIVE",
"createdAt": "2025-06-21T03:58:00.755Z",
"updatedAt": "2025-06-21T03:58:00.755Z"
}
],
"groups": [
{
"id": "text",
"legacyId": 1,
"name": "text",
"description": "text",
"status": "ACTIVE",
"createdAt": "2025-06-21T03:58:00.755Z",
"updatedAt": "2025-06-21T03:58:00.755Z"
}
],
"createdAt": "2025-06-21T03:58:00.755Z",
"updatedAt": "2025-06-21T03:58:00.755Z",
"currency": "text",
"type": "ACCOUNT_POLICY",
"rules": [
{
"operationType": "SEND",
"threshold": {
"min": "text",
"max": "text"
},
"whitelistIds": [
"text"
],
"reviewSteps": [
{
"quorum": 1,
"userIds": [
"text"
]
}
]
}
],
"whitelists": [
{
"id": "text",
"legacyId": 1,
"name": "text",
"status": "ACTIVE",
"addresses": [
{
"name": "text",
"currency": "text",
"address": "text",
"destinationTags": [
"text"
]
}
],
"createdAt": "2025-06-21T03:58:00.755Z",
"updatedAt": "2025-06-21T03:58:00.755Z",
"description": "text"
}
]
}
]
}
Id of the target policy
GET /rest/policies/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"legacyId": 1,
"name": "text",
"description": "text",
"users": [
{
"id": "text",
"legacyId": 1,
"legacyViewAll": true,
"workspaceName": "text",
"name": "text",
"deviceUserId": "text",
"role": "ADMIN",
"status": "ACTIVE",
"createdAt": "2025-06-21T03:58:00.755Z",
"updatedAt": "2025-06-21T03:58:00.755Z"
}
],
"groups": [
{
"id": "text",
"legacyId": 1,
"name": "text",
"description": "text",
"status": "ACTIVE",
"createdAt": "2025-06-21T03:58:00.755Z",
"updatedAt": "2025-06-21T03:58:00.755Z"
}
],
"createdAt": "2025-06-21T03:58:00.755Z",
"updatedAt": "2025-06-21T03:58:00.755Z",
"currency": "text",
"type": "ACCOUNT_POLICY",
"rules": [
{
"operationType": "SEND",
"threshold": {
"min": "text",
"max": "text"
},
"whitelistIds": [
"text"
],
"reviewSteps": [
{
"quorum": 1,
"userIds": [
"text"
]
}
]
}
],
"whitelists": [
{
"id": "text",
"legacyId": 1,
"name": "text",
"status": "ACTIVE",
"addresses": [
{
"name": "text",
"currency": "text",
"address": "text",
"destinationTags": [
"text"
]
}
],
"createdAt": "2025-06-21T03:58:00.755Z",
"updatedAt": "2025-06-21T03:58:00.755Z",
"description": "text"
}
]
}