POST
/
track
/
lead
curl --request POST \
  --url https://api.codeqr.io/track/lead \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "clickId": "<string>",
  "eventName": "Sign up",
  "customerId": "<string>",
  "customerName": null,
  "customerEmail": null,
  "customerAvatar": null,
  "metadata": null
}'
{
  "click": {
    "id": "<string>"
  },
  "customer": {
    "id": "<string>",
    "name": "<string>",
    "email": "<string>",
    "avatar": "<string>"
  }
}

Conversions endpoints require a Business plan subscription or higher.

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json

Response

200
application/json

A lead was tracked.

The response is of type object.