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": "49DAC833",
    "url": "http://example.com"
  }
}
'
{
  "id": "5ff8bdf8-62b1-449b-9dd9-3c62921af20d",
  "object": "click",
  "domain": "example.com",
  "expires_at": 1780602907,
  "referrer": null,
  "url": "http://example.com",
  "created_at": 1778010907,
  "updated_at": 1778010907
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

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