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": "FA38C1F5",
    "url": "http://example.com"
  }
}
'
{
  "id": "e46b4d2e-0200-42ae-829c-df6ab87f0b23",
  "object": "click",
  "domain": "example.com",
  "expires_at": 1770501744,
  "referrer": null,
  "url": "http://example.com",
  "created_at": 1767909744,
  "updated_at": 1767909744
}

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