cURL
curl --request GET \ --url https://api.hofj.com/v1/locales \ --header 'Authorization: Bearer <token>'
{ "data": [ { "code": "<string>", "name": "<string>" } ] }
Returns the list of supported locales for localized content. Use the code value as the locale query parameter on product and content routes.
code
locale
Use Authorization: Bearer <access_token> from POST /v1/oauth/token, or Authorization: Bearer <api_key>. Dev-only example key (do not use in production): see repository README.
Authorization: Bearer <access_token>
POST /v1/oauth/token
Authorization: Bearer <api_key>
Supported locales
Show child attributes