---
title: "Test B2C rate limit handling"
method: POST
path: "/v1/debug/test-b2c"
tags: ["[v1] debug"]
---

# Test B2C rate limit handling

`POST /v1/debug/test-b2c`

DEBUG endpoint to compare old vs new B2C fetching logic. Remove before merging to production.

## Request body

- object
  - `userIds` string[], required
  - `useOld` boolean, required

## Response `200`

Success

- object
  - `count` number, float, required
  - `timeTakenMs` number, float, required
  - `status` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2026-03-04** `d5747e6b96ef` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nhs/apis/admin-api-nhs-innovation-service/changes/v1/debug/test-b2c/post.md)

---

[API](https://skmtc.dev/nhs/apis/admin-api-nhs-innovation-service.md) · [All operations](https://skmtc.dev/nhs/apis/admin-api-nhs-innovation-service/llms.txt) · [OpenAPI document](https://skmtc.dev/nhs/apis/admin-api-nhs-innovation-service/revisions/d5747e6b96ef?raw)
