- Overview
- Authentication
- Libraries
- Methods
- Contacts
- Import file
- Bulk Import
- Contact import current status
- Contact import history
- Subscriptions
- Attributes
- Lists
- Subscribers
- Subscription forms
- Mails
- Drafts
- Send
- Sent
- Scheduled
- Auto-responder mails
- Templates
- HTML
- Block
- Auto-responders
- Profile
- Address
- Senders
- Reports
- Bounces
- Clicks
- Links
- Opens
- Opens aggregated
- Have not opened
- Most active customers
- Unsubscriptions
- Invoices
- Notifications
Overview
This guide will show you how easy it is to communicate with our new REST API. All endpoints have logical url's to make it as easy as possible for you to post and receive data.
URL structure
All API requests start with api.getanewsletter.com/. The next segment of the URI depends on the endpoint.
Limitations
It's great that you use our API but we have to set some limitations. The limit is set to 1000 requests per minute. When you reach the limit you will get an error message as following:
Status 429
X-Throttle-wait-Seconds: 43
{
"detail": "Request was throttled. Expected available in 43 seconds"
}
Meaning that you will have to wait 43 seconds before the next request can be made.
Json & XML
You can post and receive data with Json or XML. This option is available throughout the entire API.
Browse all the available options to the left.