Check whether an email is registered
curl --request POST \
--url https://api.letsdothis.com/v0/event-occurrences/{id}/registration-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "runner@example.com"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({email: 'runner@example.com'})
};
fetch('https://api.letsdothis.com/v0/event-occurrences/{id}/registration-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/event-occurrences/{id}/registration-status"
payload = { "email": "runner@example.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"eventOccurrenceId": "12345678901",
"registered": true
}{
"statusCode": 400,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 401,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 403,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 404,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 429,
"error": "<string>",
"message": "<string>"
}Event occurrences
Check whether an email is registered
Answers whether an email address holds a confirmed place in the event occurrence.
Use it when you need a yes or no at the point of sale, for example a sponsor checking a participant discount, without access to participant data. The response holds only the occurrence id and the answer.
How to use it
- Send the email in the request body, not the URL. Matching ignores case and surrounding spaces.
- Only confirmed entries count. Pending payment, deferred, withdrawn, canceled, refunded and transferred entries answer
false, as does an email that was never registered. - Supports scoped API keys as the
registrationStatusendpoint, reading the occurrence from the path. A key limited by endpoint must includeregistrationStatus, a key limited by occurrence must include this occurrence, and a key limited by both must meet both. - Rate limited per API key, to 5 requests a second and 10,000 requests per 24 hours. A checkout that asks once per customer stays well within both.
POST
/
v0
/
event-occurrences
/
{id}
/
registration-status
Check whether an email is registered
curl --request POST \
--url https://api.letsdothis.com/v0/event-occurrences/{id}/registration-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "runner@example.com"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({email: 'runner@example.com'})
};
fetch('https://api.letsdothis.com/v0/event-occurrences/{id}/registration-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/event-occurrences/{id}/registration-status"
payload = { "email": "runner@example.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"eventOccurrenceId": "12345678901",
"registered": true
}{
"statusCode": 400,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 401,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 403,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 404,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 429,
"error": "<string>",
"message": "<string>"
}Authorizations
Body
application/json
Response
Whether the email holds a confirmed place, in registered.
Whether an email address holds a confirmed place in an event occurrence. It holds nothing about the participant beyond the answer.
Was this page helpful?

