---
title: "Returns all objectives for the client, including active and inactive objectives."
method: GET
path: "/v1/pvt/Objectives/all"
tags: ["Objectives"]
---

# Returns all objectives for the client, including active and inactive objectives.

`GET /v1/pvt/Objectives/all`

Purchase schedules are returned as standalone objective items, including inactive and expired schedules.
Schedule items have IsSchedule set to true, ScheduleId set to the schedule identifier, and ObjectiveId
set to the parent purchase objective identifier. For regular objectives, IsSchedule is false and
ScheduleId and ObjectiveId are null.

## Response `200`

Paginated list of all objectives and all purchase schedules.

- BaseExternalApiListResponseOfGetObjectivesResponse — Base List response model methods
  - `Items` object[], nullable — Collection with the found entities on the bonifiq DB.
    - `Title` string — Title of the Objective
    - `Description` string — Description of the Objective
    - `AmountOfPoints` number — The amount of points the customer will receive on objective completion.
    - `Active` boolean — If true, the objective is active and can be used to give rewards to customers.
    - `Details` unknown
    - `Id` integer
    - `Type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 — 0 = Purchase 1 = Signup 2 = Birthday 3 = Review 4 = Referral 5 = SocialMediaFollowInstagram 6 = SocialMediaFollowFacebook 7 = Quiz 8 = Custom 9 = SocialMediaFollowLinkedin 10 = SocialMediaFollowTikTok 11 = Participation 12 = Fitness
    - `IsSchedule` boolean
    - `ScheduleId` integer, nullable
    - `ObjectiveId` integer, nullable
  - `TotalItemCount` integer — Total of rewards Configurations founds.
  - `PageSize` integer — Pagination size
  - `PageNumber` integer — Actual Page Number
  - `HasNextPage` boolean — true if there is another page to be load.
  - `HasError` boolean — If true the request had an error.
  - `ErrorMessages` string[] — List with the error messages

---

[API](https://skmtc.net/bonifiq/apis/bonifiq-private-apis.md) · [All operations](https://skmtc.net/bonifiq/apis/bonifiq-private-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bonifiq/bonifiq-private-apis/revisions/fafbe5673edc/schema)
