How to use
Authentication
Each call must carry a valid API key, linked to an application subscribed to the product:
apikey: <your-key>
Without a valid key, the API responds 401 AUTHENTICATION_FAILED.
Example
curl -H "apikey: $API_KEY" \
"https://api.accor.com/referential/v1/pos/countries?siteCode=novotel"
Errors
Every error is returned in the format:
{
"status": 404,
"title": "Resource Not Found",
"code": "RESOURCE_NOT_FOUND",
"detail": "...",
"requestId": "..."
}
Support
See the technical/functional contact of the API on the Developer Portal.