curl --request GET \
--url 'https://api.growthchannel.io/keys/hint/?agency_id=544'
Public endpoints
Public API-KEY
GET
/
keys
/
hint
/
?agency_id=
{agency_id}
curl --request GET \
--url 'https://api.growthchannel.io/keys/hint/?agency_id=544'
An
X-Api-Key is required to authenticate requests to all other public endpoints.
This endpoint does not need a key. It returns a hint (the last 4 characters) of the agency’s active key so you can check which key is in use.Method
GETEndpoint
/keys/hint/ curl --request GET \
--url 'https://api.growthchannel.io/keys/hint/?agency_id=544'
Parameters
integer
required
The unique identifier for the agency
?agency_id=544Responses
- 200 OK
- 400 Bad Request
- 404 Not Found
{
"key_hint": "aY5Q"
}
string
The last 4 characters of the agency’s active API key.
Returned if
agency_id is missing.{
"error": {
"code": "VALIDATION_ERROR",
"message": "agency_id is required",
"details": {
"field": "agency_id",
"issue": "missing"
},
"request_id": "..."
}
}
Returned if the agency does not exist.Returned if the agency has no active API key.
{
"error": {
"code": "NOT_FOUND",
"message": "Agency not found",
"details": {
"field": "agency_id",
"value": "544"
},
"request_id": "4b7bd3b3-21fa-47ae-8369-78e658408a51"
}
}
{
"error": {
"code": "NOT_FOUND",
"message": "No active API key found for this agency",
"details": {
"field": "agency_id",
"value": "544"
},
"request_id": "..."
}
}
