Filters
Manage saved filters. Ability to create, edit, view, and delete filters.
Available Endpoints
| Method |
Path |
Description |
| GET |
/api/filters |
List filters |
| GET |
/api/filters/{id} |
View filter details |
| POST |
/api/filters |
Create new filter |
| PUT |
/api/filters/{id} |
Full update of a filter |
| PATCH |
/api/filters/{id} |
Partial update of a filter |
| DELETE |
/api/filters/{id} |
Delete a filter |
Example Request
curl -X GET "https://example.com/api/filters" \
-H "Authorization: Bearer {token}"
Success Response (200)
{
"records": [],
"meta": {
"total": 0,
"current_page": 1,
"per_page": 20
}
}
Errors
| Code |
Description |
| 401 |
Invalid token |
| 403 |
Access denied |
| 404 |
Record not found |
| 422 |
Validation error |