# SMS API authentication | VeloBotix

> Authenticate to the VeloBotix SMS API with HTTP Basic Auth (email + API key) or GET query parameters un and up.

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

Docs

# Authentication

## HTTP Basic Auth (recommended for POST)

Username is your account email. Password is your API key. Send Authorization: Basic … (or use your HTTP client’s -u / auth helpers).

Use this with POST requests for SEND\_SINGLE, SEND\_BULK\_SAME, SEND\_BULK\_DIFFERENT, and CHECK\_BALANCE.

Field

Value

Username

your-email@domain.com

Password

YOUR\_API\_KEY

## GET with query credentials

For GET single send, pass with\_get=true plus un (email) and up (API key) in the query string along with FUN, senderID, to, and msg (or text).

```
curl "https://portal.velobotix.app/api.php?FUN=SEND_SINGLE&with_get=true&un=YOUR_EMAIL&up=YOUR_API_KEY&senderID=VeloBotix&to=0701234567&msg=Your+OTP+is+483920.+Valid+5+mins."
```

## Keep keys private

Do not commit API keys to source control. Prefer server-side calls for production traffic so keys are not exposed in browsers.

## FAQ

Is OAuth required?

No. The public customer API uses HTTP Basic Auth or GET un/up credentials.

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