Events
Validate Pixel
Changed onChecks whether the Whop pixel is installed for an account, or on one page when you pass a url. Use it before launching an ad to confirm its destination is tracked, or in a setup flow to tell a merchant whether their install is live.
post/events/validate_pixel
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/events/validate_pixel
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"url": "https://shinetime.example/checkout/complete"
}Response
pixel validated
Example response
{
"firing_data_ok": true,
"host_events": [
"lead"
],
"last_fired_days": {
"lead": 2
},
"last_seen_days": 2,
"page_events": [
"lead"
],
"reachable": true,
"url": "https://shinetime.example/"
}Changes
- info
the security scope
company:basic:readwas added to the endpoint's security schemebearerAuth - info
the security scope
member:journey:readwas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
company:basic:readwas added to the endpoint's security schemebearerAuth - info
the security scope
member:journey:readwas removed from the endpoint's security schemebearerAuth
- info