Skip to main content
POST
/
v1
/
data
/
pixels
Create a pixel for a domain
curl --request POST \
  --url https://api.aws53.cloud/v1/data/pixels \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "domain": "www.example.com",
  "name": "Example Pixel"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "domain": "<string>",
    "name": "<string>",
    "status": "<string>",
    "code": "<string>",
    "createdAt": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Organization API key (sk_...). Get yours from Settings > API Keys in the dashboard.

Body

application/json
domain
string
required
Required string length: 1 - 255
Example:

"www.example.com"

name
string
Required string length: 1 - 255
Example:

"Example Pixel"

Response

Pixel created

data
object
required