Build and deliverability
Command line
What the isent CLI will do, and how to script the same tasks with the API today.
Coming soon
The isent command line tool is not released yet. This page will cover installing it and every command when it ships.
Until then, everything it will do is one HTTP call away. Set ISENT_API_KEY in your shell and use cURL, or any language from Languages and SDKs.
Send an email
curl -X POST https://isent.dev/api/v1/emails \
-H "Authorization: Bearer $ISENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "hello@mail.acme.com",
"to": "amira@acme.com",
"subject": "Hi",
"text": "Sent from a script."
}'Add a domain
curl -X POST https://isent.dev/api/v1/domains \
-H "Authorization: Bearer $ISENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "mail.acme.com",
"region": "us-east-1"
}'Check a domain's DNS now
curl -X POST https://isent.dev/api/v1/domains/{id}/verify \
-H "Authorization: Bearer $ISENT_API_KEY"List API keys
curl -X GET https://isent.dev/api/v1/api-keys \
-H "Authorization: Bearer $ISENT_API_KEY"List the latest emails
curl -X GET https://isent.dev/api/v1/emails?limit=20 \
-H "Authorization: Bearer $ISENT_API_KEY"Publish a template
curl -X POST https://isent.dev/api/v1/templates/{id}/publish \
-H "Authorization: Bearer $ISENT_API_KEY"