The server-side request adscapi builds when you track() a purchase and Snapchat is configured. Secrets and hashed values show as placeholders.
https://tr.snapchat.com/v2/conversion
Authorization: Bearer {SNAP_CAPI_TOKEN}
Content-Type: application/json{
"pixel_id": "{SNAP_PIXEL_ID}",
"data": [
{
"event_name": "PURCHASE",
"event_time": "2025-02-13T13:20:00.000Z",
"action_source": "WEB",
"user": {
"hashed_email": "<sha256(normalized-email)>",
"hashed_phone_number": "<sha256(e164-phone)>",
"client_ip_address": "203.0.113.10"
},
"custom_data": {
"value": 49.99,
"currency": "USD"
},
"event_id": "order_1001"
}
]
}Verified against the library dispatcher (src/dispatchers/snapchat.ts). See the Snapchat setup guide for where to get each secret.
SNAP_PIXEL_IDSNAP_CAPI_TOKENSnapchat activates when every secret is present. One missing key and the platform no-ops — the rest still receive the event.
| Canonical event | Snapchat receives |
|---|---|
page_view | PAGE_VIEW |
lead | SIGN_UP |
signup_start | signup_start (custom event passthrough) |
signup | SIGN_UP |
checkout_created | START_CHECKOUT |
purchase | PURCHASE |
reply_generated | reply_generated (custom event passthrough) |
upgrade_clicked | upgrade_clicked (custom event passthrough) |
Discover more free tools to fix your tracking
Pick a canonical conversion event, fill the fields, and see the exact JSON payload adscapi builds — before you write a line of code.
Try it nowType a raw email or phone number and see the normalized value plus its SHA-256 hash — the exact rules adscapi applies per platform. Nothing leaves the browser.
Try it nowSearch all 26 ad platforms adscapi dispatches to — support level, required secrets, and setup docs, always in sync with the library registry.
Try it nowadscapi is free and open source. Set your platform tokens, call track() once, and every configured Conversions API receives the event — hashed the way each platform expects.