Skip to main content
Adds a user to the call queue.

Purpose

The enqueue method is used to add the identified user to a call queue. Common use cases include allowing users to request a call for support, onboarding, or product feedback directly from your app.

Signature

func enqueue(reason: String = nil, preferredCallTime: String? = nil)

Parameters

NameTypeDescription
reasonString?Optional reason the user was added to the call queue
preferredCallTimeString?Optional users preferred call time

Returns

This method does not return a value.

Usage

Basic Identification

// Add the user to the call queue for a support request
UserKit.shared.enqueue(reason: "Support Request", preferredCallTime: "Today")