---
title: "Refresh attached roster snapshots"
method: POST
path: "/v2/roster/refresh-batch"
tags: ["Roster Builder"]
---

# Refresh attached roster snapshots

`POST /v2/roster/refresh-batch`

## Request

- Base URL: `https://api.clashk.ing`
- URL: `https://api.clashk.ing/v2/roster/refresh-batch`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Request body

- object
  - `serverId` string, required: Discord snowflake as an unsigned decimal string
  - `rosterIds` string[], required
  - `fields` string[]

## Response `200`

Success

- object
  - `rosters` object[], required
    - `rosterId` string, required
    - `status` 'completed' | 'reused' | 'waiting', required
    - `message` string
    - `refreshedPlayers` union
      - number
      - 'NaN'
      - 'Infinity'
      - '-Infinity'
    - `failedPlayers` union
      - number
      - 'NaN'
      - 'Infinity'
      - '-Infinity'
    - `refreshedAt` string

## Other responses

- `400`: Expected error
- `401`: Expected error
- `403`: Expected error
- `404`: Expected error
- `409`: Expected error
- `413`: Expected error
- `429`: Expected error
- `503`: Expected error

## Changes

- **2026-09-09** `9ec0debedfc6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clashk/apis/clashking-api/changes/v2/roster/refresh-batch/post.md)

---

[API](https://skmtc.dev/clashk/apis/clashking-api.md) - [All operations](https://skmtc.dev/clashk/apis/clashking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clashk/apis/clashking-api/revisions/8411b4ef8009?raw)
