# KA BOT API > HTTP API for redeeming PUBG Mobile UC codes onto a player ID, called from a merchant's own bot or backend. One write endpoint (`POST /v1/redeem`, mandatory `Idempotency-Key`) plus free read endpoints. Base URL `https://api.kabotapi.com`, auth `Authorization: Bearer pk_…`. To integrate, read the full spec first — it is one self-contained Markdown file with every endpoint, status code, error code and rule. ## Spec - [Complete integration spec](https://ka-bot-docs.pages.dev/llms-full.txt): base URL, auth, all endpoints with request/response shapes, per-code status and disposition, errors with retry rules, idempotency, async jobs, webhooks, billing, reference client, checklist ## Docs - [Start here](https://ka-bot-docs.pages.dev/): authentication, scopes, plan vs free credit, first request - [Redeem](https://ka-bot-docs.pages.dev/redeem): `POST /v1/redeem`, idempotency, code sources A/B, `status` and `disposition`, async jobs, code examples - [Errors](https://ka-bot-docs.pages.dev/errors): error body, every `error_code` with HTTP status, retry rule and customer copy - [Webhooks](https://ka-bot-docs.pages.dev/webhooks): register, events, `KA-Signature` HMAC-SHA256 verification - [Limits](https://ka-bot-docs.pages.dev/limits): outcome billing and refunds, quota headers, free credit, plans, 30 requests / 10 s ## Optional - [Use with AI](https://ka-bot-docs.pages.dev/ai): how to hand these docs to an AI agent