MailGun
Use the MailGun API to access the product's features, such as sending E-Mails, webhooks, Email Validation etc.
503 subscribers
4.2/10 popularity
130826 ms avg latency
54 endpoints
The in-depth APIMemo review for this API hasn't been published yet —
the data below comes straight from the public marketplace listing.
MailGun endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
addAddressToUnsubscribeTable /addAddressToUnsubscribeTable |
Add an address to the unsubscribe table. |
| POST |
addBounce /addBounce |
Add a bounce record to the bounce list. Updates the existing record if the address is already there. |
| POST |
addMemberToMailingList /addMemberToMailingList |
Adds a member to the mailing list. |
| POST |
addMultipleBounces /addMultipleBounces |
Add multiple bounce records to the bounce list in a single API call. |
| POST |
addSingleComplaint /addSingleComplaint |
Add an address to the complaints list. |
| POST |
createMailingList /createMailingList |
Creates a new mailing list. |
| POST |
createRoute /createRoute |
Creates a new route. |
| POST |
createWebhook /createWebhook |
Creates a new webhook. |
| POST |
deleteBounce /deleteBounce |
Clears a given bounce event. The delivery to the deleted email address resumes until it bounces again. |
| POST |
deleteBounceList /deleteBounceList |
Clears all bounced email addresses for a domain. Delivery to the deleted email addresses will no longer be suppressed. |
| POST |
deleteComplaint /deleteComplaint |
Remove a given spam complaint. |
| POST |
deleteMailingList /deleteMailingList |
Deletes a mailing list. |
| POST |
deleteMember /deleteMember |
Delete a mailing list member. |
| POST |
deleteRoute /deleteRoute |
Deletes a route based on the id. |
| POST |
deleteTag /deleteTag |
Deletes the tag. The statistics for the tag are not destroyed. |
| POST |
deleteUnsubscribeRecords /deleteUnsubscribeRecords |
Remove an address from the unsubscribes list. If tag parameter is not provided, completely removes an address from the list. |
| POST |
deleteWebhook /deleteWebhook |
Deletes an existing webhook. |
| POST |
getAcceptedMessages /getAcceptedMessages |
Returns accepted messages. |
| POST |
getAllBounces /getAllBounces |
Paginate over a list of bounces for a domain. |
| POST |
getAllComplaints /getAllComplaints |
Paginate over a list of complaints for a domain. |
| POST |
getAllMailingLists /getAllMailingLists |
Paginate over mailing lists under your account. |
| POST |
getAllRoutes /getAllRoutes |
Fetches the list of routes. Note that routes are defined globally, per account, not per domain as most of other API calls. |
| POST |
getAllStats /getAllStats |
Returns total stats for a given domain. |
| POST |
getAllTags /getAllTags |
Returns a list of tags for a domain. Provides with the pagination urls if the result set is to long to be returned in a single response. |
| POST |
getAllUnsubscribes /getAllUnsubscribes |
Paginate over a list of unsubscribes for a domain. |
| POST |
getAllWebhooks /getAllWebhooks |
Returns a list of webhooks set for the specified domain. |
| POST |
getClickedMessages /getClickedMessages |
Returns clicked messages. |
| POST |
getComplainedMessages /getComplainedMessages |
Returns complained messages. |
| POST |
getDeliveredMessages /getDeliveredMessages |
Returns delivered messages. |
| POST |
getEventStats /getEventStats |
Returns a list of event stats items. Each record represents counts for one event per one day. |
| POST |
getFailedMessages /getFailedMessages |
Returns failed messages. |
| POST |
getMailingListMembers /getMailingListMembers |
Paginate over list members in the given mailing list |
| POST |
getOpenedMessages /getOpenedMessages |
Returns opened messages. |
| POST |
getRejectedMessages /getRejectedMessages |
Returns rejected messages. |
| POST |
getSingleBounce /getSingleBounce |
Fetch a single bounce event by a given email address. Useful to check if a given email address has bounced before. |
| POST |
getSingleComplaint /getSingleComplaint |
Fetch a single spam complaint by a given email address. This is useful to check if a particular user has complained. |
| POST |
getSingleMailingList /getSingleMailingList |
Returns a single mailing list by a given address. |
| POST |
getSingleMailingListMember /getSingleMailingListMember |
Retrieves a mailing list member. |
| POST |
getSingleRoute /getSingleRoute |
Returns a single route object based on its ID. |
| POST |
getSingleTag /getSingleTag |
Returns info for a given tag. |
| POST |
getSingleUnsubscribeRecord /getSingleUnsubscribeRecord |
Fetch a single unsubscribe record. Can be used to check if a given address is present in the list of unsubscribed users. |
| POST |
getSingleWebhook /getSingleWebhook |
Returns details about a the webhook specified in the URL. |
| POST |
getStoredMessages /getStoredMessages |
Returns stored messages. |
| POST |
getTagStats /getTagStats |
Returns statistics for a given tag. |
| POST |
getUnsubscribedMessages /getUnsubscribedMessages |
Returns unsubscribed messages. |
| POST |
sendEmail /sendEmail |
Sends an email. |
| POST |
sendEmailMIME /sendEmailMIME |
Posts a message in MIME format. |
| POST |
updateMailingList /updateMailingList |
Update mailing list properties, such as address, description or name |
| POST |
updateMember /updateMember |
Updates a mailing list member with given properties. |
| POST |
updateRoute /updateRoute |
Updates a given route by ID. All parameters are optional: this API call only updates the specified fields leaving others unchanged. |
+ 4 more endpoints on the provider's documentation.
MailGun pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — | — |