Skip to main content
GET
Get a creator's ad tracking

Authorizations

Authorization
string
header
required

An API key (onx_sk_…) created in Onlyx under Settings → API & MCP, or an OAuth access token (onx_at_…) issued to a connected app. Send it as Authorization: Bearer <credential>. API keys may also be sent as X-API-Key: <key>.

Path Parameters

creatorId
string
required

The creator id (cre_…). Ad tracking is for Telegram creators.

Response

Her Meta Pixel settings (the access token is never returned).

botUsername
string | null
required

Her own Telegram Stars bot, which a bot ad link opens; null if none.

configured
boolean
required

A Pixel ID and an access token are saved.

creatorId
string
required

The creator.

enabled
boolean
required

Events are being sent to Meta (false = paused).

leadEvent
string
required

The event sent when a fan reaches her on Telegram.

leadEvents
string[]
required

The events leadEvent may be.

pixelId
string | null
required

The Meta Pixel (dataset) id, or null when none is saved.

telegramUsername
string | null
required

Her Telegram username, which every ad link needs.

testEventCode
string | null
required

Meta's Test Events code. While set, every event shows only in Test Events in Events Manager.

tokenSaved
boolean
required

An access token is stored. The token itself is never returned.