List locations
Every location the organization has, open or closed. Not paginated: the count is bounded by the subscription tier. These ids are what the rest of the API means by locationId.
Any active key, sent as a bearer token. Keys are owner-equivalent, so there are no scopes to grant and nothing to configure per endpoint. See Authentication.
None. There is nothing to put in the path or query.
5 fields per item
IANA name. Sessions at this location are scheduled on this clock.
Rows returned. This endpoint is not paginated, so it is the whole set.
These apply to every endpoint on the API, not just this one. Errors covers the body shape.
No bearer token, or a token that is unknown, revoked or expired. All four answer identically on purpose, so a caller probing tokens learns nothing about which is which.
The organization’s plan does not include the public API. It is available on Pro and above, and the check runs on every request, so a downgrade stops keys that were minted earlier.
The organization is not active.
The key is over its rate limit. Back off and retry.
Something failed on our side. The body carries a short sentence and never an internal error string, so quote your own request timestamp when reporting one.
curl "https://api.zenly.app.br/v1/locations" \ -H "Authorization: Bearer $ZENLY_API_KEY"
{
"data": [
{
"address": "string",
"id": "string",
"name": "string",
"status": "active",
"timezone": "string"
}
],
"total": 0
}