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": "15835536",
    "url": "http://example.com"
  }
}
'
{
  "id": "bd7eeb3f-11a4-4cfc-827c-1a721d41dfdc",
  "object": "click",
  "domain": "example.com",
  "expires_at": 1776495575,
  "referrer": null,
  "url": "http://example.com",
  "created_at": 1773903575,
  "updated_at": 1773903575
}

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