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

# Returns all active objectives for the client.

`GET /v1/pvt/Objectives/active`

Purchase schedules are returned as standalone objective items when they are active and still valid.
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.

## Query parameters

- `CustomerId` string, nullable
- `PageNumber` integer
- `PageSize` integer

## Response `200`

Paginated list of active objectives and active 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/070a57eeffdc/schema)
