Skip to main content
POST
Create a pixel

Authorizations

Authorization
string
header
required

A workspace API key: Authorization: Bearer osk_...

Headers

Idempotency-Key
string
required

8–200 letters, digits, ., _, : or -. Retry with the same key and exact same body to get the original response.

Required string length: 8 - 200

Body

application/json
name
string
required
Maximum string length: 120
type
enum<string>
required
Available options:
facebook,
google_analytics,
google_tag_manager,
linkedin,
pinterest,
x,
quora,
tiktok,
snapchat
pixel_id
string
required
Maximum string length: 190
Pattern: ^[A-Za-z0-9_-]+$

Response

201 - application/json

Created

data
object