---
schema_version: "1"
id: bb896f689a967c9c6105ac01a340fa4887579a00e71eb61e499ad304143ee3a6
title: Retrieve the Invitation Key
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/salesforce-scheduler-dev-guide/guides/salesforce-scheduler/uc10-get-invitation-key.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-scheduler-dev-guide/guide/uc10-get-invitation-key.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 997dbf87b94178d27161e92675a4b4bdd8a0e8241b5a8a57556d3ce685332a40
products:
  - Salesforce Scheduler Developer Guide
  - Service Cloud Developer Content
---

# 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.

