curl
curl -X GET "https://api.linkvite.io/v1/profiles/<username>/collections" \
-H "x-api-key: $LINKVITE_API_KEY"import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.profiles.getCollections('<username>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Profiles.GetCollections(ctx, "<username>", nil){
"ok": true,
"data": {
"collections": [
{
"allow_public_join": true,
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"icon": "<string>",
"id": "<string>",
"is_private": true,
"name": "<string>",
"owner_avatar": "<string>",
"owner_id": "<string>",
"owner_name": "<string>",
"owner_username": "<string>",
"thumbnail": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"last_page": 123,
"limit": 123,
"page": 123,
"total": 123,
"q": "<string>"
}
},
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Profiles
Get profile collections
Rate limit: 250 requests per 5 minutes
GET
/
v1
/
profiles
/
{username}
/
collections
curl
curl -X GET "https://api.linkvite.io/v1/profiles/<username>/collections" \
-H "x-api-key: $LINKVITE_API_KEY"import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.profiles.getCollections('<username>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Profiles.GetCollections(ctx, "<username>", nil){
"ok": true,
"data": {
"collections": [
{
"allow_public_join": true,
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"icon": "<string>",
"id": "<string>",
"is_private": true,
"name": "<string>",
"owner_avatar": "<string>",
"owner_id": "<string>",
"owner_name": "<string>",
"owner_username": "<string>",
"thumbnail": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"last_page": 123,
"limit": 123,
"page": 123,
"total": 123,
"q": "<string>"
}
},
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Query Parameters
Was this page helpful?