Create link
In the app: open the customer menu and choose New Link. From the terminal:- Tied to a customer: add
--customer ws_XXXXXXXXand the connected channel lands in that existing customer. - Open: leave it untargeted and a new customer is created the moment someone connects through it.
--channel-type accepts whatsapp or instagram.
Set successRedirectUrl, failureRedirectUrl, and connectedNotificationUrl when you create a link to know the moment a customer’s connect succeeds or fails. See Connection events.