Endpoints

Share

Operations around Share page management.

Endpoints


POST /api/share#

Creates a share page.

Parameters

ParameterTypeDescription
entityIdstringID of entity to be added (websiteId, pixelId, linkId, etc.).
shareTypenumberwebsite: 1 | link: 2 | pixel: 3 | board: 4
namestringName of the share page.
slugstringSlug of the share page.
parametersobjectParameters 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

ParameterTypeDescription
namestringName of the share page.
slugstringSlug of the share page.
parametersobjectParameters 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

ParameterTypeDescription
namestringName of the share page.
parametersobjectParameters for share page.

Request body

Sample response