---
title: "Get all stamper campaigns"
method: GET
path: "/stamper-campaigns"
tags: ["Stamper"]
---

# Get all stamper campaigns

`GET /stamper-campaigns`

Get a list of stamper campaigns from the CareCloud platform.

## Query parameters

- `count` integer
- `offset` integer
- `sort_field` string
- `sort_direction` 'ASC' | 'DESC'
- `name` string
- `valid_from` string
- `valid_to` string
- `partner_id` string
- `is_valid` true | false

## Headers

- `Accept-Language` string

## Response `200`

OK

- object
  - `data` object
    - `stamper_campaigns` StamperCampaign[] — List of stamper campaigns.
      - `stamper_campaign_id` string — The unique ID of the stamper campaign.
      - `partner_id` string — The unique ID of the CareCloud partner. [GET /partners](https://carecloud.readme.io/reference/getpartners)
      - `name` string — Name of the stamper campaign. The translation is return depending on the language value in the HTTP request header `Accept-Language`.
      - `description` string — Description of the stamper campaign. The translation is return depending on the language value in the HTTP request header `Accept-Language`.
      - `stamp_count` integer — The amount of stamps on the stamp card.
      - `valid_from` string — Timestamp from which the stamper campaign is valid. Accepts the format `YYYY-MM-DD HH:MM:SS` or ISO-8601 format (`YYYY-MM-DDTHH:MM:SS`). All times must be in the local timezone.
      - `valid_to` string — Timestamp until which the stamper campaign is valid. Accepts the format `YYYY-MM-DD HH:MM:SS` or ISO-8601 format (`YYYY-MM-DDTHH:MM:SS`). All times must be in the local timezone.
      - `count_of_campaign_repetitions` integer — The number how many times can be campaign repeated. The number says how many stamper cards could be filled by customer in that campaign.
      - `stamper_conditions` StamperCondition[] — List of defined stamper conditions.
        - `stamper_condition_id` string — The unique ID of the stamper condition.
        - `description` string — Stamper condition description. The translation is return depending on the language value in the HTTP request header Accept-Language.
      - `stamper_bonus_checkpoints` StamperBonusCheckpoint[] — List of defined stamper checkpoints for bonuses.
        - `stamper_bonus_checkpoint_id` string — The unique ID of the stamper bonus checkpoint.
        - `description` string — Stamper bonus checkpoint description. The translation is return depending on the language value in the HTTP request header `Accept-Language`.
        - `stamp_number` integer — Number of stamp in the stamp card that unlock the bonus checkpoint.
      - `last_change` string — Date and time of the last change. *(YYYY-MM-DD HH:MM:SS)*
      - `state` 0 | 1 — State of the stamper campaign. *Possible values are: 0 - deleted / 1 - active*
    - `total_items` integer — The number of all found stamper campaigns.

## Other responses

- `400` — Bad input parameter. The response body's `error.error_data.invalid_params[]` array lists the parameters that caused the failure, each carrying a `reason` code. See the `BadRequestErrorBody` schema for the generic reason taxonomy. Operations with domain-specific business rules document additional reasons at the operation level.
- `401` — The client has invalid credentials or auth token.
- `403` — The client does not exist or the client tried to access an unauthorized property or resource.
- `404` — The resource was not found.
- `405` — The resource does not support the specified HTTP method.
- `429` — Too many requests - more than the resource limit.
- `500` — Server is not working as expected.
- `503` — Temporary state when the service is temporarily unavailable, overloaded or there is a maintenance window.

---

[API](https://skmtc.net/crmcarecloud/apis/rest-api-reference.md) · [All operations](https://skmtc.net/crmcarecloud/apis/rest-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crmcarecloud/rest-api-reference/revisions/329c06dbf8d9/schema)
