Provisions a new learner or manager. Defaults to the caller’s own company; pass childCompanyId in the body to create the user under a direct child instead. Returns an invitation record with an invitationUrl the caller can surface to the end user.
Idempotent on externalId: a retry with the same externalId for the same company returns the existing invitation rather than creating a duplicate.
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 for the new user. Globally unique across Replay invitations.
255"learner@acme.example"
First name displayed in Replay.
1 - 255"Jamie"
Role to assign to the user. User is a standard learner; Manager can review their team's analytics. Admin role is intentionally not settable via this API — admins must be provisioned by Replay staff.
User, Manager Optional last name.
1 - 255"Lee"
Caller-supplied identifier (your CLP user id). When provided, retrying this endpoint with the same externalId returns the existing invitation instead of creating a duplicate. Unique per company.
1 - 255"clp-user-12345"
Optional. When provided, create the user under this child company instead of the caller's own company. The child must be a direct child of the caller — otherwise the request is rejected with 403.
"22222222-2222-4222-8222-222222222222"
Existing invitation returned (idempotent retry).
Identifier for this record. For users this is the user.id; for pending invitations it's the invitation.id.
Current role. Always User, Manager, or Disabled. Disabled means the user was deactivated and can no longer log in.
invited = invitation outstanding (no user.id yet); active = real user, can log in; disabled = deactivated.
invited, active, disabled Caller-supplied identifier echoed back. null when the record was created without one.
For status: invited records, a link the user can follow to complete signup. Null for active/disabled.