Verify SPF and DKIM for your sending domain, then use from_ and domain_id on outbound messages.
Create a domain record for your workspace. The response includes DNS records to publish at your DNS host (TXT/CNAME as shown in the API response).
curl -sS -X POST "https://api.piisend.com/api/v1/domains" \
-H "Authorization: Bearer $PIISEND_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain": "mail.example.com"}'After DNS propagates, trigger verification from the API or dashboard. Status becomes verified when records match. Poll GET /domains/{id} until status is verified.
Pass from_ with an address on the verified domain. Optionally include domain_id from the domain object. Without verification, sends use the shared platform from address.
Payload fields: Sending.
Documentation
Quickstart, API reference, and webhooks—everything you need to send from your app.