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

# Get all stamper cards

`GET /stamper-cards`

Get a list of stamper cards from the CareCloud platform.
⚠️ If no card is returned for active campaign, that means a customer did not collect any stamps yet, so card was not created. After he collects fist stamp, the card will be automatically generated.

## Query parameters

- `count` integer
- `offset` integer
- `sort_field` string
- `sort_direction` 'ASC' | 'DESC'
- `customer_id` string
- `stamper_campaign_id` string
- `state` 0 | 1
- `filled_up` string

## Headers

- `Accept-Language` string

## Response `200`

OK

- object
  - `data` object
    - `stamper_cards` StamperCard[] — List of stamper cards.
      - `stamper_card_id` string — The unique ID of the stamper card.
      - `stamper_campaign_id` string — The unique ID of the stamper campaign that the card is part of. The list of stamper campaign is available at [GET /stamper-campaigns](https://carecloud.readme.io/reference/getstampercampaigns)
      - `customer_id` string — The unique ID of the card holder. [GET /customers](https://carecloud.readme.io/reference/getcustomers)
      - `stamper_card_order` integer — An order of the stamper card in the stamper campaign. The stamper campaign can have multiple stamper cards and this parameter determine the order how they were used in the campaign.
      - `is_filled_up` boolean — If true, the card contain all stamps. If false, the card has still free spots for the stamp.
      - `stamps` StamperStamp[] — List of all stamps related to the card.
        - `stamp_id` string — The unique ID of the stamper stamp.
        - `customer_id` string — The unique ID of the stamper card holder. [GET /customers](https://carecloud.readme.io/reference/getcustomers)
        - `purchase_id` string — The unique ID of the purchase that triggered the stamp to be collected. [GET /purchases](https://carecloud.readme.io/reference/getpurchases)
        - `stamper_card_id` string — The unique ID of the stamper card. [GET /stamper-cards](https://carecloud.readme.io/reference/getstampercards)
        - `stamp_order` integer — An order of the stamp in the card. If null, the stamp is not assign to any stamper card.
        - `stamper_condition_id` string — The unique ID of the stamper condition. An information about condition is available at the stamper campaign that stamp is part of.
        - `created_at` string — Timestamp when the customer collected the stamp. 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.
        - `last_change` string — Date and time of the last change. *(YYYY-MM-DD HH:MM:SS)*
        - `state` 0 | 1 — State of the stamp. *Possible values are: 0 - deleted / 1 - active*
      - `created_at` string — Timestamp of the stamper card creation. Format: `YYYY-MM-DD HH:MM:SS`. All times are in the local timezone.
      - `last_change` string — Timestamp of the last change. Format: `YYYY-MM-DD HH:MM:SS`. All times are in the local timezone.
      - `state` 0 | 1 — State of the card. *Possible values are: 0 - blocked / 1 - active*
    - `total_items` integer — The number of all found stamper cards.

## 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)
