> ## Documentation Index
> Fetch the complete documentation index at: https://docs.robase.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For chatbots and coding agents, start at /guides/ai-agents.
> Hosted MCP: POST https://api.robase.dev/mcp (Streamable HTTP). Auth: Authorization: Bearer robe_… or robe_agent_….
> Phase 1 tools: get_pricing, send_otp, verify_otp, get_otp, send_sms, get_sms. No payment or top-up tools.
> Call get_pricing; treat listed:true as marketed markets (NG, GH, KE, ZA, GB, BJ, CI, US). Do not invent countries or delivery percentages.
> Prefer OTP-shaped tests such as "Your Robase test OTP is 123456". Do not send Hello or Good morning as tests. Match errors on error.type.

# JavaScript / TypeScript SDK

> @robasedev/sdk — Node 20+, Deno, Bun, and edge runtimes. Zero dependencies.

```bash theme={null}
npm install @robasedev/sdk
```

```ts theme={null}
import { Robase } from "@robasedev/sdk";

const robase = new Robase({ apiKey: process.env.ROBASE_API_KEY });

const sent = await robase.otp.send({ phone_number: "+2348012345678" });
const result = await robase.otp.verify({ otp_id: sent.id, code: "123456" });

await robase.sms.send({
  phone_number: "+2348012345678",
  message: "Your order #12345 has shipped.",
});
```

* npm: [npmjs.com/package/@robasedev/sdk](https://www.npmjs.com/package/@robasedev/sdk)
* Source: [github.com/mantissatech/robase-sdk-js](https://github.com/mantissatech/robase-sdk-js)

ESM and CommonJS with types. Pass `baseUrl` only for local development (`http://localhost:8080`).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.