---
title: "Get habit goals achievements"
method: GET
path: "/api/v5/habits/habit-goals/achievements"
tags: ["Habit Goals"]
---

# Get habit goals achievements

`GET /api/v5/habits/habit-goals/achievements`

## Request

- Base URL: `https://api.pavlok.com`
- URL: `https://api.pavlok.com/api/v5/habits/habit-goals/achievements`
- Auth: API key in header `Authorization`

Get all the number of times the user completed his goal for each habit

## Response `200`

Successful Response

- ListOfAchievementInResponse
  - `achievements` Achievement[], required
    - `userHabitId` integer, required
    - `habitId` integer, required
    - `achievementsCount` integer, required
    - `name` string, required
    - `type` string, required
    - `unit` string, required
    - `iconUrl` string

---

[API](https://skmtc.dev/pavlok/apis/pavlok-api-v5.md) - [All operations](https://skmtc.dev/pavlok/apis/pavlok-api-v5/llms.txt) - [OpenAPI document](https://skmtc.dev/pavlok/apis/pavlok-api-v5/revisions/3d192098b1ac?raw)
