> ## 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.

# Go SDK

> github.com/mantissatech/robase-sdk-go — standard library only, safe for concurrent use.

```bash theme={null}
go get github.com/mantissatech/robase-sdk-go
```

```go theme={null}
import robase "github.com/mantissatech/robase-sdk-go"

client, err := robase.New(os.Getenv("ROBASE_API_KEY"))

sent, err := client.OTP.Send(ctx, robase.SendOTPParams{
    PhoneNumber: "+2348012345678",
})
result, err := client.OTP.Verify(ctx, robase.VerifyOTPParams{
    OTPID: sent.ID,
    Code:  "123456",
})

msg, err := client.SMS.Send(ctx, robase.SendSMSParams{
    PhoneNumber: "+2348012345678",
    Message:     "Your order #12345 has shipped.",
})
```

* pkg.go.dev: [github.com/mantissatech/robase-sdk-go](https://pkg.go.dev/github.com/mantissatech/robase-sdk-go)
* Source: [github.com/mantissatech/robase-sdk-go](https://github.com/mantissatech/robase-sdk-go)


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