IndiePitcher REST API allows you to send emails, manage your contacts, and generate portal session to manage user’s contact lists.
Please note that most destructive operations are currently not supported through the REST API for sesucurity reasons. Please use the IndiePitcher dashboard.
Do not expose the API key and make calls to our API from your frontend code. You risk your API key being exploited by spammers and us having to reset/disable your API key. We also have CORS security rules in place.
Rate limits are applied to all requests to the IndiePitcher API. The rate limits are as follows:
10 requests per second across API keys tied to a project.
After reaching the rate limit, you will receive a 429 Too Many Requests response. The rate limit will reset after 1 second. We recommend using endpoints that support batch operations to reduce the number of requests made.
curl --request POST \ --url https://api.indiepitcher.com/v1/email/transactional \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "to": "petr@indiepitcher.com", "subject": "You have been invited to IndiePitcher", "body": "This is a sample body that supports **markdown**. Plain html is also supported.", "bodyFormat": "markdown" }'