Skip to main content
GET
/
v1
/
dev
/
user
/
goals
/
{goal_id}
/
history
Get Goal History
curl --request GET \
  --url https://api.omi.me/v1/dev/user/goals/{goal_id}/history \
  --header 'Authorization: Bearer <token>'
[
  {}
]

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <omi_developer_api_key>.

Path Parameters

goal_id
string
required

Query Parameters

days
integer
default:30
Required range: 1 <= x <= 365

Response

Successful Response