---
title: "Recover pending referral credit grants"
method: POST
path: "/admin/referrals/recover"
tags: ["Referrals"]
---

# Recover pending referral credit grants

`POST /admin/referrals/recover`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/admin/referrals/recover`
- Auth: API key in header `x-api-key`

Retries referral rewards whose credits were not marked as granted. Billing grants are keyed so retries do not double-credit users.

## Query parameters

- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

Recovery summary

- ReferralsAdminReferralRecoveryResponseDoc
  - `attempted` integer
  - `errors` string[]
  - `recovered` integer

## Other responses

- `401`: Authentication required
- `403`: Admin plan required
- `500`: Internal server error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
