# Retrieve the Invitation Key

Retrieve the unique invitation key from the invitation URL that the user clicks. The invitation URL has two components: the invitation URL prefix and the invitation key. The invitation key is an auto-generated unique identifier.

1. Capture the invitation key from the invitation URL.

   For example, if the invitation URL is `https://YourSiteDomain/SiteURL/f482d103-4792-40ac-864a-57db0c13161b`, the invitation key is `f482d103-4792-40ac-864a-57db0c13161b`.

After you capture the invitation key, fetch the invitation appointment details by using the key.
