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
export SPLASHIFY_API_KEY="pk_live_..."Send an email
curl https://apis.splashifypro.com/api/v1/partner/email/send \
-H "Authorization: Bearer $SPLASHIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "hello@yourcompany.com",
"to": ["customer@example.com"],
"subject": "Welcome",
"html_body": "<h1>Welcome 👋</h1>",
"text_body": "Welcome."
}'Verify a domain
curl https://apis.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
curl https://apis.splashifypro.com/api/v1/partner/email/emails/$MESSAGE_ID \
-H "Authorization: Bearer $SPLASHIFY_API_KEY"Get send statistics
curl 'https://apis.splashifypro.com/api/v1/partner/email/stats?days=14' \
-H "Authorization: Bearer $SPLASHIFY_API_KEY"Pipe through jq to format:
curl ... | jq '.stats[] | {date: .day_bucket, sent: .send_count, bounced: .bounced_count}'