Update an Ad Pixel
Replace the pixel’s access token. Whop checks the new token with the ad platform and resumes deliveries to an errored pixel.
Authorizations
A user OAuth token or a user API key. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
Pins the request to a dated API version.
"2026-10-29-8"
Path Parameters
Ad pixel ID, prefixed adpx_.
Body
A credential that can send events to the pixel on the ad platform: a Meta Conversions API access token, a TikTok Events API access token, or for google, the JSON key of a Google Cloud service account. The service account needs Standard access to the Google Ads account, and its project needs the Google Ads API and the Data Manager API turned on and Explorer access or higher to the Google Ads API. Use a service account made only for Whop, with no roles in its project. Whop never returns it.
"new-token"
Response
Updated
The business whose claimed campaigns send conversions to this pixel, prefixed biz_.
"biz_xxxxxxxxxxxxxx"
When the pixel was added, as an ISO 8601 timestamp.
"2026-01-01T12:00:00.000Z"
Why the ad platform rejected the last delivery. Null unless status is errored.
null
The pixel's ID on the ad platform: the Meta pixel or dataset ID, the TikTok pixel code, or the Google Ads customer ID.
"111222001"
Ad pixel ID, prefixed adpx_.
"adpx_xxxxxxxxxxxxxx"
The pixel's name on the ad platform. Null when the ad platform returned none.
"Supplier pixel"
The ad platform the pixel belongs to.
meta, tiktok, google "meta"
active receives conversions. errored stopped because the ad platform rejected the access token; update the token to resume. disabled was turned off by Whop.
active, errored, disabled "active"
When the pixel was last changed, as an ISO 8601 timestamp.
"2026-01-01T12:00:00.000Z"

