Authenticate every protected request with a Bearer API key.
Production endpoints expect a token in the Authorization header.
Production endpoints expect a token in the Authorization header.
Authorization: Bearer YOUR_API_KEY
On the live production service discovery endpoint, a request without a key currently returns:
{
"code": "missing_api_key",
"message": "API Key required",
"data": {
"status": 401
}
}
curl -X GET "https://api.gathlogistics.com/wp-json/gath/v1/services" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"