Skip to main content
GET
https://api-dev.weir.ai/
/
org
/
talent
/
name
/
search
curl -X GET 'https://api.weir.ai/org/talent/name/search?search=John' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'x-source: console'
{
  "data": {
    "results": [
      {
        "talentId": "talent_123456789",
        "fullname": "John Athlete",
        "email": "[email protected]",
        "status": "active",
        "licenseCount": 5
      }
    ],
    "total": 1
  },
  "message": "Search completed successfully",
  "status": "success"
}

Search Agency Talent

Search for talent in your agency roster by name.
curl -X GET 'https://api.weir.ai/org/talent/name/search?search=John' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'x-source: console'
{
  "data": {
    "results": [
      {
        "talentId": "talent_123456789",
        "fullname": "John Athlete",
        "email": "[email protected]",
        "status": "active",
        "licenseCount": 5
      }
    ],
    "total": 1
  },
  "message": "Search completed successfully",
  "status": "success"
}

Query Parameters

Search term to match against talent names.

Usage Examples

const searchTalent = async (searchTerm, accessToken) => {
  const response = await fetch(`https://api.weir.ai/org/talent/name/search?search=${encodeURIComponent(searchTerm)}`, {
    headers: {
      'Authorization': `Bearer ${accessToken}`,
      'x-source': 'console'
    }
  });
  if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
  return await response.json();
};