curl
curl -X GET "https://api.linkvite.io/v1/profiles/<username>" \
-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.get('<username>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Profiles.Get(ctx, "<username>"){
"data": {
"account_type": "enterprise",
"avatar": "<string>",
"blocked": true,
"can_follow": true,
"can_view": true,
"created_at": "2023-11-07T05:31:56Z",
"follow": "<string>",
"followers_count": 123,
"following_count": 123,
"follows_you": true,
"friends": true,
"id": "<string>",
"is_me": true,
"name": "<string>",
"private_account": true,
"public_collections_count": 123,
"status": "active",
"username": "<string>",
"verified": true,
"role": "admin"
},
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Profiles
Get profile
The profile plus counts and, for a signed-in caller, how they relate (following / requested / follows you / friends / blocked) and whether they may see its collections and activity. Someone who blocked the caller looks like a missing profile
Rate limit: 250 requests per 5 minutes
GET
/
v1
/
profiles
/
{username}
curl
curl -X GET "https://api.linkvite.io/v1/profiles/<username>" \
-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.get('<username>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Profiles.Get(ctx, "<username>"){
"data": {
"account_type": "enterprise",
"avatar": "<string>",
"blocked": true,
"can_follow": true,
"can_view": true,
"created_at": "2023-11-07T05:31:56Z",
"follow": "<string>",
"followers_count": 123,
"following_count": 123,
"follows_you": true,
"friends": true,
"id": "<string>",
"is_me": true,
"name": "<string>",
"private_account": true,
"public_collections_count": 123,
"status": "active",
"username": "<string>",
"verified": true,
"role": "admin"
},
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Was this page helpful?