# Report a conversion (Developers)

URL: https://qrdx.dev/docs/developers/api/create-conversion
Source: https://github.com/bucharitesh/qrdx/blob/main/apps/docs/content/docs/developers/api/create-conversion.mdx

Attributes a sale, sign-up or other conversion to the scan that brought the visitor (Business).

{/* Generated by pnpm openapi:generate from public\/openapi.json. Edit lib\/openapi, then run it again. */}

From your server, send a token and the scan's `sid`, or the code id as `code`. From the browser, `conversions.js` sends `sid` with no token, for codes with conversion tracking turned on. An `id`, such as your order id, makes retries safe: a repeat returns 200 with `duplicate: true`. More in [Tracking and conversions](https://qrdx.dev/docs/tracking-and-conversions).
