Skip to main content
Official libraries handle authentication headers, retries, idempotency keys, and pagination for you.

Node.js

npm install pulsewave

Python

pip install pulsewave

Node.js

import Pulsewave from 'pulsewave';

const pulsewave = new Pulsewave(process.env.PULSEWAVE_API_KEY);

const message = await pulsewave.messages.send({
  channel: 'email',
  to: 'ada@example.com',
  from: 'billing@notifications.acme.com',
  template_id: 'tmpl_8f3e2a',
  template_data: { invoice_number: 'INV-1042', amount_due: '$84.00' },
});

console.log(message.id, message.status);

Python

from pulsewave import Pulsewave

pulsewave = Pulsewave(api_key=os.environ["PULSEWAVE_API_KEY"])

message = pulsewave.messages.send(
    channel="sms",
    to="+15555550123",
    from_="+15555550100",
    text="Your Pulsewave verification code is 482913.",
)

print(message.id, message.status)

cURL

Every endpoint in this reference includes a runnable cURL example — see Send a message to try one.

No SDK for your language?

The API is plain REST over HTTPS with JSON bodies, so any HTTP client works. Start from the API reference and the authentication guide.