curl --request GET \
--url https://api.sakari.io/v1/accounts/{accountId}/links \
--header 'Authorization: Bearer <token>'
{
"success": true,
"pagination": {
"totalCount": 123,
"limit": 123,
"offset": 123,
"hasNext": true
},
"data": [
{
"id": "<string>",
"name": "<string>",
"keyId": "<string>",
"domain": {
"id": "<string>",
"name": "<string>"
},
"destinationUrl": "<string>",
"shortenedUrl": "<string>",
"contactTracking": true,
"sourceTracking": true,
"stats": {
"totalClicks": 123,
"uniqueClicks": 123,
"ctr": 123
},
"created": {
"at": "2023-11-07T05:31:56Z",
"by": {
"id": "<string>",
"name": "Joe Bloggs",
"firstName": "Joe",
"lastName": "Bloggs",
"email": "joe@bloggs.com",
"source": "<string>",
"subSource": "<string>"
}
},
"updated": {
"at": "2023-11-07T05:31:56Z",
"by": {
"id": "<string>",
"name": "Joe Bloggs",
"firstName": "Joe",
"lastName": "Bloggs",
"email": "joe@bloggs.com",
"source": "<string>",
"subSource": "<string>"
}
}
}
]
}
curl --request GET \
--url https://api.sakari.io/v1/accounts/{accountId}/links \
--header 'Authorization: Bearer <token>'
{
"success": true,
"pagination": {
"totalCount": 123,
"limit": 123,
"offset": 123,
"hasNext": true
},
"data": [
{
"id": "<string>",
"name": "<string>",
"keyId": "<string>",
"domain": {
"id": "<string>",
"name": "<string>"
},
"destinationUrl": "<string>",
"shortenedUrl": "<string>",
"contactTracking": true,
"sourceTracking": true,
"stats": {
"totalClicks": 123,
"uniqueClicks": 123,
"ctr": 123
},
"created": {
"at": "2023-11-07T05:31:56Z",
"by": {
"id": "<string>",
"name": "Joe Bloggs",
"firstName": "Joe",
"lastName": "Bloggs",
"email": "joe@bloggs.com",
"source": "<string>",
"subSource": "<string>"
}
},
"updated": {
"at": "2023-11-07T05:31:56Z",
"by": {
"id": "<string>",
"name": "Joe Bloggs",
"firstName": "Joe",
"lastName": "Bloggs",
"email": "joe@bloggs.com",
"source": "<string>",
"subSource": "<string>"
}
}
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Account to apply operations to
General search term that searchs accross multiple fields
successful operation
The response is of type object
.