Jump to a popular page, or start typing.

    BLOG / how-to

    Pinterest Conversions API: How It Works and How to Set It Up

    The Pinterest Conversions API sends conversion events to Pinterest server-side, past cookie loss. How it works, how to set it up, and where it stops.

    Key takeaways

    • The Pinterest Conversions API sends conversion events from your server to Pinterest, so measurement no longer depends only on the browser tag.
    • It works alongside the Pinterest tag, not instead of it, and the two are deduplicated with a shared event ID so a conversion is never counted twice.
    • Customer identifiers such as email and phone number are hashed with SHA-256 before they leave your server, so Pinterest receives an irreversible string, never readable personal data.
    • Pinterest's developer documentation accepts up to 1,000 events in a single batch request, so high-volume senders can post events efficiently.
    • The API reports the same standard events as the tag, including page visit, add to cart, checkout and lead.
    • Better-matched conversions give Pinterest optimisation more signal, so campaigns bid on a fuller picture of what happened.
    • The API measures what your systems record. It cannot recover a conversion your server never logged, and it does not fix a weak Pin or a poor landing page.

    What is the Pinterest Conversions API?

    The Pinterest Conversions API is Pinterest’s server-side conversion connection. A standard Pinterest tag fires in the browser, so anything that blocks the browser, an ad blocker, a cleared cookie, a privacy setting, also blocks the measurement. The Pinterest Conversions API sends the same conversion events from your server instead, over a direct server-to-server connection, so the event reaches Pinterest even when the browser tag does not. Pinterest’s developer documentation describes it as a way to share conversions directly from your server, and it is the messaging-neutral equivalent of the server-side conversion APIs the other major platforms run.

    Each event carries hashed customer data so Pinterest can match it to a person who engaged with a Pin. The identifiers, an email address or a phone number, are hashed with SHA-256 before they are sent. SHA-256 is defined in the NIST Secure Hash Standard and produces a fixed 256-bit output, written as 64 hexadecimal characters, that cannot be reversed. Pinterest receives the hash, matches it against its own hashed records, and never sees the raw value.

    How does the Pinterest Conversions API work?

    The Pinterest Conversions API works by moving the conversion out of the browser and into a server request. The flow runs in order:

    1. A person sees or clicks a Pin, and Pinterest records that engagement.
    2. The person completes an action on your site or in your app, such as a purchase.
    3. Your server builds a conversion event with the event name, a timestamp, an event ID, and the customer’s SHA-256 hashed identifiers.
    4. Your server posts the event to the Pinterest Conversions API, on its own or batched with others.
    5. Pinterest matches the hashed identifiers to the engagement, attributes the conversion, and feeds it into campaign optimisation.

    The event ID is what keeps the tag and the API from double counting. When both send the same conversion, Pinterest sees the shared ID and keeps one. Sending server-side is what lets a conversion be reported when the browser tag is blocked; without it, that conversion is simply missing.

    What data does the Pinterest Conversions API match on?

    The Pinterest Conversions API matches on the identifiers you send with each event. The more complete and correctly formatted they are, the more conversions Pinterest can attribute. The common fields are:

    • A hashed email address, lowercased and trimmed before hashing so the value matches Pinterest’s copy.
    • A hashed phone number in international format before hashing.
    • Click and browser identifiers Pinterest can read, such as the Pinterest click ID and, where present, the tag’s first-party cookie value.
    • Event context, including the event name, the currency and value for a purchase, and the event ID used for deduplication.

    Normalisation before hashing is the step that most often decides whether a match lands. A value hashed in the wrong case or format produces a different string and never matches, so the field looks present while contributing nothing.

    How do you set up the Pinterest Conversions API?

    Setting up the Pinterest Conversions API means giving your server a way to send events and telling it which fields to include. The steps run in order:

    1. Confirm the Pinterest tag is live, since the API is designed to run alongside it, not replace it.
    2. Generate a conversion access token in Pinterest Ads Manager for the ad account that owns the tag.
    3. Decide where events will originate: directly from your server, from a data warehouse, or through a managed connection such as Datahash.
    4. Map the customer fields to hash, and apply SHA-256 to email and phone after normalising them.
    5. Send a shared event ID from both the tag and the API so Pinterest can deduplicate.
    6. Post test events, confirm they arrive in the Pinterest Events Manager, then move to live traffic.

    Datahash documents how to send server-side events to the Pinterest Conversions API, and there are prebuilt paths for forwarding GA4 events to Pinterest and for sending website events to Pinterest from server-side GTM.

    Pinterest tag and Conversions API, side by side

    The Pinterest tag and the Pinterest Conversions API are not alternatives. They cover different failure modes, and running both is the recommended setup. The table sets out what each one sees.

    MethodWhere it runsWhat it missesWhen it matters
    Pinterest tagIn the browser, on the pageBlocked cookies, ad blockers, privacy settingsReal-time, low-effort baseline coverage
    Conversions APIOn your serverConversions your systems never recordRecovering events the browser drops
    Both, deduplicatedBrowser and server, one event IDLittle, if the event ID is sharedThe recommended production setup

    What are the limits of the Pinterest Conversions API?

    The Pinterest Conversions API only measures what your systems record. If a conversion happens but your server never logs it, Pinterest never learns about it, so the quality of your own event data sets the ceiling. Matching depends on the identifiers you send, so a missing or mistyped email or phone number cannot be matched, and a value hashed before it is normalised will not match either. The API improves measurement and the optimisation that runs on it. It does not, on its own, make a weak Pin perform or fix a landing page that does not convert. It reports signal that already exists. It does not create demand.

    What Datahash does about this

    Datahash runs the Pinterest Conversions API as a server-side destination, so events reach Pinterest from your infrastructure rather than depending on the browser tag. It handles the SHA-256 hashing and the normalisation of email and phone, sends a shared event ID so the tag and the API deduplicate, and batches events within Pinterest’s request limits. The same first-party data layer that feeds Pinterest also feeds Meta, Google, Snap and other destinations, so one pipeline serves them all rather than a separate integration per platform. Match and delivery are visible per event, so you can see what arrived rather than assume it did.

    FAQ

    Frequently asked questions

    Is the Pinterest Conversions API free?

    Pinterest does not charge a separate fee to use the Conversions API. It is part of Pinterest's conversion measurement, so the cost is the engineering to build and maintain the connection, or the fee of a managed provider that runs it for you. The API call itself is not metered as a product you buy.

    Is the Pinterest API free?

    Pinterest's developer APIs, including the Conversions API, are available to advertisers without a licence fee from Pinterest. You still pay for whatever sends the data, whether that is your own engineering time or a third-party connector, and you pay for the ads themselves. Access to the API is not the cost; operating it is.

    Is the Pinterest Conversions API worth it?

    If you advertise on Pinterest and you lose conversions to blocked browser tags, yes. Server-side events report actions the tag misses, and the better-matched data helps Pinterest optimise delivery. The return depends on how much measurement you were losing in the first place, so it matters most for advertisers with meaningful Pinterest spend and real conversion volume.

    PUT IT TO WORK

    Reading is good. A live setup is better.