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": "90D8604B",
    "url": "http://example.com"
  }
}
'
{
  "id": "bafe3ecd-0942-4e13-9986-0424e78ed7a6",
  "object": "click",
  "domain": "example.com",
  "expires_at": 1784801274,
  "referrer": null,
  "url": "http://example.com",
  "created_at": 1782209274,
  "updated_at": 1782209274
}

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