get
https://api.duodeal.app/api/deal-views
Retrieves a paginated list of all deal view templates.
Deal views are templates that define how a deal is displayed when shared externally. They specify which fields and information are visible in the shared view.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number for pagination (default: 1) |
limit | integer | No | Number of items per page (default: 50) |
order | string | No | Field to sort by (default: id) |
direction | string | No | Sort direction: asc or desc (default: desc) |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Deal view unique identifier |
name | string | View template name |
fields | array | Configuration of fields to display |
byDefault | boolean | Whether this is the default view template |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Filtering
This endpoint supports advanced filtering. See the Filter System Documentation for the complete list of operators and usage examples.
Quick examples:
?filters[name][contains]=Standard
?filters[byDefault][eq]=true
Response
200 OK: Returns paginated list of deal views401 Unauthorized: Invalid or missing API key
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Successful response
401Unauthorized
