Developer documentation
Every request to the ContioReach Content API requires an API key.
ContioReach supports two authentication methods.
Recommended for new integrations:
X-API-Key: YOUR_API_KEYconst response = await fetch(
process.env.CMS_API_URL + "/post",
{
headers: {
"X-API-Key": process.env.CMS_API_KEY
}
}
);curl -X GET "https://contioreach.com/api/public/post" \
-H "X-API-Key: your_api_key_here"Invalid or missing credentials return:
401 UnauthorizedResponse:
{
"error": "Authentication error message"
}If you receive a 401 response, check: