Skip to main content
GET
/
accounts
/
{account_id}
/
shared-links
/
{id}
/
access-logs
Get shared link access logs
curl --request GET \
  --url https://www.useroulette.com/api/v1/accounts/{account_id}/shared-links/{id}/access-logs \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "access_logs": [
      {
        "id": "log-uuid-1",
        "shared_link_id": "link-uuid",
        "ip_address": "192.168.x.x",
        "user_agent": "Mozilla/5.0...",
        "country": "US",
        "accessed_at": "2024-01-20T15:30:00Z"
      },
      {
        "id": "log-uuid-2",
        "shared_link_id": "link-uuid",
        "ip_address": "10.0.x.x",
        "user_agent": "Chrome/120...",
        "country": "UK",
        "accessed_at": "2024-01-19T10:15:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 42,
      "total_pages": 3
    }
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

account_id
string<uuid>
required
id
string<uuid>
required

Query Parameters

page
integer
default:1
Required range: x >= 1
limit
integer
default:20
Required range: 1 <= x <= 100

Response

success
boolean
data
object