Skip to main content
POST
Send a test event to Meta

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>.

Headers

Idempotency-Key
string

Optional and not needed: this call is idempotent on its own, so repeating it is always safe and no response is stored for replay. A key you send is still checked (8 to 64 letters, digits, - or _; a malformed one is 400 VALIDATION_ERROR).

Required string length: 8 - 64
Pattern: ^[A-Za-z0-9_-]{8,64}$

Path Parameters

creatorId
string
required

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

Response

What Meta answered.

error
string | null
required

Meta's reason, when it refused (e.g. an expired token or a wrong Pixel ID).

eventsReceived
integer | null
required

Meta's events_received, when it accepted the event.

fbtraceId
string | null
required

Meta's trace id for the call, for Meta support.

status
enum<string>
required

sent when Meta accepted the event.

Available options:
sent,
failed
test
boolean
required

It carried the Test Events code (look under Test Events in Events Manager).