curl --request POST \
--url https://api.joylink.io/public/addlinkvisit \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"link_key": "<string>",
"os": "<string>",
"city": "<string>",
"device": "<string>",
"region": "<string>",
"browser": "<string>",
"country": "<string>",
"referrer": "<string>",
"referrerURL": "<string>",
"country_code": "<string>",
"user_agent": "<string>",
"ip_address": "<string>",
"link_not_found_behavior": {
"create_link": true,
"create_link_input": {
"destination": "<string>",
"trackingid": "<string>"
}
}
}'
{
"success": true,
"link": {
"key": "<string>",
"description": "<string>",
"destination": "<string>",
"imageUrl": "<string>",
"productTitle": "<string>",
"userId": "<string>",
"linkPrefix": "<string>",
"createdAt": "<string>"
}
}
curl --request POST \
--url https://api.joylink.io/public/addlinkvisit \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"link_key": "<string>",
"os": "<string>",
"city": "<string>",
"device": "<string>",
"region": "<string>",
"browser": "<string>",
"country": "<string>",
"referrer": "<string>",
"referrerURL": "<string>",
"country_code": "<string>",
"user_agent": "<string>",
"ip_address": "<string>",
"link_not_found_behavior": {
"create_link": true,
"create_link_input": {
"destination": "<string>",
"trackingid": "<string>"
}
}
}'
{
"success": true,
"link": {
"key": "<string>",
"description": "<string>",
"destination": "<string>",
"imageUrl": "<string>",
"productTitle": "<string>",
"userId": "<string>",
"linkPrefix": "<string>",
"createdAt": "<string>"
}
}
Successfully recorded link visit
The response is of type object
.