---
title: "list all badges by page"
method: GET
path: "/answer/admin/api/badges"
tags: ["AdminBadge"]
---

# list all badges by page

`GET /answer/admin/api/badges`

list all badges by page

## Query parameters

- `page` integer
- `page_size` integer
- `status` '' | 'active' | 'inactive'
- `q` string

## Response `200`

OK

- object
  - `code` integer — http code
  - `data` SchemaGetBadgeListPagedResp[] — response data
    - `award_count` integer — badge award count
    - `description` string — badge description
    - `earned` boolean — badge earned count
    - `group_name` string — badge group name
    - `icon` string — badge icon
    - `id` string — badge id
    - `level` 1 | 2 | 3
    - `name` string — badge name
    - `status` 'active' | 'inactive'
  - `msg` string — response message
  - `reason` string — reason key

---

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