Create an invitation for a user to join your company on Replay. Always returns an invitationUrl that the caller can distribute.
Behavior:
sendEmail is true, Replay sends the invitation email on your behalfsendEmail is false (default), only the invitation record is created and the invitationUrl is returned for you to distributeNote: Only ‘User’ and ‘Manager’ roles are allowed via the API.
Documentation Index
Fetch the complete documentation index at: https://docs.replay.sale/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Get your API key from your company settings.
Email address to send the invitation to
"john.doe@example.com"
ID of the team to assign the invited user to. Use GET /api/team to list available teams.
"550e8400-e29b-41d4-a716-446655440000"
Role to assign to the invited user. 'User' for standard reps, 'Manager' for team managers.
User, Manager "User"
When true, Replay sends the invitation email to the user. When false (default), only the invitation record is created and the invitationUrl is returned for the caller to distribute.
false
Invitation created or resent successfully
Unique identifier for the invitation
"123e4567-e89b-12d3-a456-426614174000"
Email address the invitation was sent to
"john.doe@example.com"
ID of the team the user will be assigned to
"550e8400-e29b-41d4-a716-446655440000"
Role assigned to the invited user
"User"
When the invitation expires (30 days from creation)
"2026-03-26T12:00:00.000Z"
When the invitation was created
"2026-02-24T12:00:00.000Z"
Number of times the invitation email has been resent (0 for new invitations)
x >= 00
URL the invited user should visit to accept the invitation and complete onboarding.
"https://app.replay.sale/onboard/link?invitationId=123e4567-e89b-12d3-a456-426614174000"