Whitelists
List whitelists in the same workspace.
Authorizations
Query parameters
pageinteger · min: 1OptionalDefault:
Which page to fetch
1
pageSizeinteger · min: 1 · max: 30OptionalDefault:
Page size to use
30
statusstring · enumOptionalPossible values:
Whitelist status
sortBystring · enumOptionalDefault:
Sort by attribute
createdAt
Possible values: sortOrderstring · enumOptionalDefault:
Sort order
asc
Possible values: Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /rest/whitelists 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",
"status": "ACTIVE",
"addresses": [
{
"name": "text",
"currency": "text",
"address": "text",
"destinationTags": [
"text"
]
}
],
"createdAt": "text",
"updatedAt": "text",
"description": "text"
}
]
}
Find a whitelist by ID.
Authorizations
Path parameters
idstringRequired
Id of the target group
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /rest/whitelists/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"legacyId": 1,
"name": "text",
"status": "ACTIVE",
"addresses": [
{
"name": "text",
"currency": "text",
"address": "text",
"destinationTags": [
"text"
]
}
],
"createdAt": "text",
"updatedAt": "text",
"description": "text"
}