curl --request GET \
--url https://api.letsdothis.com/identity \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/identity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/identity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"organiserId": "<string>",
"eventOccurrenceIds": [
"<string>"
],
"endpoints": [
"<string>"
],
"formFieldAnswers": [
{
"publicId": "marketingOptIn",
"values": [
"Opt-in"
]
}
]
}{
"statusCode": 401,
"error": "<string>",
"message": "<string>"
}Show what your API key can reach
Describes the key used to make the call: the organization it belongs to and, for a scoped key, the event occurrences, endpoints and booking form answers it is limited to. Every list is empty for a key with full access.
This is the one endpoint every key can call regardless of its scope, so a partner can confirm what they were given before integrating, and you can check a key’s scope without opening the dashboard. The response describes the key only; it never includes the key itself or anything about participants.
The endpoints values are stable names such as registrationStatus, not URL paths. Each endpoint that supports scoped keys names its id on its own reference page.
curl --request GET \
--url https://api.letsdothis.com/identity \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/identity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/identity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"organiserId": "<string>",
"eventOccurrenceIds": [
"<string>"
],
"endpoints": [
"<string>"
],
"formFieldAnswers": [
{
"publicId": "marketingOptIn",
"values": [
"Opt-in"
]
}
]
}{
"statusCode": 401,
"error": "<string>",
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Default Response
- OrganizerIdentity
- MarketplaceIdentity
- TimingProviderIdentity
What GET /identity tells a caller about their own API key. Deliberately a fixed shape: this is the one response a partner can always fetch, so it must describe the key's scope and nothing internal.
Event occurrences the key is restricted to; empty when unrestricted.
Endpoint ids the key is restricted to; empty when unrestricted.
The booking form answers the key may ask for, by the field's public ID. Empty when the key has no answer restriction.
Show child attributes
Show child attributes
Was this page helpful?

