Verify API Key
curl --request GET \
--url https://api.bey.dev/v1/auth/verify \
--header 'x-api-key: <api-key>'import requests
url = "https://api.bey.dev/v1/auth/verify"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.bey.dev/v1/auth/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authentication
Verify API Key
Check whether the x-api-key header contains a valid API key. Returns 204 No Content when the key is valid and 401 Unauthorized otherwise. Useful as a lightweight connectivity and credential check.
GET
/
v1
/
auth
/
verify
Verify API Key
curl --request GET \
--url https://api.bey.dev/v1/auth/verify \
--header 'x-api-key: <api-key>'import requests
url = "https://api.bey.dev/v1/auth/verify"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.bey.dev/v1/auth/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Your Beyond Presence API Key.
Response
Valid API Key
Was this page helpful?