Endpoints
Share
Operations around Share page management.
Endpoints
POST /api/share#
Creates a share page.
Parameters
| Parameter | Type | Description |
|---|---|---|
entityId | string | ID of entity to be added (websiteId, pixelId, linkId, etc.). |
shareType | number | website: 1 | link: 2 | pixel: 3 | board: 4 |
name | string | Name of the share page. |
slug | string | Slug of the share page. |
parameters | object | Parameters for share page. |
Request body
Sample response
GET /api/share/id/:shareId#
Gets a share page by ID.
Sample response
POST /api/share/id/:shareId#
Updates a share page.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | Name of the share page. |
slug | string | Slug of the share page. |
parameters | object | Parameters for share page. |
Request body
Sample response
DELETE /api/share/id/:shareId#
Deletes a share page.
Sample response
GET /api/websites/:websiteId/shares#
Gets all share pages that belong to a website.
Sample response
POST /api/websites/:websiteId/shares#
Creates a share page belonging to a website.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | Name of the share page. |
parameters | object | Parameters for share page. |
Request body
Sample response