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
Response
What the key can reach: its organization and, for a scoped key, the occurrences, endpoints and booking form answers it's limited to.
- OrganizerIdentity
- MarketplaceIdentity
- TimingProviderIdentity
What GET /identity returns about the API key used: the organization it belongs to and what it's limited to. It never includes the key itself.
Was this page helpful?

