GET
/
v1
/
analytics
/
{workspace_id}
/
links
/
{link_id}
curl --request GET \
  --url https://api.ziplink.click/v1/analytics/{workspace_id}/links/{link_id} \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "browser_family": "Firefox",
      "city": "Dubai",
      "client_version": "126.0.0.0",
      "continent": "AS",
      "country": "AE",
      "created_at": "2023-11-07T05:31:56Z",
      "device_brand": "Generic_Android",
      "device_type": "Android 10",
      "id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
      "link_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
      "os_name": "Android",
      "os_version": "10",
      "referrer": "example.com",
      "source": "click"
    }
  ],
  "pagination": {
    "page_number": 5,
    "page_size": 100,
    "total": 1000
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

ID of the workspace.

Example:

"ab782971-4d79-47ab-8685-77cf5a34b2bb"

ID of the link.

Example:

"ab782971-4d79-47ab-8685-77cf5a34b2bb"

Query Parameters

continent
string

The name of the continent from which the request originated.

Example:

"AS"

country
string

The code of the country from which the request originated.

Example:

"AE"

city
string

The name of the city from which the request originated.

Example:

"Dubai"

browser-family
string

The browser family of the client which sent the request.

Example:

"Firefox"

device-type
string

The type of the device which sent the request.

Example:

"Android 10"

os-name
string

The operating system name of the device.

Example:

"Android"

referrer
string

Domain name of the web page that made the request.

Example:

"example.com"

source
enum<string>

The action that triggered saving the record.

Available options:
click,
scan
Example:

"click"

offset
integer
default:0

Number of resources to skip.

Required range: x >= 0
limit
integer
default:100

Number of resources to return.

Required range: 1 <= x <= 1000

Response

200
application/json
OK
items
object[]
required

An analytics record that belongs to a link.

pagination
object
required