GET
/
v1
/
analytics
/
taps
/
{id}
Get analytics for a specific short url
curl --request GET \
  --url https://api.oneofnone.io/v1/analytics/taps/{id} \
  --header 'x-api-key: <api-key>'
{
  "meta": {
    "tap_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "team_name": "<string>",
    "collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "collection_name": "<string>",
    "product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "product_name": "<string>"
  },
  "tap_data": {
    "device_info": {
      "device_type": "mobile",
      "browser": "<string>",
      "os": "<string>",
      "user_agent": "<string>"
    },
    "location_info": {
      "country": "<string>",
      "region": "<string>",
      "city": "<string>",
      "ip_address": "127.0.0.1"
    },
    "referrer_info": {
      "referrer": "<string>",
      "referrer_type": "direct"
    },
    "user_info": {
      "is_authenticated": true,
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_email": "jsmith@example.com"
    }
  }
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Path Parameters

id
string
required

The unique identifier of the tap to fetch analytics for.

Response

200
application/json

Successfully fetched tap analytics.

The response is of type object.