GET item
Request parameters
curl -X GET \
-H 'X-EchonovumApi-Key: YOUR_API_KEY' \
-H 'Content-Type: application/vnd.api+json' \
https://api.echonovum.com/en/v1/surveys/a320f33d-8177-4648-80db-cf740e55bcfb
const API_KEY = process.env.ECHONOVUM_API_KEY;
const response = await fetch('https://api.echonovum.com/en/v1/surveys/a320f33d-8177-4648-80db-cf740e55bcfb', {
headers: {
'X-EchonovumApi-Key': API_KEY,
'Content-Type': 'application/vnd.api+json'
}
});
Responses
{
"data": {
"id": "/en/v1/surveys/a320f33d-8177-4648-80db-cf740e55bcfb",
"type": "SurveyV1",
"attributes": {
"uuid": "a320f33d-8177-4648-80db-cf740e55bcfb",
"name": "EX: First Day of Work"
}
}
}
{
"title": "An error occurred",
"description": "Not Found"
}
Last modified: 27 May 2024