# OTP SMS via API | VeloBotix

> Send one-time passwords with SEND_SINGLE. Generate the OTP in your app; VeloBotix delivers the SMS.

Source: https://www.velobotix.app/docs/otp

Docs

# OTP SMS

## Pattern

Generate and store the OTP in your application. Call SEND\_SINGLE with a short message that includes the code and expiry hint.

Use an approved Sender ID so users recognise the brand.

## Example

POST SEND\_SINGLE with a typical OTP body:

```
curl -X POST \
  "https://portal.velobotix.app/api.php?FUN=SEND_SINGLE" \
  -u "YOUR_EMAIL:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "senderID": "VeloBotix",
    "to":       "0701234567",
    "msg":      "Your OTP is 483920. Valid for 5 minutes."
  }'
```

## Operational notes

Keep OTP generation, rate limiting of login attempts, and expiry logic in your own service.

Delivery receipts may be available depending on your plan — see Delivery reports.

## FAQ

Is there a dedicated OTP endpoint?

No separate OTP FUN. Use SEND\_SINGLE (or bulk helpers if you batch) and build OTP logic in your app.

## Create account

Sign up in the portal and get your API key — username is your email, password is the key.

[Open portal — get API key](https://portal.velobotix.app)
