Endpoints
Pixels
Operations around Pixels management.
Endpoints
GET /api/pixels#
Returns all user pixels.
Parameters
| Parameter | Type | Description |
|---|---|---|
search | string | (optional) Search text. |
page | number | (optional, default 1) Determines page. |
pageSize | number | (optional) Determines how many results to return. |
Sample response
POST /api/pixels#
Creates a pixel.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The pixel's name. |
slug | string | The pixel's URL slug (minimum 8 characters). |
teamId | string | (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
| Parameter | Type | Description |
|---|---|---|
name | string | (optional) The pixel's name. |
slug | string | (optional) The pixel's URL slug (minimum 8 characters). |
Request body
Sample response
DELETE /api/pixels/:pixelId#
Deletes a pixel.
Sample response