Skip to main content
POST
Check a pixel
Same as Send test in the pixel’s row in Tools -> Pixels. We send one check to the platform with the stored token and write the outcome to the pixel.

How to read the outcome

The check is queued. The answer of this call is the pixel as it is right now; the outcome lands within a minute. Read it from the pixel list: A second call within a minute does not send another check and answers Checked less than a minute ago, showing the latest result.

What the platform receives

The same check runs by itself after create and update, and once a day for pixels that sent nothing. Every live event refreshes health too.

Check before you run ads

  1. Take the code from the platform’s Test Events tool and save it with update as test_event_code.
  2. Call this endpoint and watch the test tab of the platform: the event appears within a minute.
  3. Clear the code with "test_event_code": "" before the ads go live.

Errors

Authorizations

Authorization
string
header
required

API key from the partner cabinet, Tools -> API (https://partners.onlytraffic.com/tools/api): up to 5 named keys per account, each Full or Read-only, ot_partners_ prefix, shown once at creation. Raw value or Bearer form. Read-only keys cannot call the POST endpoints (403 This API key is read-only); expired or revoked keys get 403 Error! Access denied.

Body

application/json
pixel_id
string<uuid>
required

Pixel id in OnlyTraffic: pixel_id from the pixel list. Not the Pixel ID of the ad platform.

Response

200 - application/json

Success (check status; errors are also HTTP 200)

status
enum<string>
Available options:
success
message
string
data
object

One of your ad-platform pixels.