For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Swift: Send an email invite link

Send an invite link to the user's email address.

Examples

Invite user by email

let user = try await admin.inviteUser(
  email: "user@email.com",
  userMetadata: ["role": "admin"],
  redirectTo: URL(string: "https://example.com/welcome")
)