Skip to content
Splashify Pro
Email docsEmail

cURL Quickstart

The fastest way to test an integration. Every endpoint can be hit directly with cURL โ€” useful for debugging, scripts, and CI smoke tests.

Set your API key

bash
export SPLASHIFY_API_KEY="pk_live_..."

Send an email

bash
curl https://api.splashifypro.com/api/v1/partner/email/send \
  -H "Authorization: Bearer $SPLASHIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": ["[email protected]"],
    "subject": "Welcome",
    "html_body": "<h1>Welcome ๐Ÿ‘‹</h1>",
    "text_body": "Welcome."
  }'

Verify a domain

bash
curl https://api.splashifypro.com/api/v1/partner/email/identities \
  -H "Authorization: Bearer $SPLASHIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"identity_type": "DOMAIN", "identity_value": "yourcompany.com"}'

Check delivery status

bash
curl https://api.splashifypro.com/api/v1/partner/email/emails/$MESSAGE_ID \
  -H "Authorization: Bearer $SPLASHIFY_API_KEY"

Get send statistics

bash
curl 'https://api.splashifypro.com/api/v1/partner/email/stats?days=14' \
  -H "Authorization: Bearer $SPLASHIFY_API_KEY"

Pipe through jq to format:

bash
curl ... | jq '.stats[] | {date: .day_bucket, sent: .send_count, bounced: .bounced_count}'