Verify email and get API key
curl --request POST \
--url https://api.shelv.dev/v1/auth/verify-email \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"email": "jsmith@example.com"
}
'import requests
url = "https://api.shelv.dev/v1/auth/verify-email"
payload = {
"code": "<string>",
"email": "jsmith@example.com"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>', email: 'jsmith@example.com'})
};
fetch('https://api.shelv.dev/v1/auth/verify-email', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>', email: 'jsmith@example.com'})
};
fetch('https://api.shelv.dev/v1/auth/verify-email', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"apiKey": {
"expiresAt": "<string>",
"key": "<string>",
"prefix": "<string>"
},
"user": {
"email": "<string>",
"id": "<string>",
"name": "<string>"
}
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Auth
Verify email and get API key
Verify your email address with the 6-digit code sent during registration. Returns an API key on success.
POST
/
v1
/
auth
/
verify-email
Verify email and get API key
curl --request POST \
--url https://api.shelv.dev/v1/auth/verify-email \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"email": "jsmith@example.com"
}
'import requests
url = "https://api.shelv.dev/v1/auth/verify-email"
payload = {
"code": "<string>",
"email": "jsmith@example.com"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>', email: 'jsmith@example.com'})
};
fetch('https://api.shelv.dev/v1/auth/verify-email', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>', email: 'jsmith@example.com'})
};
fetch('https://api.shelv.dev/v1/auth/verify-email', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"apiKey": {
"expiresAt": "<string>",
"key": "<string>",
"prefix": "<string>"
},
"user": {
"email": "<string>",
"id": "<string>",
"name": "<string>"
}
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}⌘I
