Search Request
Use the following parameters to search requests.
If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.
(required) Username of a registered API User
Returns requests which have been approved by the specified user.
nullExample: 42Returns objects created after the entered date.
nullExample: 2020-09-12T14:15:22ZReturns objects created before the entered date.
nullExample: 2020-12-13T16:17:28ZReturns requests which have been created by the specified user.
nullExample: 42Returns the object corresponding to the entered ID
nullOrders the list of results
nullExample: descPossible values: criteria to order by
nullExample: nameDefines the page number to be fetched.
1Example: 3Defines the number of elements displayed on a page. Must be a positive number with 0 and -1 return a maximum defined in the gate
20Example: 40Returns requests which are pending the specified user's approval.
nullExample: 42Returns requests which have been rejected by the specified user.
nullExample: 42Search by ID of the target object.
nullRequest search results
Invalid search parameters
GET /requests HTTP/1.1
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
{
"edges": [
{
"cursor": 0,
"node": {
"created_by": 12,
"created_on": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"id": 1,
"status": "PENDING_APPROVAL",
"target_id": 10,
"target_type": "TRANSACTION",
"type": "CREATE_TRANSACTION",
"used_admin_group": 1
}
}
],
"page_info": {
"count": 1,
"has_next_page": false
}
}Last updated