Common Patterns
Pagination & Filtering
All list endpoints in the Qwetty API support pagination and filtering.
Pagination
Use page and limit query parameters:
Code
| Parameter | Default | Description |
|---|---|---|
page | 1 | Page number (1-indexed) |
limit | 10 | Items per page |
Response metadata
Paginated responses include a meta object:
Code
Searching
Use the search parameter for text search:
Code
Search is case-insensitive and matches against name, email, and other relevant fields.
Sorting
Use sort and order parameters:
Code
| Parameter | Values | Default |
|---|---|---|
sort | Field name | varies by endpoint |
order | asc, desc | desc |
Next steps
- Error Handling — Handle API errors
- Rate Limits — Request limits
- API Reference — Full endpoint documentation
Last modified on