GET/api/v1/resources
List Resources
Returns a paginated list of resources in the authenticated workspace.
Required permission:read
cURL Request
curl -X GET \ -H "Authorization: Bearer due_live_your_api_key_here" \ "https://duesora.vercel.app/api/v1/resources"
Query Parameters
page(integer)
Page number (default: 1)pageSize(integer)
Items per page (max: 100, default: 50)type(string)
Filter by resource type (e.g. subscription, domain)status(string)
Filter by status (active, inactive, expired)search(string)
Search query across name, provider, descriptionResponse Example (200 OK)
{
"data": [
{
"id": "res_88f921ab",
"workspaceId": "ws_default",
"name": "GitHub Team",
"type": "subscription",
"status": "active",
"provider": "GitHub, Inc.",
"amountMinor": 4000,
"currency": "USD",
"billingCycle": "monthly",
"renewalDate": "2026-10-15T00:00:00.000Z",
"autoRenew": true,
"totalSeats": 10,
"assignedSeats": 8
}
],
"meta": {
"totalCount": 1,
"page": 1,
"pageSize": 50,
"totalPages": 1
}
}