Link Statistics
GET
/sms-campaigns/{campaign_id}/link-statistics
SMS Campaigns
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://rest.clicksend.com/v3/sms-campaigns/1/link-statistics'
Response Response Example
{
"data": {
"browser": [
{
"count": 95,
"label": "Chrome"
},
{
"count": 3,
"label": "Opera"
},
{
"count": 10,
"label": "Safari"
}
],
"country": [
{
"count": 15,
"label": "Other"
},
{
"count": 1,
"label": "AF"
},
{
"count": 2,
"label": "AR"
},
{
"count": 1,
"label": "AU"
},
{
"count": 2,
"label": "BE"
},
{
"count": 4,
"label": "BR"
},
{
"count": 3,
"label": "CA"
},
{
"count": 1,
"label": "CH"
},
{
"count": 11,
"label": "CN"
},
{
"count": 1,
"label": "CZ"
},
{
"count": 4,
"label": "DE"
},
{
"count": 1,
"label": "DK"
},
{
"count": 1,
"label": "ES"
},
{
"count": 2,
"label": "FR"
},
{
"count": 1,
"label": "GB"
},
{
"count": 3,
"label": "IN"
},
{
"count": 1,
"label": "IR"
},
{
"count": 5,
"label": "JP"
},
{
"count": 3,
"label": "KR"
},
{
"count": 1,
"label": "MY"
},
{
"count": 2,
"label": "PK"
},
{
"count": 1,
"label": "PL"
},
{
"count": 3,
"label": "RU"
},
{
"count": 1,
"label": "SK"
},
{
"count": 2,
"label": "TW"
},
{
"count": 1,
"label": "UA"
},
{
"count": 34,
"label": "US"
},
{
"count": 1,
"label": "ZA"
}
],
"device": [
{
"count": 98,
"label": "Desktop"
},
{
"count": 10,
"label": "Mobile"
}
],
"links": {
"opened": 108,
"unopened": 1
},
"os": [
{
"count": 10,
"label": "IOS"
},
{
"count": 98,
"label": "OS X"
}
]
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Here is your result."
}
Request
Path Params
campaign_id
numberÂ
required
Example:
1