Get your API token
- Sign up or log in at app.pindo.io
- Go to Account → Security settings
- Copy your API token
Store your token in a
.env file as PINDO_API_TOKEN=your_token_here and load it with
dotenv. Never hard-code tokens in source files.Send your first SMS
Call The
sendSMS with a payload containing to, text, and sender:SMSPayload fields are:| Field | Type | Description |
|---|---|---|
to | string | Recipient phone number in E.164 format, e.g. +250781234567 |
text | string | Message body |
sender | string | Sender ID displayed to the recipient |