Skip to content

Knowledge BaseAd Platforms

What Is the Meta Conversions API (CAPI)?

Definition

Meta Conversions API (CAPI) is Meta's server-to-server interface for receiving events from websites, apps, CRMs and offline sources.

action_source describes where an action happened. Customer-information fields follow different formatting rules: email and phone use normalized SHA-256 values, while browser/click identifiers, IP and User-Agent must not be hashed. Overlapping Pixel and server events need a deduplication setup; receiving an event is not proof that it was counted once or attributed to an ad.

SHA-256
emph
Do not hash
fbpfbcclient_ip_addressclient_user_agent
deduplication with the Pixel
event_nameevent_id
  1. In practice

    How does the Conversions API work?

    CAPI sends events over HTTP from an integration, backend or CRM to Meta. It can receive actions that the browser Pixel did not observe. Each event has its own event_name and event_time; website events also require action_source, event_source_url and client_user_agent.

    action_source describes the actual place of the action. Examples of API values include website, phone_call, physical_store and system_generated. A CRM being the sender does not by itself make a website purchase an offline store sale.

  2. In practice

    Which customer fields need hashing?

    Hashing depends on the field. Match parameters such as an email address or phone number must be normalized using Meta’s rules before SHA-256. Check which step or SDK already performs that transformation; do not hash an already prepared value again.

    FieldTreatment before transmission
    em, phNormalize and SHA-256 hash once.
    external_idHashing is recommended by Meta.
    fbp, fbcDo not hash; preserve the valid original identifier.
    client_ip_address, client_user_agentDo not hash; use the actual client context.

    This table is about formatting, not permission to collect every field. Do not invent a click identifier that was never captured.

  3. In practice

    How does deduplication with the Pixel work?

    The recommended ID method pairs event_name with event_id for the same Pixel ID. The browser uses eventID in the fourth argument of the fbq call; the server uses event_id. For one illustrative purchase, both names are Purchase and both IDs are purchase-order-1042. A different purchase needs a different ID.

    Meta documents a 48-hour receipt window for matching browser and server copies. Matching IDs alone do not prove that both copies arrived at the same destination within that window. Events sent only from one source are a separate repeat-processing problem.

  4. Not to be confused with

    Not to be confused with
    Is notIs
    Event Match QualityMeta's server-to-server interface

    CAPI is not a replacement for the Pixel in every workflow. Deduplication is needed for overlapping events sent by both sources, not for a genuine backend-only action with no browser copy. Server transport does not remove consent requirements or Meta’s data restrictions.

    Event Match Quality concerns matching customer information. It is separate from receipt, deduplication and ad attribution.

  5. Where to check

    How do I verify server events in Events Manager?

    • Meta Events ManagerdatasetOverview
    • Meta Events ManagerdatasetTest Events

    In Meta Events Manager, select the dataset. Overview identifies reporting sources; Test Events helps inspect receipt and parameters. Trace one controlled action through browser and server logs, then compare its event name, ID and receiving dataset. Use the relevant event details and deduplication views to check counting separately. A successful API response, a Test Events row or an EMQ score does not alone prove deduplication or attributed revenue.

  6. Sources
Daniil Maximkin

Hi, I’m Daniil.

I work with you from defining the problem to implementation and handover. You talk to the person who does the work. I work in English and Russian; written correspondence in Spanish with translation support.

What do you need to get working?

Describe your task

The first answer is free, within one working day. Or write directly: next@taskfordaniel.com