post
https://api.duodeal.app/api/deal-view-links
Creates a new deal view link, associating a deal with a view template.
A unique UUID is automatically generated for the link, which can be used to share the deal externally.
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
deal | object | Yes | Deal reference: {"id": dealId} |
dealView | object | Yes | Deal view template reference: {"id": dealViewId} |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Newly created deal view link unique identifier |
uuid | string | Auto-generated unique public identifier (UUID v7) |
deal | object | Associated deal |
dealView | object | Associated deal view template |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
201 Created: Deal view link successfully created400 Bad Request: Invalid request body or validation error401 Unauthorized: Invalid or missing API key404 Not Found: Deal or deal view not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201Resource created
400Bad request
401Unauthorized
