PSend

API reference

Introduction

PSend is the email API for developers. Authenticate with an API key, send transactional or marketing mail, and manage audiences, templates, and teams — the same resources as the customer dashboard.

Base URL

https://api.runpsend.com

Authentication

Include your API key on every authenticated request. Live keys start with ps_live_; test keys with ps_test_. Dashboard session tokens are also accepted as Bearer credentials.

Authorization: Bearer ps_live_...
Content-Type: application/json

Idempotency

Pass an optional Idempotency-Key header on Send Email to prevent duplicate delivery. Keys expire after 24 hours.

Quick start

Send your first email in one request:

curl -X POST 'https://api.runpsend.com/v1/emails' \
  -H 'Authorization: Bearer ps_live_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "from": "Acme <[email protected]>",
    "to": ["[email protected]"],
    "subject": "Hello from PSend",
    "html": "<p>It works.</p>"
  }'

Then explore the full reference — each endpoint documents path, query, and body parameters with typed fields, multi-language examples, and response payloads (similar to Resend’s API reference).

Browse endpoints