Endpoints
Validate applicable endpoint for given criteria.
ROLES: ENDPOINT_READ,ENDPOINT_WRITE,ENDPOINT_ADMIN USER: true SERVICE ACCOUNT: true
POST
/
api
/
v1
/
endpoints
/
validate
Validate applicable endpoint for given criteria.
curl --request POST \
--url https://api.revoengine.com/api/v1/endpoints/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "/api/v1/users/{userId}",
"method": "GET"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({path: '/api/v1/users/{userId}', method: 'GET'})
};
fetch('https://api.revoengine.com/api/v1/endpoints/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/endpoints/validate"
payload = {
"path": "/api/v1/users/{userId}",
"method": "GET"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Body
application/json
Response
OK.
Last modified on September 5, 2026
⌘I
Validate applicable endpoint for given criteria.
curl --request POST \
--url https://api.revoengine.com/api/v1/endpoints/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "/api/v1/users/{userId}",
"method": "GET"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({path: '/api/v1/users/{userId}', method: 'GET'})
};
fetch('https://api.revoengine.com/api/v1/endpoints/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/endpoints/validate"
payload = {
"path": "/api/v1/users/{userId}",
"method": "GET"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
