id is their party ID (pty_*).
There are two ways to connect a customer: invite a specific customer by email or phone, or create an invitation link that any customer can open. Both offer the same thing - a set of your agents, with the permissions and limits you set, for the customer to approve.