--- title: "Sending conversion events" slug: "sending-conversion-events" description: "Send offline conversions to Quantcast’s Conversions API with your Account ID. Learn how to set up and process events effectively." tags: ["CAPI", "Browser Tokens", "User Identifier", "Quantcast Conversions"] updated: 2026-10-16T11:10:53Z published: 2026-10-16T11:10:53Z canonical: "help.quantcast.com/sending-conversion-events" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.quantcast.com/llms.txt > Use this file to discover all available pages before exploring further. # Sending conversion events After deciding the user-identification method and making necessary modifications to your LiveTag setup, you can send offline conversions to Quantcast’s Conversions API. The endpoint accepts HTTP POST requests and expects your Quantcast Account ID (starting with p-) as a URL parameter: ```plaintext POST https://pixel.quantserve.com/conversion?a=p-XXXXXXXXXXXXX ``` The request body must be a JSON array of conversion objects; each conversion object will have: | Attribute | Type | Description | | --- | --- | --- | | name | string | [required] The conversion event name | | user | User | [required] Description of the user triggering this event (see below) | | time | int | The Unix Epoch Timestamp that the event occurred. When omitted, it defaults to the current time. Accepts both epoch seconds and epoch milliseconds. | | url | string | The source URL where the event was triggered. | | referer | string | The referring URL for the page that triggered the event. | | event | Event | Event metadata (see below) | The *User* object: | Attribute | Type | Description | | --- | --- | --- | | token | string | [required if using Browser Tokens] The browser token for the user that ultimately triggered this request, as issued by [the token endpoint](https://docs.google.com/document/d/1IVM2_ythl6uxIeosltPgakqhHVk71nV6N6cJf6X7PxU/edit?tab=t.xocktbj9me62#heading=h.kssj8c15ewsx). | | external_id | string | [required if not using Browser Tokens] A unique identifier for the user which triggered this event | | client_user_agent | string | The user agent of the client that triggered this event | | client_ip | string | The IP address of the client that triggered this event | The *Event* object: | Attribute | Type | Description | | --- | --- | --- | | labels | array[string] | An array of additional labels for the event. Event labels can be used for reporting and targeting. | | order_id | string | The order ID for this event. | | revenue | double | A value representing the revenue which is attributed to this conversion, in the format of a monetary value without a currency denomination. i.e. 99.95. The currency is expected to be the billing currency of the account in Quantcast Platform. | | pcat | string | The product category of this conversion | Here’s an example of calling the Conversions API: ```bash curl -X POST "https://pixel.quantserve.com/conversion?a=p-XXXXXXXXXXXXX" \   -H "Content-Type: application/json" \   -d '[     {       "name": "Purchase",       "time": 1744580688,       "url": "https://example.com/checkout/confirm",       "referer": "https://example.com/checkout",       "user": {         "external_id": "user-id-abc123",         "token": "Q0--svL...jVvE-9W8vAeIJu"  # one of `external_id` or `token` are required       },       "event": {         "labels": ["checkout", "premium-tier"],         "order_id": "order-98765",         "revenue": 99.95       }     }   ]' ``` Conversions API responds with a JSON object denoting the number of successfully processed events. Here’s an example of the response: ```json {"events":1} ``` Please contact our customer support for enabling Conversions API on your account, otherwise you will receive a “Conversions API is not enabled for this account” error and no events will be processed.