Skip to main content
POST
/
org
/
invite
/
talent
curl -X POST 'https://api.weir.ai/org/invite/talent' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'x-source: console' \
  -d '{
    "email": "talent@athlete.com"
  }'
{
  "data": {
    "invitationId": "inv_talent_123456789",
    "email": "talent@athlete.com",
    "status": "pending",
    "expiresAt": "2024-01-29T15:30:00Z"
  },
  "message": "Talent invitation sent successfully",
  "status": "success"
}

Documentation Index

Fetch the complete documentation index at: https://doc-dev.weir.ai/llms.txt

Use this file to discover all available pages before exploring further.

Invite Talent to Agency

Send an invitation to a talent to join your agency’s roster.
curl -X POST 'https://api.weir.ai/org/invite/talent' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'x-source: console' \
  -d '{
    "email": "talent@athlete.com"
  }'
{
  "data": {
    "invitationId": "inv_talent_123456789",
    "email": "talent@athlete.com",
    "status": "pending",
    "expiresAt": "2024-01-29T15:30:00Z"
  },
  "message": "Talent invitation sent successfully",
  "status": "success"
}

Request Body

email
string
required
Email address of the talent to invite.

Response Fields

data.invitationId
string
required
Unique invitation identifier.
data.email
string
required
Email address where invitation was sent.
data.status
string
required
Invitation status (pending, accepted, expired).
data.expiresAt
timestamp
required
Invitation expiration timestamp.

Usage Examples

const inviteTalent = async (email, accessToken) => {
  const response = await fetch('https://api.weir.ai/org/invite/talent', {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${accessToken}`,
      'Content-Type': 'application/json',
      'x-source': 'console'
    },
    body: JSON.stringify({ email })
  });
  if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
  return await response.json();
};
Pro Tip: Invitations expire in 7 days. Send reminders to increase acceptance rates.