API v2: Habitify API V2 key returns 401 on /journal and /v2/journal returns 404
I generated a new Habitify API V2 key from the mobile app on May 8, 2026.
I tested the API as follows:
GET https://api.habitify.me/journal?target_date=2026-05-08&order_by=priority Header: Authorization: <raw key> Result: 401
GET https://api.habitify.me/journal?target_date=2026-05-08&order_by=priority Header: Authorization: Bearer <raw key> Result: 401
GET https://api.habitify.me/v2/journal?target_date=2026-05-08&order_by=priority Result: 404
Your help article says V2 keys must use the new documentation, but I cannot find a working REST endpoint and auth header format for fetching today's completed habits.
Could you please provide:
the exact endpoint
the exact auth header format
a minimal curl example for API V2
Comments4
Minh Thư
May 28
Hi!
For the authentication of current version of Habitify API, here the example request:
Minh Thư
May 8
Hi!
For the authorization, please check out docs for API V2 here:
https://api-docs.habitify.me/api.
If you still have questions, please let us know.
onody1984
May 9
Thanks. I checked the docs you shared.
According to your public documentation:
Authentication says requests should use the Authorization header with the API key https://docs.habitify.me/authentication
Journal says the endpoint is: GET https://api.habitify.me/journal https://docs.habitify.me/core-resources/journal
So I tested exactly this:
curl "https://api.habitify.me/journal?target_date=2026-05-08&order_by=priority"
-H "Authorization: <API_KEY>"
Result: HTTP 401
I also tested:
Authorization: Bearer <API_KEY> -> HTTP 401
https://api.habitify.me/v2/journal -> HTTP 404
So the issue I facce at the moment is that the public docs and the actual API behavior do not match.
Could you please provide:
the exact working endpoint for Journal in API V2
the exact required Authorization header format
a minimal working curl example
Appreciate for your support.
Minh Thư
May 18
Hi!
The documentation links you mentioned seem to be the old doc of API V1.
Now the Habitify API is upgraded to V2 with the docs at
https://api-docs.habitify.me/api#description/introduction
For the authentication, please check it here:
https://api-docs.habitify.me/api#description/authentication
For the Journal GET, please check it here:
https://api-docs.habitify.me/api#tag/habits/GET/habits/journal
Please try again!