Saved Views
Persist named filter presets for your link list
Saved views are named snapshots of link-list filter settings — folder, tag, status, search term, and date range. Once saved, a view can be recalled in one click from the dashboard sidebar or fetched via API to re-apply the same filter combination programmatically.
Tier Limits
| Plan | Saved views limit |
|---|---|
| Free | 3 |
| Pro | 20 |
| Enterprise | Unlimited |
Base URL
https://awsys.co
Authentication
All saved view endpoints require a valid API key passed as a Bearer token. See the Authentication page for details.
Authorization: Bearer YOUR_API_KEY
List Saved Views
GET /api/views
Returns up to 20 saved views ordered by creation date (newest first).
Response
{
"views": [
{
"id": "view_abc123",
"name": "Active Marketing Links",
"filters": {
"folderId": "folder_abc123",
"tag": "campaign-q3",
"status": "active",
"search": "",
"dateRange": "30d"
},
"createdAt": "2026-05-01T10:00:00Z",
"updatedAt": "2026-05-01T10:00:00Z"
}
]
}
curl example
curl https://awsys.co/api/views \
-H "Authorization: Bearer YOUR_API_KEY"
Create a Saved View
POST /api/views
Request body
{
"name": "Active Marketing Links",
"filters": {
"folderId": "folder_abc123",
"tag": "campaign-q3",
"status": "active",
"dateRange": "30d"
}
}
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name (1–50 characters) |
filters | object | Yes | Filter preset object (see fields below) |
filters.folderId | string | No | Filter by folder ID |
filters.tag | string | No | Filter by a single tag string |
filters.status | string | No | Filter by link status (e.g. active, expired) |
filters.search | string | No | Search term (max 100 characters) |
filters.dateRange | string | No | Date range preset (e.g. 7d, 30d, 90d) |
Response — 201 Created
{
"id": "view_abc123",
"name": "Active Marketing Links",
"filters": { "folderId": "folder_abc123", "status": "active" },
"createdAt": "2026-05-29T12:00:00Z",
"updatedAt": "2026-05-29T12:00:00Z"
}
curl example
curl -X POST https://awsys.co/api/views \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Active Marketing Links",
"filters": {"folderId": "folder_abc123", "status": "active"}
}'
Update a Saved View
PATCH /api/views/:viewId
Update the name or filters of an existing view. Only the fields you provide are changed.
Request body
{
"name": "Active Q3 Campaigns",
"filters": { "tag": "campaign-q3", "status": "active" }
}
Response — 200 OK
{ "success": true, "message": "View updated" }
curl example
curl -X PATCH https://awsys.co/api/views/view_abc123 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Active Q3 Campaigns"}'
Delete a Saved View
DELETE /api/views/:viewId
Response — 200 OK
{ "success": true, "message": "View deleted" }
curl example
curl -X DELETE https://awsys.co/api/views/view_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
Error Codes
| Code | HTTP | Description |
|---|---|---|
INVALID_NAME | 400 | Name must be 1–50 characters. |
INVALID_FILTERS | 400 | The filters field must be an object. |
VIEW_LIMIT_REACHED | 403 | Your plan's view quota is full. Upgrade or delete an existing view. |
NOT_FOUND | 404 | No view with that ID exists in your account. |
NO_UPDATES | 400 | A PATCH request provided no valid update fields. |