curl -X GET 'https://api.weir.ai/talent/talent_123456789' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'x-source: console'
{
"data": {
"talentId": "talent_123456789",
"fullname": "John Athlete",
"email": "[email protected]",
"phone": "+1-555-0100",
"bio": "Professional athlete and content creator",
"socialMedia": {
"twitter": "@johnathlete",
"instagram": "@johnathlete",
"tiktok": "@johnathlete"
},
"licenseCount": 5,
"activeLicenses": 3,
"status": "active",
"verified": true,
"agencyId": "org_123456789",
"joinedAt": "2024-01-15T10:30:00Z"
},
"message": "Talent profile retrieved successfully",
"status": "success"
}
Retrieve detailed talent profile information
curl -X GET 'https://api.weir.ai/talent/talent_123456789' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'x-source: console'
{
"data": {
"talentId": "talent_123456789",
"fullname": "John Athlete",
"email": "[email protected]",
"phone": "+1-555-0100",
"bio": "Professional athlete and content creator",
"socialMedia": {
"twitter": "@johnathlete",
"instagram": "@johnathlete",
"tiktok": "@johnathlete"
},
"licenseCount": 5,
"activeLicenses": 3,
"status": "active",
"verified": true,
"agencyId": "org_123456789",
"joinedAt": "2024-01-15T10:30:00Z"
},
"message": "Talent profile retrieved successfully",
"status": "success"
}
curl -X GET 'https://api.weir.ai/talent/talent_123456789' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'x-source: console'
{
"data": {
"talentId": "talent_123456789",
"fullname": "John Athlete",
"email": "[email protected]",
"phone": "+1-555-0100",
"bio": "Professional athlete and content creator",
"socialMedia": {
"twitter": "@johnathlete",
"instagram": "@johnathlete",
"tiktok": "@johnathlete"
},
"licenseCount": 5,
"activeLicenses": 3,
"status": "active",
"verified": true,
"agencyId": "org_123456789",
"joinedAt": "2024-01-15T10:30:00Z"
},
"message": "Talent profile retrieved successfully",
"status": "success"
}
Show Talent Profile Properties
const getTalentProfile = async (talentId, accessToken) => {
const response = await fetch(`https://api.weir.ai/talent/${talentId}`, {
headers: {
'Authorization': `Bearer ${accessToken}`,
'x-source': 'console'
}
});
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
return await response.json();
};
Was this page helpful?