Developers

Add voice, SMS, WhatsApp and email to your application

REST APIs with API-key authentication, JSON requests and signed webhooks. Every endpoint is documented in the API reference.

Getting started

  1. Open an accountOur team sets up your portal account and confirms channels and countries.
  2. Get an API keyYour main key is under Profile in the portal. Create keys with a limited scope under System → API Keys.
  3. Send your first requestPost JSON to https://portal.par-infinity.com/api/v1 with the key in the Authorization header.
  4. Verify webhooksCheck the X-Signature-SHA256 header on every payload before you act on it.

Example: send an OTP by SMS

Put #OTP6# (or #OTP4#) in the message and the platform inserts a 6 or 4 digit code.

Replace the API key, sender ID and bind_name with the values for your account. For India domestic traffic, add the DLT fields pe_id and template_id.

SMS API reference
curl -X POST 'https://portal.par-infinity.com/api/v1/sms/send/' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "from": "MyBrand",
    "to": "14155550123",
    "message": "Your code is #OTP6#",
    "bind_name": "YOUR_BIND_NAME"
  }'

Good practice

  • Store API keys in environment variables or a secrets manager.
  • Use the message ID in each response to match delivery updates to your records.
  • Watch the X-RateLimit-Remaining header and back off when you receive a 429.
  • Make webhook handlers idempotent; the same update may arrive more than once.
  • Respect local sender ID, template and opt-in rules for each destination.

Need help integrating?

Tell us about your stack and volumes and an engineer will help you plan the integration.

Contact technical sales

Tell us what you need to call, automate or send

Share your channels, countries and volumes. We will confirm what is available and how to integrate it.