Endpoints

Pixels

Operations around Pixels management.

Endpoints


GET /api/pixels#

Returns all user pixels.

Parameters

ParameterTypeDescription
searchstring(optional) Search text.
pagenumber(optional, default 1) Determines page.
pageSizenumber(optional) Determines how many results to return.

Sample response


POST /api/pixels#

Creates a pixel.

Parameters

ParameterTypeDescription
namestringThe pixel's name.
slugstringThe pixel's URL slug (minimum 8 characters).
teamIdstring(optional) The ID of the team the pixel will be created under.

Request body

Sample response


GET /api/pixels/:pixelId#

Gets a pixel by ID.

Sample response


POST /api/pixels/:pixelId#

Updates a pixel.

Parameters

ParameterTypeDescription
namestring(optional) The pixel's name.
slugstring(optional) The pixel's URL slug (minimum 8 characters).

Request body

Sample response


DELETE /api/pixels/:pixelId#

Deletes a pixel.

Sample response