---
title: "Grant First Call"
method: POST
path: "/grant_first_call"
tags: ["credit"]
---

# Grant First Call

`POST /grant_first_call`

## Request

- Base URL: `https://api.babyblueviper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.babyblueviper.com/grant_first_call`
- Auth: none required

Redeem a 'first call on us' grant token for the target api_key.

REAL BUG FOUND+FIXED (2026-09-01, real recipient hit it live -- a signed grant token
minted and posted to a collaborator returned {"detail":"Not Found"} on redemption):
this endpoint was only ever implemented on bridge.py (port 8081, internal-only, never
proxied by nginx's location / block which forwards everything to app.py on 8000). Every
other bridge-only endpoint actually reachable from the public API (/register,
/referral/info, /topup, /withdraw, etc.) has its own thin httpx-proxy route here in
routes/credit.py -- this one was simply missing, so a real, publicly-documented feature
(see routes/pages.py's quickstart copy, which has always described "redeem via
/grant_first_call") 404'd for every external caller since it was built. Same proxy
pattern as /register above: forward the status code, don't launder an upstream error
into a 200 (the exact class of bug 2026-07-30's /register fix already closed once).

## Request body

- GrantFirstCallRequest
  - `token` string, required
  - `target_api_key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/babyblueviper/apis/invinoveritas.md) - [All operations](https://skmtc.dev/babyblueviper/apis/invinoveritas/llms.txt) - [OpenAPI document](https://skmtc.dev/babyblueviper/apis/invinoveritas/revisions/8b07f40b15e9?raw)
