Skip to main content
GET
/
accounts
/
{account_id}
/
shared-links
List shared links
curl --request GET \
  --url https://www.useroulette.com/api/v1/accounts/{account_id}/shared-links \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "links": [
      {
        "id": "link-uuid-1",
        "account_id": "account-uuid",
        "name": "Q1 2024 Portfolio",
        "short_code": "abc123xy",
        "short_url": "https://www.useroulette.com/s/abc123xy",
        "password_protected": true,
        "is_active": true,
        "view_count": 42,
        "created_at": "2024-01-01T00:00:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 5,
      "total_pages": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

account_id
string<uuid>
required

Query Parameters

page
integer
default:1
Required range: x >= 1
limit
integer
default:20
Required range: 1 <= x <= 100
sort_order
enum<string>
default:desc
Available options:
asc,
desc
sort_by
enum<string>
default:created_at
Available options:
created_at,
updated_at,
name
is_active
boolean

Response

success
boolean
required
data
object
required