Partners
cURL
curl --request POST \ --url 'https://partner.onlytraffic.com/api/marketer?do=generate_link' \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "smartlink_id": 123, "click_id": "<string>" } '
{ "status": "success", "data": { "click_id": "<string>", "url": "<string>", "expires_ts": 123, "expires": "<string>" } }
Generate a tracking URL for a Smart Link campaign. Rate limit: 1 request per campaign every 5 minutes.
Your API key from the Partner Dashboard
Smart Link campaign ID (required)
Custom click ID (max 16 characters)
16
Generated link
success
Show child attributes
Was this page helpful?