Skip to main content
POST
/
v1
/
public
/
clicks
Create
curl --request POST \
  --url https://{defaultHost}/v1/public/clicks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "click": {
    "affiliation_code": "88A968EB",
    "url": "http://example.com"
  }
}
'
{
  "id": "67977a70-8ad5-40c5-8caf-72327a7133fe",
  "object": "click",
  "domain": "example.com",
  "expires_at": 1772826881,
  "referrer": null,
  "url": "http://example.com",
  "created_at": 1770234881,
  "updated_at": 1770234881
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
click
any

Response

200 - application/json

Success