{"id":"ceac6086-8750-4e27-9a59-a6c0639e46a9","name":"Mailgun API","description":"Introduction\n=======\n\nThe Mailgun API is built on HTTP. Our API is RESTful and it:\n\n* Uses predictable, resource-oriented URLs.\n* Uses built-in HTTP capabilities for passing parameters and authentication.\n* Responds with standard HTTP response codes to indicate errors.\n* Returns JSON.\n\nMailgun has published [Libraries](https://documentation.mailgun.com/en/latest/libraries.html#libraries) for various languages. You may use our libraries, or your favorite HTTP/REST library available for your programming language, to make HTTP calls to Mailgun. Visit our Libraries page to see HTTP REST libraries we recommend.\n\nTo give you an idea of how to use the API, we have annotated our documentation with code samples written in several popular programming languages. Use the language selector at the top to switch between them.\n\nOur samples from [quickstart](https://documentation.mailgun.com/en/latest/quickstart.html), [User Manual](https://documentation.mailgun.com/en/latest/user_manual.html#user-manual), and [API Reference](https://documentation.mailgun.com/en/latest/api_reference.html#api-reference) provide examples that will function. You’re welcome to copy/paste and run the script to see the API in action.\n\n## Base URL\n\nAll API URLs referenced in this documentation start with the following base part:\n> https://api.mailgun.net/v3\n\nYour Mailgun account may contain several email domains. To avoid passing the domain name as a query parameter, most API URLs must include the name of the domain you’re interested in:\n> https://api.mailgun.net/v3/mydomain.com\n\n## Authentication\n\nWhen you sign up for an account, you are given an API key. You authenticate to the Mailgun API by providing your API key in the request. You can manage your API key in the “Security” tab under the Account section of the Control Panel.\n\nAuthentication to the API occurs via [HTTP Basic Auth](http://en.wikipedia.org/wiki/Basic_access_authentication). Use `api` as the user name and your API key is the password. Here is how you use basic HTTP auth with curl:\n> curl --user 'api:key-3ax6xnjp29jd6fds4gc373sgvjxteol0'\n\nOr you can try the following API call right from your browser:\n> https://api:key-3ax6xnjp29jd6fds4gc373sgvjxteol0@api.mailgun.net/v3/samples.mailgun.org/log\n\n**Warning:** Keep your API key secret!\n\n## Date Format\n\nMailgun returns JSON for all API calls. JSON does not have a built-in date type, dates are passed as strings encoded according to [RFC 2822#page-14](https://tools.ietf.org/html/rfc2822.html#page-14). This format is native to JavaScript and is also supported by most programming languages out of the box:\n\n> 'Thu, 13 Oct 2011 18:02:00 GMT'\n\n## Errors\n\n| Code               | Description                                               |\n|--------------------|-----------------------------------------------------------|\n| 200                | Everything worked as expected                             |\n| 400                | Bad Request - Often missing a required parameter          |\n| 401                | Unauthorized - No valid API key provided                  |\n| 402                | Request Failed - Parameters were valid but request failed |\n| 404                | Not Found - The requested item doesn’t exist              |\n| 500, 502, 503, 504 | Server Errors - something is wrong on Mailgun’s end       |\n\n## Webhooks\n\nMailgun can also POST data to your application when events (opens, clicks, bounces, etc.) occur or when you use Routes. You can read more about webhooks and [Routes](https://documentation.mailgun.com/en/latest/user_manual.html#um-routes) in the [User Manual](https://documentation.mailgun.com/en/latest/user_manual.html#user-manual).\n\n## Mailgun Regions\n\nUsing a single account and billing plan, you can choose to provision new sending domains in the EU environment. Message data never leaves the region in which it is processed. Only a limited amount of account data is replicated globally, giving you a single account from which to manage domains in both the US and the EU. Here are the specifics on the type of data that is replicated globally versus what is region-bound.\n\n| Global                                                                                                  | Region-Bound (US / EU)                                                                                                             |\n|---------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| Account Information, User Accounts, Billing Details (invoices/plan information), API Keys, Domain Names | Domain Metadata (e.g. SMTP credentials), Messages, Event Logs, Suppressions, Mailing Lists, Tags, Statistics, Routes, IP Addresses |\n\nThe endpoints you will use for sending/receiving/tracking messages in the EU are below:\n\n| Service                      | US Endpoint      | EU Endpoint         |\n|------------------------------|------------------|---------------------|\n| REST API                     | api.mailgun.net  | api.eu.mailgun.net  |\n| Outgoing SMTP Server         | smtp.mailgun.org | smtp.eu.mailgun.org |\n| Inbound SMTP Server (Routes) | mxa.mailgun.org  | mxa.eu.mailgun.org  |\n| Inbound SMTP Server (Routes) | mxb.mailgun.org  | mxb.eu.mailgun.org  |\n| Open/Click Tracking Endpoint | mailgun.org      | eu.mailgun.org      |","auth":null,"events":[{"listen":"prerequest","script":{"id":"b33d1c8a-fb77-40e1-95da-d50899317095","type":"text/javascript","exec":["var key = postman.getEnvironmentVariable(\"API_KEY\");","var credentials = \"api\" + \":\" + key;","var credsArray = CryptoJS.enc.Utf8.parse(credentials);","var base64 = CryptoJS.enc.Base64.stringify(credsArray);","postman.setEnvironmentVariable(\"token\", base64);"]}},{"listen":"test","script":{"id":"1ddfd34f-3d60-4b8f-a429-ae2880633145","type":"text/javascript","exec":[""]}}],"variables":[],"order":[],"folders_order":["3c97e675-6980-446a-8bab-9e54e029702b","e11ca440-53da-4e79-b1bb-572ba84fdd81","dbfb4048-3866-4b5f-823a-a6484bf9ccf2","b6df1a28-595a-4b9b-83d2-34f5c01498b3","0fd17b2c-43f6-4609-a87a-6e3eb3d0ee95","fb36a802-196b-4e7e-91cc-ea92d145abfc","9036f417-4646-4c4b-870c-dbd3e6c54fd8","d7def638-3bd7-4205-9e82-221423c633a4","e987585e-db08-4395-b9d1-a7dacadc52f4","7ff5404f-8997-454e-b5e0-5ece7638b051","b6277b55-2613-471b-b00f-eb88f6bc4025","0e60808d-614d-4cb4-b241-74e53bddbc7d"],"folders":[{"id":"c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f","name":"Bounces","description":null,"auth":null,"events":null,"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":"9036f417-4646-4c4b-870c-dbd3e6c54fd8","order":["e2ad7ed5-21b4-4c50-9c15-9d102cceef66","6e9c6a54-8852-41df-b8d4-766820a91e56","e25a995c-d75e-4e79-b756-97b16db4a074","f3859f15-7924-4558-9c58-327231892e13","52669215-af9a-4759-822d-fa64c9c4f1a5","bdfd17d1-f97b-4c38-b060-1c7bdf6c982b"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f"},{"id":"94b451a0-5d80-46e2-9c0d-bd97a8a4f969","name":"Bulk Validation (v4)","description":"","auth":null,"events":[{"listen":"prerequest","script":{"id":"7e20fb05-e13c-41a3-a2a0-651020fd978f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fe4e2218-4a0e-44c8-8abd-77f3dd58abd6","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":"b6277b55-2613-471b-b00f-eb88f6bc4025","order":["16ae3145-d0da-4bbd-80a5-048e6227a400","4cade955-ab9b-4676-b163-b226903120d9","a6497b30-b657-4b41-a0e4-75981fb0c2ea","f4ad555e-42fb-4844-ae65-3f9ee78586c0"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"94b451a0-5d80-46e2-9c0d-bd97a8a4f969"},{"id":"c9eaa5eb-f3f9-4051-9bc5-40b6ec20e626","name":"Complaints","description":null,"auth":null,"events":null,"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":"9036f417-4646-4c4b-870c-dbd3e6c54fd8","order":["3b293942-5c81-4109-9a65-bdc992d2f349","a43f267e-67f1-407d-96a4-054007c680b8","572d7a12-63df-49d3-9149-fe7fc5d625be","fcd3ef92-3e3b-437e-a97f-e6ffedf7b8cd","ef75baa5-33e1-4352-8ed7-8384c6d9765b"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"c9eaa5eb-f3f9-4051-9bc5-40b6ec20e626"},{"id":"e11ca440-53da-4e79-b1bb-572ba84fdd81","name":"Domains","description":"This API allows you to create, access, and validate domains programmatically.","auth":null,"events":[{"listen":"prerequest","script":{"id":"bd17c91a-4892-42d6-9bc7-e1a5d4b2e93e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3bb4d256-7796-4e7e-a899-95ca236fc95a","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["497ebf83-e3d0-4f6b-896c-c4cae56b590d","1bcfb580-ad62-4598-ab6f-b7b6ebc6ee5d","1e527620-9e39-418d-8375-6e96e7029f0b","2cd349f6-9798-4de2-b6ae-2c17f536303f","083b3159-fee3-4286-b31a-392aadd0a5e0","a7f2cf78-aad7-42eb-b3ba-eab230311dcd","3c72b27d-0fae-4303-a763-4efabf7b8704","8dcbc929-ad9c-4798-9f8a-3bec958f6a89","19ab9d04-1331-473c-8d2a-2e6a20a7a011","6ff3edc7-a1a0-4a21-88c8-1d0a8ad5a9dc","e73db9e9-e81a-40aa-9f9b-d954701cf61b","f690d98e-0ade-4f29-b545-ae37c69fe14d","574a4858-fc21-45c3-86e0-f93163129f10","113d6bde-8eaf-4d06-b651-0335fd707c72","d6822e4d-8f30-4673-8459-3fe938169a36","99c28905-b382-4af1-9361-48303251a4aa","c116143a-c80a-45c7-8923-98c986e02fe2"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"e11ca440-53da-4e79-b1bb-572ba84fdd81"},{"id":"b6277b55-2613-471b-b00f-eb88f6bc4025","name":"Email Validation","description":null,"auth":null,"events":[{"listen":"prerequest","script":{"id":"eef2d77d-4f7b-4fea-b561-fbd09d84c359","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3f7ccea9-ae01-4fe9-aae4-dfc323274408","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":[],"folders_order":["20183f6a-17b4-4455-9cb1-26d476936fa1","3d3a1c68-6a17-47cc-8913-355856031e4e","94b451a0-5d80-46e2-9c0d-bd97a8a4f969"],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"b6277b55-2613-471b-b00f-eb88f6bc4025"},{"id":"b6df1a28-595a-4b9b-83d2-34f5c01498b3","name":"Events","description":"Mailgun tracks every event that happens to your emails and makes this data available to you through the Events API. Mailgun retains this detailed data for two days for free accounts and 30 days for paid accounts. You can query the data and traverse through the result pages as explained below.\n\nA request should define a time range and can specify a set of filters to apply. In response, a page of events is returned along with URLs that can be used to retrieve the next and previous result pages. To traverse the entire range, you should keep requesting the next page URLs returned along with result pages until an empty result page is reached.\n\nBoth next and previous page URLs are always returned, even when retrieving one of them makes no sense. There are two such cases: previous page URL for the first result page, and next page URL for the last result page; requesting these URLs always returns an empty result page.\n\n## Viewing Stored Messages\n\nTo access the contents of the stored messages, copy the API URL of the message into a browser. The API URL can be found in the expanded log entry under the “storage” section. For the username, enter “api” and provide an API key for the password in order to view the parsed message.\n\nTo view the raw MIME, the message’s Mailgun storage key will be needed. Run the following python script with the storage key as a parameter. The script will retrieve the message from Mailgun. In the script the message is saved to “message.eml”, which can then be opened in Mozilla Thunderbird for analysis.\n\n## Time Range\n\nThe request time range should be given by a beginning timestamp and either an end timestamp or a search direction. If an end timestamp is not given, a search direction must be provided.\n\nIf the range end timestamp is provided then the relation between the beginning and the end timestamps determines the direction - ascending or descending - in which events are going to be traversed. E.g. if the end timestamp is less (older) than the beginning timestamp, then result pages are returned from newer to older and events on the pages are sorted in the descending order of their timestamps.\n\nIf the end timestamp is not provided, the direction must be specified. Depending on the range direction, the result page traversal behaves differently:\n\n* If the range is descending then the end timestamp is determined by the user tariff plan retention period.\n* If the range is ascending then events will continue to be recorded but will not show in the current request time range pages that are provided. So after the most recent events have been retrieved and an empty result page has been reached, then requesting next page URL returned with the last page some time later will return events that occurred since then. And this can go on indefinitely.\n\n> **Warning**:  Even though it seems that real-time event polling can be implemented by traversing next URLs of an ascending time range that has no explicit end timestamp, it is not that simple! Please refer to [Event Polling](https://documentation.mailgun.com/en/latest/api-events.html#event-polling) for the proper way to do it.\n\nIf both the end range date and the direction of the search are specified then they should agree with each other, otherwise the request will return an error.\n\n## Event Polling\n\nIn our system, events are generated by physical hosts and follow different routes to the event storage. Therefore, the order in which they appear in the storage and become retrievable - via the events API - does not always correspond to the order in which they occur. Consequently, this system behavior makes straight forward implementation of event polling miss some events. The page of most recent events returned by the events API may not contain all the events that occurred at that time because some of them could still be on their way to the storage engine. When the events arrive and are eventually indexed, they are inserted into the already retrieved pages which could result in the event being missed if the pages are accessed too early (i.e. before all events for the page are available).\n\nTo ensure that all your events are retrieved and accounted for please implement polling the following way:\n1. Make a request to the events API specifying an ascending time range that begins some time in the past (e.g. half an hour ago);\n2. Retrieve a result page;\n3. Check the timestamp of the last event on the result page. If it is older than some threshold age (e.g. half an hour) then go to step (4), otherwise proceed with step (6);\n4. The result page is trustworthy, use events from the page as you please;\n5. Make a request using the next page URL retrieved with the result page, proceed with step (2);\n6. Discard the result page for it is not trustworthy;\n7. Pause for some time (at least 15 seconds);\n8. Repeat the previous request, and proceed with step (2).\n\n## Query Options\n\n| Parameter | Description                                                                                                                                                                                                                                                                     |\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| begin     | The beginning of the search time range. It can be specified as a string (see [Date Format](https://documentation.mailgun.com/en/latest/api-intro.html#date-format) or linux epoch seconds. Refer to [Time Range](https://documentation.mailgun.com/en/latest/api-events.html#time-range) for details.                                                                                                                              |\n| end       | The end of the search time range. It can be specified as a string (see [Date Format](https://documentation.mailgun.com/en/latest/api-intro.html#date-format) or linux epoch seconds. Refer to [Time Range](https://documentation.mailgun.com/en/latest/api-events.html#time-range) for details.                                                                                                                                    |\n| ascending | Defines the direction of the search time range and must be provided if the range end time is not specified. Can be either `yes` or `no`. Refer to [Time Range](https://documentation.mailgun.com/en/latest/api-events.html#time-range) for details.                                                                                                           |\n| limit     | Number of entries to return. (300 max)                                                                                                                                                                                                                                          |\n| <field>   | <field> is the name of the [Filter Field](https://documentation.mailgun.com/en/latest/api-events.html#filter-field). The value of the parameter should be a valid [Filter Expression](https://documentation.mailgun.com/en/latest/api-events.html#filter-expression). Several field filters can be specified in one request. If the same field is mentioned, more then once, then all its filter expressions are combined with AND operator. |\n\n\n## Filter Field\n\nLog records can be filtered by the following fields:\n\n| Fields     | Description                                                                                                                                                                                          |\n|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| event      | An event type. For a complete list of all events written to the log see the [Event Types](https://documentation.mailgun.com/en/latest/api-events.html#event-types) table below.                                                                                                 |\n| list       | The email address of a mailing list the message was originally sent to.                                                                                                                              |\n| attachment | A name of an attached file.                                                                                                                                                                          |\n| from       | An email address mentioned in the from MIME header.                                                                                                                                                  |\n| message-id | A Mailgun message id returned by the messages API.                                                                                                                                                   |\n| subject    | A subject line.                                                                                                                                                                                      |\n| to         | An email address mentioned in the to MIME header.                                                                                                                                                    |\n| size       | Message size. Mostly intended to be used with range filtering expressions (see below).                                                                                                               |\n| recipient  | An email address of a particular recipient. Even though a message may be addressed to several recipients, delivery is tracked on per recipient basis and every event pertains to only one recipient. |\n| tags       | User defined tags.                                                                                                                                                                                   |\n| severity   | Temporary or Permanent. Used to filter events based on severity, if exists. (Currently failed events only)                                                                                           |\n\n## Filter Expression\nPossible filtering expressions are listed below:\n\n| Expression    | Description                                                                                                        |\n|---------------|--------------------------------------------------------------------------------------------------------------------|\n| foo bar       | Matches field values that contain both term `foo` and term `bar`.                                                      |\n| foo AND bar   | Same as above.                                                                                                     |\n| foo OR bar    | Matches field values that contain either term `foo` or term `bar`.                                                     |\n| “foo bar”     | Matches field values that literally contain `foo bar`.                                                               |\n| NOT foo       | Matches field values that do not contain term `foo`.                                                                 |\n| >10000        | Matches values that greater then `10000`. This filter can be applied to numeric fields only.                         |\n| >10000 < 20000 | Matches values that are greater then `10000` and less then `20000`. This filter can be applied to numeric fields only. |\n\nNote that more then one expression can be used as a filter value and parentheses can be used to specify grouping. E.g.: `(Hello AND NOT Rachel) OR (Farewell AND Monica)`.\n\n## Event Types\n\nMailgun tracks all of the events that occur throughout the system. Below are listed the events that you can retrieve using this API.\n\n| Event Type   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                    |\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| accepted     | Mailgun accepted the request to send/forward the email and the message has been placed in queue.                                                                                                                                                                                                                                                                                                                                               |\n| rejected     | Mailgun rejected the request to send/forward the email.                                                                                                                                                                                                                                                                                                                                                                                        |\n| delivered    | Mailgun sent the email and it was accepted by the recipient email server.                                                                                                                                                                                                                                                                                                                                                                      |\n| failed       | Mailgun could not deliver the email to the recipient email server.  severity=permanent when a message is not delivered. There are several reasons why Mailgun stops attempting to deliver messages and drops them including: hard bounces, messages that reached their retry limit, previously unsubscribed/bounced/complained addresses, or addresses rejected by an ESP.  severity=temporary when a message is temporary rejected by an ESP. |\n| opened       | The email recipient opened the email and enabled image viewing. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org.                                                                                                                                                                                                                                                              |\n| clicked      | The email recipient clicked on a link in the email. Click tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org.                                                                                                                                                                                                                                                                         |\n| unsubscribed | The email recipient clicked on the unsubscribe link. Unsubscribe tracking must be enabled in the Mailgun control panel.                                                                                                                                                                                                                                                                                                                        |\n| complained   | The email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.                                                                                                                                                                                                                                                                                          |\n| stored       | Mailgun has stored an incoming message                                                                                                                                                                                                                                                                                                                                                                                                         |\n\n## Event Structure\n\nSee [link](https://documentation.mailgun.com/en/latest/api-events.html#event-structure) on Documentation page.","auth":null,"events":[{"listen":"prerequest","script":{"id":"c3c8f439-6096-4de6-b8c4-98ef73af920f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"32f81c16-0835-4dfa-ae9d-6a2a114eb0e6","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["9b3267fe-5a81-41b8-8588-98e27d2bc1c1"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"b6df1a28-595a-4b9b-83d2-34f5c01498b3"},{"id":"dbfb4048-3866-4b5f-823a-a6484bf9ccf2","name":"IPs","description":"The IP API endpoint allows you to access information regarding the IPs allocated to your Mailgun account that are used for outbound sending.\n\n> Note: You can manage your IPs from the Control Panel. Click on [IP Management](https://app.mailgun.com/app/ip_management) in the settings dropdown menu.","auth":null,"events":[{"listen":"prerequest","script":{"id":"29b2bc23-ad81-41d5-8203-a6410eb6a5e5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0c7e8202-6c15-4948-b837-71d636c64668","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["b12b6a95-8433-40e2-95f4-2a04a210a34e","3cfae667-70ca-4cd0-8a08-072f5d30766a","e59a4de4-53e3-4ad0-98e7-6af43b9e6771","7efceca5-1d67-4e7a-84f7-52b45118f162","121cd2bb-e1e4-4ba0-a5f6-7a1edc5ad421"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"dbfb4048-3866-4b5f-823a-a6484bf9ccf2"},{"id":"3d3a1c68-6a17-47cc-8913-355856031e4e","name":"List Validations (v3)","description":"","auth":null,"events":[{"listen":"prerequest","script":{"id":"7cc6743f-8cc5-4d8e-8092-4f9e16f9d38c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"43a9cb17-ae55-456a-99eb-520d254bc202","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":"b6277b55-2613-471b-b00f-eb88f6bc4025","order":["51baf394-a600-4bf7-a529-ef212976043f","6d0a4935-a121-4b10-93ab-2a913c054202","76bc10ea-7588-4a0e-8604-a13710540424"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"3d3a1c68-6a17-47cc-8913-355856031e4e"},{"id":"7ff5404f-8997-454e-b5e0-5ece7638b051","name":"Mailing Lists","description":null,"auth":null,"events":[{"listen":"prerequest","script":{"id":"bc91cae7-187b-448a-8b2a-9dd6184f9da3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"43988243-a320-4317-b9e5-787d17108dd4","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["0b58ffa7-4471-4a05-a4e0-544efd89283a","a8c45f04-9a96-4d6a-9b5d-ac6d34809e7d","90bd7601-fe34-4f5a-bd85-46bdda3ee799","7f5be694-6556-41b5-be4f-8b3971c4a88b","eda6519b-b685-4dfb-8070-435a55bbe764","57742b27-c0d3-4bdd-9780-6da10f4bbf1a","fb444bc4-c910-4f75-93e8-6fc9bdf31261","40410021-ed67-414f-9365-5d8127ffe37c","29d688b6-e49c-4222-ae39-b3fd0adeb0cb","69a12a48-345d-4a20-b5a0-41b3e300ff73","b44dc3b0-bb69-4dc6-a104-3b47b3320d35"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"7ff5404f-8997-454e-b5e0-5ece7638b051"},{"id":"3c97e675-6980-446a-8bab-9e54e029702b","name":"Messages","description":"## Sending\n\nThere are two ways to send emails using Mailgun API:\n\n* You can pass the components of the messages such as `To`, `From`, `Subject`, HTML and text parts, attachments, etc. Mailgun will build a MIME representation of the message and send it. This is the preferred method.\n* You can also build a MIME string yourself using a MIME library for your programming language and submit it to Mailgun.\n\n> *Note:* You can also use good old SMTP to send messages. But you will have to specify all advanced sending options via [MIME headers](https://documentation.mailgun.com/en/latest/user_manual.html#passing-sending-options)","auth":null,"events":[{"listen":"prerequest","script":{"id":"9a35cb24-453b-4e6a-998f-6fd098e6a9bb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"012bad90-fc3c-4fc8-b033-3a8383fee118","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["42d8344a-fb6b-4be6-b00b-ed9fa8556361","73ae9d8a-8fbc-4ea3-88f7-db3800a8e6ab","4412a9d1-e973-40ae-b74d-714ac1759236"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"3c97e675-6980-446a-8bab-9e54e029702b"},{"id":"d7def638-3bd7-4205-9e82-221423c633a4","name":"Routes","description":"Mailgun Routes are a powerful way to handle the incoming traffic. See [Routes](https://documentation.mailgun.com/en/latest/user_manual.html#um-routes) section in the User Manual to learn more about how they work. This API allows you to work with routes programmatically.\n\nRoutes are comprised of the following arguments:\n\n* A filter (when to do something).\n* A priority (in what order).\n* An action (what to do).\n\n## Filters\n\nRoute filters are expressions that determine when an action is triggered. You can create a filter based on the recipient of the incoming email, the headers in the incoming email or use a catch-all filter. Filters support regular expressions in the pattern to give you a lot of flexibility when creating them.\n\n**match_recipient(pattern)**\n\nMatches smtp recipient of the incoming message against the regular expression pattern. For example this will match all messages coming to any recipient at @bar.com:\n\n> match_recipient(\".*@bar.com\")\n\n**match_header(header, pattern)**\n\nSimilar to `match_recipient` but instead of looking at a message recipient, it applies the pattern to an arbitrary MIME header of the message. For this will match any message with a word “support” in its subject:\n\n> (\"subject\", \".*support\")\n\n**catch_all()**\n\nMatches if no preceeding routes matched. Usually you need to use it in a route with a lowest priority, to make sure it evaluates last.\n\n## Actions\n\nIf a route expression evaluates to true, Mailgun executes the corresponding action. Currently you can use the following three actions in your routes: `forward()`, `store()` and `stop()`.\n\n**forward(destination)**\n\nForwards the message to a specified destination, which can be another email address or a URL. A few examples:\n\n> forward(\"mailbox@myapp.com\")\nforward(\"http://myapp.com/messages\")\n\n**store(notification endpoint)**\n\nStores the message temporarily (for up to 3 days) on Mailgun’s servers so that you can retrieve them later. This is helpful for large messages that may cause time outs or if you just want to retrieve them later.\n\nYou can specify a URL and we will notify you when the email arrives along with a URL where you can use to retrieve the message:\n\n> store(notify=\"http://mydomain.com/callback\")\n\nYou can see a full list of parameters we will post to your URL in the [Routes](https://documentation.mailgun.com/en/latest/user_manual.html#um-routes) section of the User Manual. You can also get the locations of messages through the [Events API](https://documentation.mailgun.com/en/latest/api-events.html#api-events) and then retrieve the message through the [Messages API](https://documentation.mailgun.com/en/latest/api-sending.html#api-sending-messages).\n\n**stop()**\n\nSimply stops the priority waterfall so the subsequent routes will not be evaluated. Without a stop() action executed, all lower priority Routes will also be evaluated.","auth":null,"events":[{"listen":"prerequest","script":{"id":"b6b4b93f-a9a5-4451-8a67-1ee86747dc94","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"391f5d78-60a6-405c-a5c4-bbd1bbe4a334","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["386618cd-b791-4c98-8b89-11053292e67e","937f11b4-14c3-42cb-8968-8e7a28e51f06","42ada150-846f-4f9f-b280-c43a30af447b","0dec8e11-de50-4692-937e-d27839ab8523","a7323ef4-e337-4222-a31e-ce6ad98da916"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"d7def638-3bd7-4205-9e82-221423c633a4"},{"id":"20183f6a-17b4-4455-9cb1-26d476936fa1","name":"Single Validation (v4)","description":"","auth":null,"events":[{"listen":"prerequest","script":{"id":"6cdf572b-f71e-45d6-811b-491d1083e9ef","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c2182583-4ba1-4aa0-a5b2-3e9b796d51d7","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":"b6277b55-2613-471b-b00f-eb88f6bc4025","order":["c1b4690b-82b2-4181-92ec-d6ecde941e57"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"20183f6a-17b4-4455-9cb1-26d476936fa1"},{"id":"0fd17b2c-43f6-4609-a87a-6e3eb3d0ee95","name":"Stats","description":"Mailgun collects many different events and generates event statistics which are available in your Control Panel. This data is also available via an API.\n\nThe statistics are calculated in hourly, daily and monthly resolution in UTC timezone.\n\nThe following retention policy is applied to the statistics:\n* Hourly stats are preserved for a month.\n* Daily stats are preserved for a year.\n* Monthly stats are stored throughout the lifespan of the domain.\n\n## Duration\n\nDuration is a string that represents a period of time with some resolution. It has a format [0-9]+[m,d,h] where\n\n* h - an hour\n* d - a day\n* m - a month\nExamples:\n\n* 24h - a period of 24 hours (a day) with hourly resolution\n* 1d - a period of 1 day with daily resolution\n* 2m - a period of 2 months with monthly resolution\n\n## Event Types\n\n| Event Type   | Description                                                                                                                                                                       |\n|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| accepted     | Mailgun accepted the request to send/forward the email and the message has been placed in queue.                                                                                  |\n| delivered    | Mailgun sent the email and it was accepted by the recipient email server.                                                                                                         |\n| failed       | Mailgun could not deliver the email to the recipient email server.                                                                                                                |\n| opened       | The email recipient opened the email and enabled image viewing. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. |\n| clicked      | The email recipient clicked on a link in the email. Click tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org.            |\n| unsubscribed | The email recipient clicked on the unsubscribe link. Unsubscribe tracking must be enabled in the Mailgun control panel.                                                           |\n| complained   | The email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.                             |\n| stored       | Mailgun has stored an incoming message                                                                                                                                            |","auth":null,"events":[{"listen":"prerequest","script":{"id":"750c87f0-b3bc-4274-8783-8adfaad8a3b3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e6253087-43c3-4441-bb65-37fb2ba94143","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["3d2bdb3b-8ae7-4753-a864-f5a6c74e2af9","b48d1874-943d-417b-a7a9-2697fe56baac"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"0fd17b2c-43f6-4609-a87a-6e3eb3d0ee95"},{"id":"9036f417-4646-4c4b-870c-dbd3e6c54fd8","name":"Suppressions","description":"Mailgun keeps three lists of addresses it blocks the delivery to: bounces, unsubscribes and complaints. These lists are populated automatically as Mailgun detects undeliverable addresses you try to send to and as recipients unsubscribe from your mailings or mark your emails as a spam (for ESPs that provide FBL). You can also add/remove addresses from any of these lists using the API.\n\n> Note This is the documentation for the new Suppressions API. The documentation for the previous version (/v2) will temporarily be available here: [bounces](https://documentation.mailgun.com/en/latest/api-bounces.html#api-bounces-old), [unsubscribes](https://documentation.mailgun.com/en/latest/api-unsubscribes.html#api-unsubscribes-old), [complaints](https://documentation.mailgun.com/en/latest/api-complaints.html#api-complaints-old).","auth":null,"events":[{"listen":"prerequest","script":{"id":"f1b927dd-dab2-4cd5-8237-621369cf3dd7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"efd1f443-048c-4943-b13a-858111b8bd5d","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":[],"folders_order":["c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f","c9eaa5eb-f3f9-4051-9bc5-40b6ec20e626","f7292cd4-ff8f-444a-8928-060d06c1e882","b553bbfe-a21a-4bd9-a0aa-a745b24335ca"],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"9036f417-4646-4c4b-870c-dbd3e6c54fd8"},{"id":"fb36a802-196b-4e7e-91cc-ea92d145abfc","name":"Tags","description":"Mailgun lets you tag each outgoing message with a custom value and provides statistics on the tag level. To tag a message you need to provide one or more `o:tag` parameter in the API. Tags are created on the fly but they are subject to a limit.","auth":null,"events":[{"listen":"prerequest","script":{"id":"7746a374-e8b3-4c2e-8088-68f81458f629","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3762e366-a6eb-4f27-8a48-aa533f4be4fa","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["5a8a42bc-0400-40b7-9f1f-4da0e3fcddbc","11fec6c7-fc6e-49f3-98a8-0c055d51cba3","84b0c175-0b3a-4ce2-85fc-410607ab4380","9dbeb1e6-ef27-4fe3-b4cb-8838e360104f","fe5f9652-63ed-4a93-b9b7-fd3d7797059b","107abb1b-703b-4a66-b6f9-83fe4f3ca22f","f69f71f3-1ff0-4fa5-8ed2-06258bfee865","6b9b7e01-6048-4ea3-a46c-98c5f3746419"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"fb36a802-196b-4e7e-91cc-ea92d145abfc"},{"id":"0e60808d-614d-4cb4-b241-74e53bddbc7d","name":"Templates","description":"- Supports HanbleBar & Mustache \n- Versioning of a Single Template\n- Rendering a Template\n- Intergrates with User-Variables and Recipient Variables","auth":null,"events":[{"listen":"prerequest","script":{"id":"96159c73-85cd-4a03-b769-d6e604cd906e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4791bf27-6406-4f92-9f59-0fd23c746565","type":"text/javascript","exec":[""]}}],"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["22e432ca-5dec-419e-9a5a-ab714c385858","50bafe1d-a76c-41a5-8c32-405c44cf3eda","935f6f94-c6d9-4b02-8708-d857a7e245f5","5723cec9-ce0c-4896-a940-342d94e55700","f02adcc8-be6e-4241-8713-f2038e29d52d","b524baa6-6f43-473f-991b-f2d2f9510942","b9daf1d3-219f-4d01-9510-9a3ecfd4c53f","e9b5ae11-0020-45b6-9a6c-5936c45c507b","788f1666-f246-4c6a-8ebe-c867b8c33f21"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"0e60808d-614d-4cb4-b241-74e53bddbc7d"},{"id":"f7292cd4-ff8f-444a-8928-060d06c1e882","name":"Unsubscribes","description":null,"auth":null,"events":null,"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":"9036f417-4646-4c4b-870c-dbd3e6c54fd8","order":["45b63774-70b6-4459-8f57-49cb79cab002","704f563f-e172-454c-9a43-0cfe499549a9","28e85d3f-9d98-404e-a415-561c6bd41459","f296c4c2-21e9-4b73-bd05-9641ecad63e1","0f088987-98df-421c-a3db-c8102047fdb7"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"f7292cd4-ff8f-444a-8928-060d06c1e882"},{"id":"e987585e-db08-4395-b9d1-a7dacadc52f4","name":"Webhooks","description":null,"auth":null,"events":null,"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":null,"order":["de9bc643-be82-496e-aa45-10bf22d177d6","bfe45b32-0495-4a85-bdad-dd4809bec571","cc03acc1-04ad-4564-9ca9-b025d8489870","6c9293d8-c394-4c74-baf9-14563ca7a249","8922c2c1-2b01-465c-b091-1c63f1fc59d1"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"e987585e-db08-4395-b9d1-a7dacadc52f4"},{"id":"b553bbfe-a21a-4bd9-a0aa-a745b24335ca","name":"Whitelists","description":"","auth":null,"events":null,"collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folder":"9036f417-4646-4c4b-870c-dbd3e6c54fd8","order":["280340f1-c78f-4786-ad01-e554943fcce5","68d1b3c8-f5e2-4437-b519-5339f2b4aa79","b3227cd8-aa50-4151-a9d3-7e34a579c9ac","61a01245-0095-4349-9c92-46adec5d2724","f19828ec-e5e7-4eb8-a409-8bcbdfdb3b46"],"folders_order":[],"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","folderId":"b553bbfe-a21a-4bd9-a0aa-a745b24335ca"}],"requests":[{"id":"083b3159-fee3-4286-b31a-392aadd0a5e0","name":"Delete domain","url":"{{BASE_URL}}/domains/{{mydomain}}","description":"Deletes a domain from your account","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"0b58ffa7-4471-4a05-a4e0-544efd89283a","name":"Get mailing lists","url":"{{BASE_URL}}/lists","description":null,"data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","responses":[{"id":"06484c54-46c3-4632-b866-78ebeeba6065","name":"Get a page of mailing lists","status":"OK","mime":"","language":"json","text":"{\n  \"items\": [\n    {\n      \"access_level\": \"everyone\",\n      \"address\": \"dev@samples.mailgun.org\",\n      \"created_at\": \"Tue, 06 Mar 2012 05:44:45 GMT\",\n      \"description\": \"Mailgun developers list\",\n      \"members_count\": 1,\n      \"name\": \"\"\n    },\n    {\n      \"access_level\": \"readonly\",\n      \"address\": \"bar@example.com\",\n      \"created_at\": \"Wed, 06 Mar 2013 11:39:51 GMT\",\n      \"description\": \"\",\n      \"members_count\": 2,\n      \"name\": \"\"\n    }\n  ],\n  \"paging\": {\n    \"first\": \"https://url_to_next_page\",\n    \"last\": \"https://url_to_last_page\",\n    \"next\": \"https://url_to_next_page\",\n    \"previous\": \"https://url_to_previous_page\"\n  }\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"310bbe28-bff8-4c07-a368-f37a585abb9f","method":"GET","headers":"","data":null,"rawModeData":"","url":"{{BASE_URL}}/lists/pages?limit=100","pathVariableData":[],"queryParams":[{"key":"limit","value":"100","equals":true,"description":"Maximum number of records to return (optional: 100 by default)"}],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"0b58ffa7-4471-4a05-a4e0-544efd89283a","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"0dec8e11-de50-4692-937e-d27839ab8523","name":"Update route","url":"{{BASE_URL}}/routes/{route}","description":"Updates a given route by ID. All parameters are optional: this API call only updates the specified fields leaving others unchanged.","data":[{"key":"id","value":"","description":"ID of the route","type":"text","enabled":false},{"key":"priority","value":"","description":"Integer: smaller number indicates higher priority. Higher priority routes are handled first.","type":"text","enabled":false},{"key":"description","value":"","description":"An arbitrary string","type":"text","enabled":false},{"key":"expression","value":"","description":"A filter expression like match_recipient('.*@gmail.com')","type":"text","enabled":false},{"key":"action","value":"","description":"Route action. This action is executed when the expression evaluates to True. Example: forward(\"alice@example.com\") You can pass multiple action parameters.","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"d7def638-3bd7-4205-9e82-221423c633a4","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"0f088987-98df-421c-a3db-c8102047fdb7","name":"Delete single unsubscribe","url":"{{BASE_URL}}/{{mydomain}}/unsubscribes/{{address}}","description":"Add multiple unsubscribe records to the unsubscribe list in a single API call.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"f7292cd4-ff8f-444a-8928-060d06c1e882","responses":[{"id":"a07ea4a9-c549-4209-a272-a7d7d4bf3ac5","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"43679998-9a7f-4438-91d8-294b7dc26a07","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"0f088987-98df-421c-a3db-c8102047fdb7","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"a096ee19-19e1-436d-89c3-5ce31dc58a9b","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"e5847718-9870-492d-b5fb-ee07e39c02c1","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"0f088987-98df-421c-a3db-c8102047fdb7","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"107abb1b-703b-4a66-b6f9-83fe4f3ca22f","name":"Get domain providers","url":"{{BASE_URL}}/{{mydomain}}/tags/{tag}/stats/aggregates/providers","description":"Returns a list of email providers for a given domain for different event types.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"fb36a802-196b-4e7e-91cc-ea92d145abfc","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"113d6bde-8eaf-4d06-b651-0335fd707c72","name":"Update domain tracking settings for CLICKS","url":"{{BASE_URL}}/domains/{{mydomain}}/tracking/click","description":"| Parameter | Description                                                                                                                                                                                        |\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| active    | yes, no, or htmlonly  If set to yes, links will be overwritten and pointed to our servers so we can track clicks.  If set to htmlonly, links will only be rewritten in the HTML part of a message. |","data":[{"key":"active","value":"","description":"yes, no, or htmlonly\n\nIf set to yes, links will be overwritten and pointed to our servers so we can track clicks.\n\nIf set to htmlonly, links will only be rewritten in the HTML part of a message.","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"11fec6c7-fc6e-49f3-98a8-0c055d51cba3","name":"Get single tag","url":"{{BASE_URL}}/{{mydomain}}/tags/{{tag}}","description":"Returns a given tag.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"domain","value":"","equals":false,"description":"Name of the domain","enabled":false},{"key":"tag","value":"","equals":false,"description":"Name of the tag","enabled":false}],"auth":null,"events":null,"folder":"fb36a802-196b-4e7e-91cc-ea92d145abfc","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"121cd2bb-e1e4-4ba0-a5f6-7a1edc5ad421","name":"Unassign IP from a domain","url":"{{BASE_URL}}/domains/{{mydomain}}/ips/{{ip}}","description":"Unassign an IP from the domain specified.","data":[{"key":"ip","value":"","description":"IP address that should be assigned to the domain pool.","type":"text"}],"dataMode":"urlencoded","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"dbfb4048-3866-4b5f-823a-a6484bf9ccf2","responses":[{"id":"8d600df4-8895-45c5-a3ff-65e5ae61e8bd","name":"Remove an IP from the domain pool.","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"success\"\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"ce301584-5015-4f5a-8a75-32ecb9188d96","method":"DELETE","headers":"Content-Type: application/x-www-form-urlencoded","dataMode":"params","data":[{"key":"ip","value":"127.0.0.1","description":"IP address that should be assigned to the domain pool.","type":"text"}],"rawModeData":"","url":"https://api.mailgun.net/v3/domains/YOUR_DOMAIN_HERE/ips/127.0.0.1","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}]},"headers":[],"cookies":[],"request":"121cd2bb-e1e4-4ba0-a5f6-7a1edc5ad421","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"16ae3145-d0da-4bbd-80a5-048e6227a400","name":"Submit bulk validation job","url":"{{BASE_URL}}/address/validate/bulk/{{bulk_id}}","description":"","data":[{"key":"file","value":[],"description":"","type":"file","enabled":true}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"94b451a0-5d80-46e2-9c0d-bd97a8a4f969","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"19ab9d04-1331-473c-8d2a-2e6a20a7a011","name":"Delete SMTP credentials","url":"{{BASE_URL}}/domains/{{mydomain}}/credentials/{login}","description":"Deletes the defined SMTP credentials.\n\n> Note: Mailgun imposes a rate limit for the Domains API endpoint. Users may issue no more than 300 requests per minute, per account. See the resultant rate limit response below.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"1bcfb580-ad62-4598-ab6f-b7b6ebc6ee5d","name":"Get single domain","url":"{{BASE_URL}}/domains/{{mydomain}}","description":"Returns a single domain, including credentials and DNS records.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"1e527620-9e39-418d-8375-6e96e7029f0b","name":"Verify domain","url":"{{BASE_URL}}/domains/{{mydomain}}/verify","description":"Verifies and returns a single domain, including credentials and DNS records. If the domain is successfully verified the message should be the following: _Domain DNS records have been updated_. For more information on verifying domains, visit the Mailgun [User Manual](https://documentation.mailgun.com/en/latest/user_manual.html#verifying-your-domain).","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"22e432ca-5dec-419e-9a5a-ab714c385858","name":"Get templates","url":"{{BASE_URL}}/{{mydomain}}/templates","description":null,"data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"280340f1-c78f-4786-ad01-e554943fcce5","name":"Get whitelisted addresses","url":"{{BASE_URL}}/{{mydomain}}/whitelists","description":"","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"b553bbfe-a21a-4bd9-a0aa-a745b24335ca","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"28e85d3f-9d98-404e-a415-561c6bd41459","name":"Add single unsubscribe","url":"{{BASE_URL}}/{{mydomain}}/unsubscribes","description":"Paginate over a list of unsubscribes for a domain.","data":[{"key":"address","value":"","description":"Valid email address","type":"text","enabled":false},{"key":"tag","value":"","description":"Tag to unsubscribe from, use * to unsubscribe an address from all domain's correspondence","type":"text","enabled":false},{"key":"created_at","value":"","description":"Timestamp of an unsubscribe event in RFC2822 format (optional, default: current time)","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"f7292cd4-ff8f-444a-8928-060d06c1e882","responses":[{"id":"80c1be7a-37a4-4a73-847f-a9ac734bc243","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"f942ab64-41b3-4eab-ae11-ee7279d568ee","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"28e85d3f-9d98-404e-a415-561c6bd41459","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"d2852e40-0a15-436f-b9af-1fb55a59a474","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"8f7e9c2d-a699-4736-bcba-75697b022e0c","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"28e85d3f-9d98-404e-a415-561c6bd41459","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"29d688b6-e49c-4222-ae39-b3fd0adeb0cb","name":"Update mailing list member","url":"{{BASE_URL}}/lists/{{mailinglist_address}}/members/{{address}}","description":"Updates a mailing list member with given properties. Won’t touch the property if it’s not passed in.","data":[{"key":"address","value":"","description":"Valid email address specification, e.g. Alice <alice@example.com> or just alice@example.com","type":"text"},{"key":"name","value":"","description":"Recipient name, e.g. Alice","type":"text"},{"key":"vars","value":"","description":"JSON-encoded dictionary string with arbitrary parameters, e.g. {\"gender\":\"female\",\"age\":27}","type":"text"},{"key":"subscribed","value":"","description":"no to set unsubscribed, yes as subscribed","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"2cd349f6-9798-4de2-b6ae-2c17f536303f","name":"Create new domain","url":"{{BASE_URL}}/domains","description":"Create a new domain.\n\n| Parameter            | Description                                                                                                                                                                                                                                                                                       |\n|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| name                 | Name of the domain (ex. domain.com)                                                                                                                                                                                                                                                               |\n| smtp_password        | Password for SMTP authentication                                                                                                                                                                                                                                                                  |\n| spam_action          | `disabled`, `block`, or `tag`  If disabled, no spam filtering will occur for inbound messages.  If block, inbound spam messages will not be delivered.  If tag, inbound messages will be tagged with a spam header. See [Spam Filter](https://documentation.mailgun.com/en/latest/user_manual.html#um-spam-filter).  The default is `disabled`.                                          |\n| wildcard             | true or false Determines whether the domain will accept email for sub-domains.  The default is false.                                                                                                                                                                                             |\n| force_dkim_authority | true or false  If set to true, the domain will be the DKIM authority for itself even if the root domain is registered on the same mailgun account  If set to false, the domain will have the same DKIM authority as the root domain registered on the same mailgun account  The default is false. |","data":[{"key":"name","value":"","description":"Name of the domain (ex. domain.com)","type":"text","enabled":true},{"key":"smtp_password","value":"","description":"Password for SMTP authentication","type":"text","enabled":false},{"key":"spam_action","value":"","description":"disabled, block, or tag\n\nIf disabled, no spam filtering will occur for inbound messages.\n\nIf block, inbound spam messages will not be delivered.\n\nIf tag, inbound messages will be tagged with a spam header. See Spam Filter.\n\nThe default is disabled.","type":"text","enabled":false},{"key":"wildcard","value":"","description":"true or false Determines whether the domain will accept email for sub-domains.\n\nThe default is false.","type":"text","enabled":false},{"key":"force_dkim_authority","value":"true","description":"true or false\n\nIf set to true, the domain will be the DKIM authority for itself even if the root domain is registered on the same mailgun account\n\nIf set to false, the domain will have the same DKIM authority as the root domain registered on the same mailgun account\n\nThe default is false.","type":"text","enabled":false},{"key":"dkim_key_size","value":"1024","description":"Size of domain’s DKIM key pairs: `1024` or `2048`\n\nThe default is `1024`","type":"text","enabled":false},{"key":"ips","value":"","description":"An optional, comma-separated list of IP addresses to be assigned to this domain. If not specified, all dedicated IP addresses on the account will be assigned. If the request cannot be fulfilled (e.g. a requested IP is not assigned to the account, etc), a 400 will be returned.","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"386618cd-b791-4c98-8b89-11053292e67e","name":"Get routes","url":"{{BASE_URL}}/routes?","description":"Fetches the list of routes. Note that routes are defined globally, per account, not per domain as most of other API calls.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"limit","value":"","equals":false,"description":"Maximum number of records to return. (100 by default)","enabled":false},{"key":"skip","value":"","equals":false,"description":"Number of records to skip. (0 by default)","enabled":false}],"auth":null,"events":null,"folder":"d7def638-3bd7-4205-9e82-221423c633a4","responses":[{"id":"7c43647a-8598-49dc-ba7d-32632e70cc6b","name":"Get routes","status":"OK","mime":"","language":"json","text":"{\n  \"total_count\": 266,\n  \"items\": [\n      {\n          \"description\": \"Sample route\",\n          \"created_at\": \"Wed, 15 Feb 2012 12:58:12 GMT\",\n          \"actions\": [\n              \"forward(\\\"http://myhost.com/messages/\\\")\",\n              \"stop()\"\n          ],\n          \"priority\": 0,\n          \"expression\": \"match_recipient(\\\".*@samples.mailgun.org\\\")\",\n          \"id\": \"4f3babe4ba8a481c6400476a\"\n      }\n  ]\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"4b23c903-d3a5-484b-97b2-f007082e764c","method":"GET","headers":"","data":null,"rawModeData":"","url":"{{BASE_URL}}/routes?limit=1&skip=1","pathVariableData":[],"queryParams":[{"key":"limit","value":"1","equals":true,"description":"Maximum number of records to return. (100 by default)"},{"key":"skip","value":"1","equals":true,"description":"Number of records to skip. (0 by default)"}],"headerData":[],"dataMode":null},"headers":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, x-requested-with","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Max-Age","value":"600","name":"Access-Control-Max-Age","description":"Indicates how long the results of a preflight request can be cached in seconds."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"inline","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Length","value":"37","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 27 Aug 2018 15:34:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"}],"cookies":[],"request":"386618cd-b791-4c98-8b89-11053292e67e","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"3b293942-5c81-4109-9a65-bdc992d2f349","name":"Get all complaints","url":"{{BASE_URL}}/{{mydomain}}/complaints","description":"Add multiple unsubscribe records to the unsubscribe list in a single API call.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"limit","value":"","equals":false,"description":"Number of records to return (optional, default: 100, max: 10000)","enabled":false}],"auth":null,"events":null,"folder":"c9eaa5eb-f3f9-4051-9bc5-40b6ec20e626","responses":[{"id":"3f034962-b4ac-4d9b-a121-dccf255e81f0","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"4b27bfb9-77c2-4cf0-b614-8d180bd1cf6c","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"3b293942-5c81-4109-9a65-bdc992d2f349","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"e9a07348-7496-4f60-82ac-4591d6a80822","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"dc23ade9-1c7b-409b-8737-21693191c10f","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"3b293942-5c81-4109-9a65-bdc992d2f349","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"3c72b27d-0fae-4303-a763-4efabf7b8704","name":"Create new SMTP credentials","url":"{{BASE_URL}}/domains/{{mydomain}}/credentials","description":"Creates a new set of SMTP credentials for the defined domain.\n\n| Parameter | Description                                                 |\n|-----------|-------------------------------------------------------------|\n| login     | The user name, for example `bob.bar`                          |\n| password  | A password for the SMTP credentials. (Length Min 5, Max 32) |","data":[{"key":"login","value":"","description":"The user name, for example `bob.bar`","type":"text"},{"key":"password","value":"","description":"A password for the SMTP credentials. (Length Min 5, Max 32)","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"3cfae667-70ca-4cd0-8a08-072f5d30766a","name":"Get specific IP","url":"{{BASE_URL}}/ips/{{ip}}","description":"Returns information about the specified IP.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"dbfb4048-3866-4b5f-823a-a6484bf9ccf2","responses":[{"id":"40022a91-5ec4-4947-9d5a-cff8d54eb901","name":"Get specific IP","status":"OK","mime":"","language":"json","text":"{\n  \"ip\": \"192.161.0.1\",\n  \"dedicated\": true,\n  \"rdns\": \"luna.mailgun.net\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"00cbfe0b-9617-4e40-8549-0b97094591d9","method":"GET","headers":"","data":null,"rawModeData":"","url":"https://api.mailgun.net/v3/ips/127.0.0.1","pathVariableData":[],"queryParams":[],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"3cfae667-70ca-4cd0-8a08-072f5d30766a","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"3d2bdb3b-8ae7-4753-a864-f5a6c74e2af9","name":"Get domain stats","url":"{{BASE_URL}}/{{mydomain}}/stats/total","description":"Returns total stats for a given domain.\n\n| Parameter  | Description                                                                                                             |\n|------------|-------------------------------------------------------------------------------------------------------------------------|\n| event      | The type of the event. For a complete list of all events written to the log see the [Event Types](https://documentation.mailgun.com/en/latest/api-stats.html#event-types) table below. (Required) |\n| start      | The starting time. Should be in [RFC 2822#page-14](https://tools.ietf.org/html/rfc2822.html#page-14) or unix epoch format. Default: 7 days from the current time.           |\n| end        | The ending date. Should be in [RFC 2822#page-14](https://tools.ietf.org/html/rfc2822.html#page-14) or unix epoch format. Default: current time.                             |\n| resolution | Can be either `hour`, `day` or `month`. Default: `day`                                                                          |\n| duration   | Period of time with resoluton encoded. See [Duration](https://documentation.mailgun.com/en/latest/api-stats.html#duration) for more info. If provided, overwrites the start date.              |","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"event","value":"accepted","equals":true,"description":"The type of the event. For a complete list of all events written to the log see the Event Types table below. (Required)","enabled":false},{"key":"start","value":"","equals":false,"description":"The starting time. Should be in RFC 2822#page-14 or unix epoch format. Default: 7 days from the current time.","enabled":false},{"key":"end","value":"","equals":false,"description":"The ending date. Should be in RFC 2822#page-14 or unix epoch format. Default: current time.","enabled":false},{"key":"resolution","value":"","equals":false,"description":"Can be either hour, day or month. Default: day","enabled":false},{"key":"duration","value":"","equals":false,"description":"Period of time with resoluton encoded. See Duration for more info. If provided, overwrites the start date.","enabled":false}],"auth":null,"events":null,"folder":"0fd17b2c-43f6-4609-a87a-6e3eb3d0ee95","responses":[{"id":"2c2d358e-2a2d-4395-9819-6457b0090ab3","name":"Get domain stats","status":"OK","mime":"","language":"json","text":"{\n  \"end\": \"Fri, 01 Apr 2012 00:00:00 UTC\",\n  \"resolution\": \"month\",\n  \"start\": \"Tue, 14 Feb 2012 00:00:00 UTC\",\n  \"stats\": [\n    {\n      \"time\": \"Tue, 14 Feb 2012 00:00:00 UTC\",\n      \"accepted\": {\n        \"outgoing\": 10,  // authenticated\n        \"incoming\": 5,   // unauthenticated\n        \"total\": 15\n      },\n      \"delivered\": {\n          \"smtp\": 15,  // delivered over SMTP\n          \"http\": 5,   // delivered over HTTP\n          \"total\": 20\n      },\n      \"failed\": {\n        \"permanent\": {\n          \"bounce\": 4,\n          \"delayed-bounce\": 1,\n          \"suppress-bounce\": 1,       // recipients previously bounced\n          \"suppress-unsubscribe\": 2,  // recipients previously unsubscribed\n          \"suppress-complaint\": 3,    // recipients previously complained\n          \"total\": 10                 // failed permanently and dropped\n        },\n        \"temporary\": {\n          \"espblock\": 1   // failed temporary due to ESP block, will be retried\n        }\n      },\n    }\n  ]\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"0bcc7ef1-3b38-4ceb-99b4-5c52485dfbfc","method":"GET","headers":"","data":null,"rawModeData":"","url":"{{BASE_URL}}/{{mydomain}}/stats/total?event=accepted&duration=1m&event=delivered&event=failed","pathVariableData":[],"queryParams":[{"key":"event","value":"accepted","equals":true,"description":"The type of the event. For a complete list of all events written to the log see the Event Types table below. (Required)"},{"key":"start","value":"","equals":false,"description":"The starting time. Should be in RFC 2822#page-14 or unix epoch format. Default: 7 days from the current time.","enabled":false},{"key":"end","value":"","equals":false,"description":"The ending date. Should be in RFC 2822#page-14 or unix epoch format. Default: current time.","enabled":false},{"key":"resolution","value":"","equals":false,"description":"Can be either hour, day or month. Default: day","enabled":false},{"key":"duration","value":"1m","equals":true,"description":"Period of time with resoluton encoded. See Duration for more info. If provided, overwrites the start date."},{"key":"event","value":"delivered","equals":true},{"key":"event","value":"failed","equals":true}],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"3d2bdb3b-8ae7-4753-a864-f5a6c74e2af9","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"40410021-ed67-414f-9365-5d8127ffe37c","name":"Add member to mailing list","url":"{{BASE_URL}}/lists/{{mailinglist_address}}/members","description":"Adds a member to the mailing list.","data":[{"key":"address","value":"","description":"Valid email address specification, e.g. Alice <alice@example.com> or just alice@example.com","type":"text"},{"key":"name","value":"","description":"Optional member name","type":"text"},{"key":"vars","value":"","description":"JSON-encoded dictionary string with arbitrary parameters, e.g. {\"gender\":\"female\",\"age\":27}","type":"text","enabled":false},{"key":"subscribed","value":"","description":"yes to add as subscribed (default), no as unsubscribed","type":"text","enabled":false},{"key":"upsert","value":"","description":"yes to update member if present, no to\nraise error in case of a duplicate member (default)","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","responses":[{"id":"8859f419-b56b-49a9-b072-da60edc6cfec","name":"Add a mailing list member","status":"Unauthorized","mime":"","language":"json","text":"{\n  \"member\": {\n      \"vars\": {\n          \"age\": 26\n      },\n      \"name\": \"Bob Bar\",\n      \"subscribed\": true,\n      \"address\": \"bar@example.com\"\n  },\n  \"message\": \"Mailing list member has been created\"\n}\n","responseCode":{"code":401,"name":"Unauthorized","detail":""},"requestObject":{"id":"f01dcf8f-ea41-499c-9db6-f7e4d5bc5be9","method":"POST","headers":"","dataMode":"params","data":[{"key":"address","value":"bob@example.com","description":"Valid email address specification, e.g. Alice <alice@example.com> or just alice@example.com","type":"text"},{"key":"name","value":"Bob Bar","description":"Optional member name","type":"text"},{"key":"vars","value":"{\"age\": 26}","description":"JSON-encoded dictionary string with arbitrary parameters, e.g. {\"gender\":\"female\",\"age\":27}","type":"text"},{"key":"subscribed","value":"true","description":"yes to add as subscribed (default), no as unsubscribed","type":"text"},{"key":"upsert","value":"","description":"yes to update member if present, no to\nraise error in case of a duplicate member (default)","type":"text"}],"rawModeData":"","url":"{{BASE_URL}}/lists/{address}/members","pathVariableData":[],"queryParams":[],"headerData":[]},"headers":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"0","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 22 Aug 2018 21:47:37 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Www-Authenticate","value":"Basic realm=\"MG API\"","name":"Www-Authenticate","description":"Indicates the authentication scheme that should be used to access the requested entity."}],"cookies":[],"request":"40410021-ed67-414f-9365-5d8127ffe37c","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"42ada150-846f-4f9f-b280-c43a30af447b","name":"Create route","url":"{{BASE_URL}}/routes","description":"Creates a new route.","data":[{"key":"priority","value":"","description":"Integer: smaller number indicates higher priority. Higher priority routes are handled first. Defaults to 0.","type":"text","enabled":false},{"key":"description","value":"","description":"An arbitrary string.","type":"text","enabled":false},{"key":"expression","value":"","description":"A filter expression like `match_recipient('.*@gmail.com')`","type":"text","enabled":false},{"key":"action","value":"","description":"Route action. This action is executed when the expression evaluates to True. Example: `forward(\"alice@example.com\")` You can pass multiple `action` parameters.","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"d7def638-3bd7-4205-9e82-221423c633a4","responses":[{"id":"24f35077-7c85-4d40-be27-0dde6d36c4eb","name":"Create route","status":"Unauthorized","mime":"","language":"json","text":"{\n  \"message\": \"Route has been created\",\n  \"route\": {\n      \"description\": \"Sample route\",\n      \"created_at\": \"Wed, 15 Feb 2012 13:03:31 GMT\",\n      \"actions\": [\n          \"forward(\\\"http://myhost.com/messages/\\\")\",\n          \"stop()\"\n      ],\n      \"priority\": 0,\n      \"expression\": \"match_recipient(\\\".*@samples.mailgun.org\\\")\",\n      \"id\": \"4f3bad2335335426750048c6\"\n  }\n}","responseCode":{"code":401,"name":"Unauthorized","detail":""},"requestObject":{"id":"49148b84-a778-4894-ad97-10f0f9a67378","method":"POST","headers":"","dataMode":"params","data":[{"key":"priority","value":"0","description":"Integer: smaller number indicates higher priority. Higher priority routes are handled first. Defaults to 0.","type":"text"},{"key":"description","value":"Sample route","description":"An arbitrary string.","type":"text"},{"key":"expression","value":"match_recipient(\".*@YOUR_DOMAIN_NAME\")","description":"A filter expression like match_recipient('.*@gmail.com')","type":"text"},{"key":"action","value":"forward(\"http://myhost.com/messages/\")","description":"Route action. This action is executed when the expression evaluates to True. Example: forward(\"alice@example.com\") You can pass multiple action parameters.","type":"text"},{"key":"action","value":"stop()","type":"text"}],"rawModeData":"","url":"{{BASE_URL}}/routes","pathVariableData":[],"queryParams":[],"headerData":[]},"headers":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"0","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 27 Aug 2018 15:34:31 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Www-Authenticate","value":"Basic realm=\"MG API\"","name":"Www-Authenticate","description":"Indicates the authentication scheme that should be used to access the requested entity."}],"cookies":[],"request":"42ada150-846f-4f9f-b280-c43a30af447b","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"42d8344a-fb6b-4be6-b00b-ed9fa8556361","name":"Send message with MIME","url":"{{BASE_URL}}/{{mydomain}}/messages.mime","description":"Posts a message in MIME format. Note: you will need to build a MIME string yourself. Use a MIME library for your programming language to do this. Pass the resulting MIME string as `message` parameter.\n\n\n| Parameter         | Description                                                                                                                                                                              |\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| to                | Email address of the recipient(s). Example: `\"Bob <bob@host.com>\"`. You can use commas to separate multiple recipients. Make sure to include all `To`, `Cc` and `Bcc` recipients of the message. |\n| message           | MIME string of the message. Make sure to use `multipart/form-data` to send this as a file upload.                                                                                          |\n| o:tag             | Tag string. See [Tagging](https://documentation.mailgun.com/en/latest/user_manual.html#tagging) for more information.                                                                                                                                            |\n| o:deliverytime    | Desired time of delivery. See [Date Format](https://documentation.mailgun.com/en/latest/api-intro.html#date-format). Note: Messages can be scheduled for a maximum of 3 days in the future.                                                                        |\n| o:dkim            | Enables/disabled DKIM signatures on per-message basis. Pass `yes` or `no`                                                                                                                    |\n| o:testmode        | Enables sending in test mode. Pass `yes` if needed. See [Sending in Test Mode](https://documentation.mailgun.com/en/latest/user_manual.html#manual-testmode)                                                                                                               |\n| o:tracking        | Toggles tracking on a per-message basis, see [Tracking Messages](https://documentation.mailgun.com/en/latest/user_manual.html#tracking-messages) for details. Pass `yes` or `no`.                                                                                              |\n| o:tracking-clicks | Toggles clicks tracking on a per-message basis. Has higher priority than domain-level setting. Pass `yes`, `no` or `htmlonly`.                                                                 |\n| o:tracking-opens  | Toggles opens tracking on a per-message basis. Has higher priority than domain-level setting. Pass `yes` or `no`.                                                                            |\n| h:X-My-Header     | `h:` prefix followed by an arbitrary value allows to append a custom MIME header to the message (`X-My-Header` in this case). For example, `h:Reply-To` to specify Reply-To address.           |\n| v:my-var          | `v:` prefix followed by an arbitrary name allows to attach a custom JSON data to the message. See [Attaching Data to Messages](https://documentation.mailgun.com/en/latest/user_manual.html#manual-customdata) for more information.                                         |","data":[{"key":"to","value":"","description":"Email address of the recipient(s). Example: \"Bob <bob@host.com>\". You can use commas to separate multiple recipients. Make sure to include all `To`, `Cc` and `Bcc` recipients of the message.","type":"text"},{"key":"message","value":"","description":"MIME string of the message. Make sure to use `multipart/form-data` to send this as a file upload.","type":"text"},{"key":"o:tag","value":"","description":"Tag string. See Tagging for more information.","type":"text","enabled":true},{"key":"o:deliverytime","value":"","description":"Desired time of delivery. See Date Format. Note: Messages can be scheduled for a maximum of 3 days in the future.","type":"text","enabled":true},{"key":"o:dkim","value":"","description":"Enables/disabled DKIM signatures on per-message basis. Pass `yes` or `no`","type":"text","enabled":true},{"key":"o:testmode","value":"","description":"Enables sending in test mode. Pass `yes` if needed. See Sending in Test Mode","type":"text","enabled":true},{"key":"o:tracking","value":"","description":"Toggles tracking on a per-message basis, see Tracking Messages for details. Pass `yes` or `no`.","type":"text","enabled":true},{"key":"o:tracking-clicks","value":"","description":"Toggles clicks tracking on a per-message basis. Has higher priority than domain-level setting. Pass `yes`, `no` or `htmlonly`.","type":"text","enabled":true},{"key":"o:tracking-opens","value":"","description":"Toggles opens tracking on a per-message basis. Has higher priority than domain-level setting. Pass yes or no.","type":"text","enabled":true},{"key":"h:X-My-Header","value":"","description":"`h:` prefix followed by an arbitrary value allows to append a custom MIME header to the message (`X-My-Header` in this case). For example, `h:Reply-To` to specify Reply-To address.","type":"text","enabled":true},{"key":"v:my-var","value":"","description":"`v:` prefix followed by an arbitrary name allows to attach a custom JSON data to the message. See Attaching Data to Messages for more information.","type":"text","enabled":true}],"dataMode":"params","headerData":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"{{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"3c97e675-6980-446a-8bab-9e54e029702b","responses":[{"id":"9a7744b5-047b-415e-9f1e-0f567ffd9529","name":"Sending a plain text message","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"Queued. Thank you.\",\n  \"id\": \"<20111114174239.25659.5817@samples.mailgun.org>\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"acbd10c6-26c9-4e74-af3f-7754ef3f8e8a","method":"POST","headers":"Content-Type: application/x-www-form-urlencoded","dataMode":"urlencoded","data":[{"key":"from","value":"'Excited user <mailgun@YOUR_DOMAIN_NAME>'","type":"text"},{"key":"to","value":"YOU@YOUR_DOMAIN_NAME","type":"text"},{"key":"to","value":"bar@example.com","type":"text"},{"key":"subject","value":"'Hello'","type":"text"},{"key":"bcc","value":"","type":"text","enabled":false},{"key":"text","value":"'Testing some Mailgun awesomeness!'","type":"text"},{"key":"html","value":"oh yes, wait a minute mister postman","type":"text","enabled":false},{"key":"attachment","value":"","type":"text","enabled":false},{"key":"inline","value":"","type":"text","enabled":false},{"key":"o:tag","value":"","type":"text","enabled":false},{"key":"o:dkim","value":"","type":"text","enabled":false},{"key":"o:deliverytime","value":"","type":"text","enabled":false},{"key":"o:testmode","value":"","type":"text","enabled":false},{"key":"o:tracking","value":"","type":"text","enabled":false},{"key":"o:tracking-clicks","value":"","type":"text","enabled":false},{"key":"o:require-tls","value":"","type":"text","enabled":false},{"key":"o:skip-verification","value":"","type":"text","enabled":false},{"key":"h:X-My-Header","value":"","type":"text","enabled":false},{"key":"v:my-var","value":"","type":"text","enabled":false}],"rawModeData":"","url":"https://api.mailgun.net/v3/{{mydomain}}/messages","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}]},"headers":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, x-requested-with","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Max-Age","value":"600","name":"Access-Control-Max-Age","description":"Indicates how long the results of a preflight request can be cached in seconds."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"inline","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Length","value":"136","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 21 Aug 2018 19:37:28 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"}],"cookies":[],"request":"42d8344a-fb6b-4be6-b00b-ed9fa8556361","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"9e0d0034-46c9-49e1-962c-d3f4c963da71","name":"Sending a message with HTML and text parts, and attachments","status":"OK","mime":"","language":"json","text":"{\n  \"id\": \"<20180821193728.1.6AD4EE2093B45F30@sandbox974aad6390954e39b88f4bfa8cf184c3.mailgun.org>\",\n  \"message\": \"Queued. Thank you.\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"ec6673d4-5264-4ff0-847d-25f4a7815181","method":"POST","headers":"Content-Type: application/x-www-form-urlencoded","dataMode":"params","data":[{"key":"from","value":"'Excited user <YOU@YOUR_DOMAIN_NAME>'","type":"text"},{"key":"to","value":"'foo@example.com'","type":"text"},{"key":"cc","value":"'bar@example.com'","type":"text"},{"key":"bcc","value":"'baz@example.com'","type":"text"},{"key":"subject","value":"'Hello'","type":"text"},{"key":"text","value":"'Testing some Mailgun awesomeness!'","type":"text"},{"key":"html","value":"'<html>HTML version of the body</html>'","type":"text"},{"key":"attachment","value":[],"type":"file"},{"key":"attachment","value":[],"type":"file"},{"key":"o","value":"tag:","type":"text","enabled":false},{"key":"o","value":"dkim:","type":"text","enabled":false},{"key":"o","value":"deliverytime:","type":"text","enabled":false},{"key":"o","value":"testmode:","type":"text","enabled":false},{"key":"o","value":"tracking:","type":"text","enabled":false},{"key":"o","value":"tracking-clicks:","type":"text","enabled":false},{"key":"o","value":"require-tls:","type":"text","enabled":false},{"key":"o","value":"skip-verification:","type":"text","enabled":false},{"key":"h","value":"X-My-Header:","type":"text","enabled":false},{"key":"v","value":"my-var:","type":"text","enabled":false}],"rawModeData":"","url":"https://api.mailgun.net/v3/{{mydomain}}/messages","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","type":"text","name":"Content-Type","value":"application/x-www-form-urlencoded"}]},"headers":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, x-requested-with","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Max-Age","value":"600","name":"Access-Control-Max-Age","description":"Indicates how long the results of a preflight request can be cached in seconds."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"inline","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Length","value":"136","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 21 Aug 2018 19:37:28 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"}],"cookies":[],"request":"42d8344a-fb6b-4be6-b00b-ed9fa8556361","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Content-Type: application/x-www-form-urlencoded\nAuthorization: {{token}}\n","pathVariables":{}},{"id":"4412a9d1-e973-40ae-b74d-714ac1759236","name":"Retrieving Stored Messages","url":"{{STORAGE_URL}}/domains/{{mydomain}}/messages/{{messagekey}}","description":"To retrieve an inbound message that has been stored via the `store()` action, use the URL found in the stored event (which you can find through the Events API, or in the notify webhook set when creating the store action (`store(notify=\"http://mydomain.com/callback\")`).\n\n* By default the message will be returned in JSON form with parsed parts. Links to the attachments will be included.\n* You can also retrieve the full raw mime message (attachments and all) if you make the request to the URL with the `Accept` header set to `message/rfc2822`.\n* Stored messages are encoded with [Quoted-printable](https://en.wikipedia.org/wiki/Quoted-printable) encoding. Decoding samples are available in the examples section below.\n\n\nThese are the parameters of the JSON returned from a GET request to a stored message url.\n\n| Parameter          | Type   | Description                                                                                                                                                                                                      |\n|--------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| recipients         | string | recipient of the message as reported by `MAIL` `TO` during SMTP chat.                                                                                                                                                |\n| sender             | string | sender of the message as reported by `MAIL` `FROM` during SMTP chat. Note: this value may differ from `From` MIME header.                                                                                              |\n| from               | string | sender of the message as reported by `From` message header, for example “Bob Lee <blee@mailgun.net>”.                                                                                                              |\n| subject            | string | subject string.                                                                                                                                                                                                  |\n| body-plain         | string | text version of the email. This field is always present. If the incoming message only has HTML body, Mailgun will create a text representation for you.                                                          |\n| stripped-text      | string | text version of the message without quoted parts and signature block (if found).                                                                                                                                 |\n| stripped-signature | string | the signature block stripped from the plain text message (if found).                                                                                                                                             |\n| body-html          | string | HTML version of the message, if message was multipart. Note that all parts of the message will be posted, not just text/html. For instance if a message arrives with “foo” part it will be posted as “body-foo”. |\n| stripped-html      | string | HTML version of the message, without quoted parts.                                                                                                                                                               |\n| attachments        | string | contains a json list of metadata objects, one for each attachment, see below.                                                                                                                                    |\n| message-headers    | string | list of all MIME headers dumped to a json string (order of headers preserved).                                                                                                                                   |\n| content-id-map     | string | JSON-encoded dictionary which maps Content-ID (CID) of each attachment to the corresponding `attachment-x` parameter. This allows you to map posted attachments to tags like `<img src='cid'>` in the message body.  |\n\n\n> Note Do not rely on the `body-plain`, `stripped-text`, and `stripped-signature` fields for HTML sanitization. These fields merely provide content from the text/plain portion of an incoming message. This content may contain unescaped HTML.\n\nThe attachments JSON contains the following items.\n\n| Parameter    | Type    | Description                                                                       |\n|--------------|---------|-----------------------------------------------------------------------------------|\n| size         | integer | indicates the size of the attachment in bytes.                                    |\n| url          | string  | contains the url where the attachment can be found. This does not support DELETE. |\n| name         | string  | the name of the attachment                                                        |\n| content-type | string  | the content type of the attachment                                                |\n\n\nThese are the parameters when the `Accept` header is set to `message/rfc2822`\n\n| Parameter | Type   | Description                                                                                    |\n|-----------|--------|------------------------------------------------------------------------------------------------|\n| recipient | string | recipient of the message.                                                                      |\n| sender    | string | sender of the message as reported by SMTP MAIL FROM.                                           |\n| from      | string | sender of the message as reported by `From` message header, for example “Bob <bob@example.com>”. |\n| subject   | string | subject string.                                                                                |\n| body-mime | string | full MIME envelope. You will need a MIME parsing library to process this data.                 |","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"3c97e675-6980-446a-8bab-9e54e029702b","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"45b63774-70b6-4459-8f57-49cb79cab002","name":"Get domain unsubscribes","url":"{{BASE_URL}}/{{mydomain}}/unsubscribes","description":"Paginate over a list of unsubscribes for a domain.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"limit","value":"","equals":false,"description":"Number of records to return (optional, default: 100, max: 10000)","enabled":false}],"auth":null,"events":null,"folder":"f7292cd4-ff8f-444a-8928-060d06c1e882","responses":[{"id":"35488bd3-07d4-4e99-af98-e6921c35d332","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"b79a5e4a-4753-4542-840b-f61dfbce8ab2","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"45b63774-70b6-4459-8f57-49cb79cab002","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"655117bb-527c-4c8f-b80e-6eb8353d1a3c","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"54e6de38-72e8-48ea-99ae-e6e979eee684","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"45b63774-70b6-4459-8f57-49cb79cab002","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"497ebf83-e3d0-4f6b-896c-c4cae56b590d","name":"Get domains","url":"{{BASE_URL}}/domains","description":"Returns a list of domains under your account in JSON. See examples.\n\n| Parameter | Description                                           |\n|-----------|-------------------------------------------------------|\n| limit     | Maximum number of records to return. (100 by default) |\n| skip      | Number of records to skip. (0 by default)             |","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"limit","value":"100","equals":true,"description":"Maximum number of records to return. (100 by default)","enabled":false},{"key":"skip","value":"0","equals":true,"description":"Number of records to skip. (0 by default)","enabled":false},{"key":"authority","value":"","description":"Filter a list by given DKIM authority name","enabled":false}],"auth":null,"events":[{"listen":"prerequest","script":{"id":"dcf7ed6c-5312-4136-9d40-3c692bd6d8e2","exec":[""],"type":"text/javascript"}}],"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","preRequestScript":null,"tests":null,"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"4cade955-ab9b-4676-b163-b226903120d9","name":"Get all bulk validation jobs","url":"{{BASE_URL}}/address/validate/bulk","description":"","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"94b451a0-5d80-46e2-9c0d-bd97a8a4f969","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"50bafe1d-a76c-41a5-8c32-405c44cf3eda","name":"Create template","url":"{{BASE_URL}}/{{mydomain}}/templates","description":null,"data":[{"key":"name","value":"My Template","description":"Friendly name of the template (optional)","type":"text","enabled":false},{"key":"template","value":"","description":"HTML contents of the template (required)","type":"text","enabled":false},{"key":"description","value":"","description":"Brief description of template (optional)","type":"text","enabled":false},{"key":"engine","value":"","description":"Mustache or handlebars","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"51baf394-a600-4bf7-a529-ef212976043f","name":"Submit validation list job","url":"{{BASE_URL}}/lists/{{listname}}@{{mydomain}}/validate","description":"Use this API endpoint to submit a bulk validation action to Mailgun. Note: only one job can be processed at any given time per account.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"3d3a1c68-6a17-47cc-8913-355856031e4e","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"52669215-af9a-4759-822d-fa64c9c4f1a5","name":"Delete bounce","url":"{{BASE_URL}}/{{mydomain}}/bounces/{{address}}","description":"Add a bounce record to the bounce list. Updates the existing record if the address is already there.","data":[],"dataMode":"raw","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f","responses":[{"id":"53b2de14-6b7a-48ef-9c35-546bb2d349df","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"dacc7462-6bfc-47a8-8bc0-f3182a5865ae","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"52669215-af9a-4759-822d-fa64c9c4f1a5","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"da5ee95f-0a13-4f6c-9c58-c683c95f19ee","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"f2d946a1-e82d-4187-9cd5-dc45aeb8b43e","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"52669215-af9a-4759-822d-fa64c9c4f1a5","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","rawModeData":"","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"5723cec9-ce0c-4896-a940-342d94e55700","name":"Store new version of template","url":"{{BASE_URL}}/{{mydomain}}/templates/{{template}}","description":null,"data":[{"key":"name","value":"name3","description":"Friendly name of the template (optional)","type":"text","enabled":true},{"key":"template","value":"dfjkgdhgkjg","description":"HTML contents of the template (required)","type":"text","enabled":true},{"key":"description","value":"","description":"Brief description of template (optional)","type":"text","enabled":true},{"key":"engine","value":"","description":"Mustache or handlebars","type":"text","enabled":true}],"dataMode":"params","headerData":[{"description":"","enabled":true,"key":"Authorization","type":"text","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"572d7a12-63df-49d3-9149-fe7fc5d625be","name":"Add single complaint","url":"https://api.mailgun.net/v3/{{mydomain}}/complaints","description":"Add multiple unsubscribe records to the unsubscribe list in a single API call.","data":[{"key":"address","value":"","description":"Valid email address","type":"text","enabled":false},{"key":"created_at","value":"","description":"Timestamp of a complaint event in RFC2822 format (optional, default: current time)","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"c9eaa5eb-f3f9-4051-9bc5-40b6ec20e626","responses":[{"id":"0b74ca63-1684-4530-af1f-bf10ed423dd5","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"d882ac3b-670d-40db-97d2-15adc4589c06","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"572d7a12-63df-49d3-9149-fe7fc5d625be","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"f95955a4-a177-4f56-ba35-ae5b512b213e","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"1f27e856-4161-4a50-a86b-4b65eeceb234","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"572d7a12-63df-49d3-9149-fe7fc5d625be","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"574a4858-fc21-45c3-86e0-f93163129f10","name":"Update domain tracking settings for OPENS","url":"{{BASE_URL}}/domains/{{mydomain}}/tracking/open","description":"Updates the open tracking settings for a domain.\n\n| Parameter | Description |\n|-----------|-------------|\n| active    | `yes` or `no`   |","data":[{"key":"active","value":"","description":"`yes` or `no`","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"57742b27-c0d3-4bdd-9780-6da10f4bbf1a","name":"Get mailing list members","url":"{{BASE_URL}}/lists/{address}/members/pages?subscribed=&limit=100","description":"Paginate over list members in the given mailing list","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"subscribed","value":"","equals":false,"description":"yes to lists subscribed, no for unsubscribed. list all if not set"},{"key":"limit","value":"100","equals":true,"description":"Maximum number of records to return (optional: 100 by default)"}],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"5a8a42bc-0400-40b7-9f1f-4da0e3fcddbc","name":"Get domain tags","url":"{{BASE_URL}}/{{mydomain}}/tags","description":"Returns a list of tags for a domain. Provides pagination urls if the result set is too long to be returned in a single response.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"domain","value":"","equals":false,"description":"Name of the domain.","enabled":false},{"key":"limit","value":"","equals":false,"description":"Number of entries to return. Default: 100.","enabled":false}],"auth":null,"events":null,"folder":"fb36a802-196b-4e7e-91cc-ea92d145abfc","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"61a01245-0095-4349-9c92-46adec5d2724","name":"Delete single whitelisted address","url":"{{BASE_URL}}/{{mydomain}}/whitelists/{{address}}","description":"","data":[{"key":"address","value":"mbkane04@gmail.com","description":"","type":"text","enabled":true}],"dataMode":"params","headerData":[{"description":"","enabled":true,"key":"Authorization","type":"text","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"b553bbfe-a21a-4bd9-a0aa-a745b24335ca","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"68d1b3c8-f5e2-4437-b519-5339f2b4aa79","name":"Add whitelisted addresses","url":"{{BASE_URL}}/{{mydomain}}/whitelists","description":"","data":[{"key":"address","value":"mbkane04@gmail.com","description":"","type":"text","enabled":true}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"b553bbfe-a21a-4bd9-a0aa-a745b24335ca","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"69a12a48-345d-4a20-b5a0-41b3e300ff73","name":"Add multiple members to mailing list","url":"{{BASE_URL}}/lists/{{mailinglist_address}}/members.json","description":"Adds multiple members, up to 1,000 per call, to a Mailing List.","data":[{"key":"members","value":"","description":"JSON-encoded array. Elements can be either addresses, e.g. [\"bob@example.com\", \"alice@example.com\"], or JSON objects, e.g. [{\"address\": \"bob@example.com\", \"name\": \"Bob\", \"subscribed\": false}, {\"address\": \"alice@example.com\", \"name\": \"Alice\"}] . Custom variables can be provided, see examples.","type":"text"},{"key":"upsert","value":"","description":"yes to update existing members, no (default) to ignore duplicates","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"6b9b7e01-6048-4ea3-a46c-98c5f3746419","name":"Get domain devices","url":"{{BASE_URL}}/{{mydomain}}/tags/{{tag}}/stats/aggregates/devices","description":"Returns a list of devices for a given domain that have triggered event types.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"fb36a802-196b-4e7e-91cc-ea92d145abfc","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"6c9293d8-c394-4c74-baf9-14563ca7a249","name":"Update webhook","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks/{{webhookname}}","description":"Updates an existing webhook.","data":[{"key":"domain","value":"","description":"Name of the webhook","type":"text","enabled":false},{"key":"webhookname","value":"","description":"Name of the webhook","type":"text","enabled":false},{"key":"url","value":"","description":"URL for the webhook event. May be repeated up to 3 times.","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e987585e-db08-4395-b9d1-a7dacadc52f4","responses":[{"id":"8907b489-c51c-4693-9f82-b8f19531419b","name":"Update webhook","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"Webhook has been updated\",\n  \"webhook\": {\n    \"urls\": [ \"https://your_domain.com/v1/clicked\" ]\n  }\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"6c3b7acb-d7c0-4627-a4d3-7f722f356d6a","method":"PUT","headers":"","dataMode":"params","data":[{"key":"domain","value":"","description":"Name of the webhook","type":"text","enabled":false},{"key":"webhookname","value":"","description":"Name of the webhook","type":"text","enabled":false},{"key":"url","value":"https://your_domain,com/v1/clicked","description":"URL for the webhook event. May be repeated up to 3 times.","type":"text"}],"rawModeData":"","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks/clicked","pathVariableData":[],"queryParams":[],"headerData":[]},"headers":[],"cookies":[],"request":"6c9293d8-c394-4c74-baf9-14563ca7a249","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"6d0a4935-a121-4b10-93ab-2a913c054202","name":"Get list validation job","url":"{{BASE_URL}}/lists/{{listname}}@{{mydomain}}/validate","description":"Use this API endpoint to fetch the current status of a Bulk Validation job and ultimately retrieve the download links for the CSV and JSON files.","data":[],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"3d3a1c68-6a17-47cc-8913-355856031e4e","protocolProfileBehavior":{"disableBodyPruning":true},"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"6e9c6a54-8852-41df-b8d4-766820a91e56","name":"Get single bounce","url":"{{BASE_URL}}/{{mydomain}}/bounces/{address}","description":"Fetch a single bounce event by a given email address. Useful to check if a given email address has bounced before.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f","responses":[{"id":"8f2465de-002d-4bc2-b4e7-8e0452de7698","name":"Get single bounce","status":"OK","mime":"","language":"json","text":"{\n  \"address\": \"foo@bar.com\",\n  \"code\": \"550\",\n  \"error\": \"No such mailbox\",\n  \"created_at\": \"Fri, 21 Oct 2011 11:02:55 GMT\"\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"b40ad2ff-495d-4af9-a833-ce3a95112458","method":"GET","headers":"","data":null,"rawModeData":"","url":"{{BASE_URL}}/{{mydomain}}/bounces/{address}?address=foo@bar.com","pathVariableData":[],"queryParams":[{"key":"address","value":"foo@bar.com","equals":true}],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"6e9c6a54-8852-41df-b8d4-766820a91e56","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"6ff3edc7-a1a0-4a21-88c8-1d0a8ad5a9dc","name":"Get domain connection settings","url":"{{BASE_URL}}/domains/{{mydomain}}/connection","description":"Returns delivery connection settings for the defined domain.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"704f563f-e172-454c-9a43-0cfe499549a9","name":"Get single unsubscribe","url":"{{BASE_URL}}/{{mydomain}}/unsubscribes/{address}","description":"Paginate over a list of unsubscribes for a domain.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"f7292cd4-ff8f-444a-8928-060d06c1e882","responses":[{"id":"02a4fd79-9491-48db-87fe-a1f46ca1b88c","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"13c59581-da5c-4f04-a025-e1a78bded05e","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"704f563f-e172-454c-9a43-0cfe499549a9","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"548cc64e-02c3-4883-9364-1a1e66e019a9","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"c74aa44c-57ca-4ba2-aa64-32123004920e","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"704f563f-e172-454c-9a43-0cfe499549a9","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"73ae9d8a-8fbc-4ea3-88f7-db3800a8e6ab","name":"Send message","url":"{{BASE_URL}}/{{mydomain}}/messages","description":"Sends a message by assembling it from the components. Note that you can specify most parameters multiple times, HTTP supports this out of the box. This makes sense for parameters like `cc`, `to` or `attachment`.\n\n| Parameter           | Description                                                                                                                                                                                                                                                                                                                                      |\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| from                | Email address for `From` header                                                                                                                                                                                                                                                                                                                    |\n| to                  | Email address of the recipient(s). Example: `\"Bob <bob@host.com>\"`. You can use commas to separate multiple recipients.                                                                                                                                                                                                                            |\n| cc                  | Same as `To` but for `Cc`                                                                                                                                                                                                                                                                                                                            |\n| bcc                 | Same as `To` but for `Bcc`                                                                                                                                                                                                                                                                                                                           |\n| subject             | Message subject                                                                                                                                                                                                                                                                                                                                  |\n| text                | Body of the message. (text version)                                                                                                                                                                                                                                                                                                              |\n| html                | Body of the message. (HTML version)                                                                                                                                                                                                                                                                                                              |\n| attachment          | File attachment. You can post multiple `attachment` values. Important: You must use `multipart/form-data` encoding when sending attachments.                                                                                                                                                                                                         |\n| inline              | Attachment with `inline` disposition. Can be used to send inline images (see example). You can post multiple `inline` values.                                                                                                                                                                                                                        |\n| o:tag               | Tag string. See [Tagging](https://documentation.mailgun.com/en/latest/user_manual.html#tagging) for more information.                                                                                                                                                                                                                                                                                                    |\n| o:dkim              | Enables/disables DKIM signatures on per-message basis. Pass `yes` or `no`                                                                                                                                                                                                                                                                            |\n| o:deliverytime      | Desired time of delivery. See [Date Format](https://documentation.mailgun.com/en/latest/api-intro.html#date-format). Note: Messages can be scheduled for a maximum of 3 days in the future.                                                                                                                                                                                                                                |\n| o:testmode          | Enables sending in test mode. Pass `yes` if needed. See [Sending in Test Mode](https://documentation.mailgun.com/en/latest/user_manual.html#manual-testmode)                                                                                                                                                                                                                                                                       |\n| o:tracking          | Toggles tracking on a per-message basis, see [Tracking Messages](https://documentation.mailgun.com/en/latest/user_manual.html#tracking-messages) for details. Pass `yes` or `no`.                                                                                                                                                                                                                                                      |\n| o:tracking-clicks   | Toggles clicks tracking on a per-message basis. Has higher priority than domain-level setting. Pass `yes`, `no` or `htmlonly`.                                                                                                                                                                                                                         |\n| o:tracking-opens    | Toggles opens tracking on a per-message basis. Has higher priority than domain-level setting. Pass `yes` or `no`.                                                                                                                                                                                                                                    |\n| o:require-tls       | If set to True this requires the message only be sent over a TLS connection. If a TLS connection can not be established, Mailgun will not deliver the message. If set to False, Mailgun will still try and upgrade the connection, but if Mailgun can not, the message will be delivered over a plaintext SMTP connection. The default is False. |\n| o:skip-verification | If set to True, the certificate and hostname will not be verified when trying to establish a TLS connection and Mailgun will accept any certificate during delivery. If set to False, Mailgun will verify the certificate and hostname. If either one can not be verified, a TLS connection will not be established. The default is False.       |\n| h:X-My-Header       | `h:` prefix followed by an arbitrary value allows to append a custom MIME header to the message (`X-My-Header` in this case). For example, `h:Reply-To` to specify Reply-To address.                                                                                                                                                                   |\n| v:my-var            | `v:` prefix followed by an arbitrary name allows to attach a custom JSON data to the message. See [Attaching Data to Messages](https://documentation.mailgun.com/en/latest/user_manual.html#manual-customdata) for more information.                                                                                                                                                                                                 |","data":[{"key":"from","value":"amp@{{mydomain}}","description":"Email address for `From` header","type":"text"},{"key":"to","value":"mbkane04@outlook.com","description":"Email address of the recipient(s). Example: `\"Bob <bob@host.com>\"`. You can use commas to separate multiple recipients.","type":"text"},{"key":"subject","value":"Farmer's AMP Test","description":"Message subject","type":"text"},{"key":"text","value":"Hello World","description":"Body of the message. (text version)","type":"text","enabled":true},{"key":"html","value":"<table align=\"left\" width=\"50%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n    <tbody>\n        <tr>\n            <td align=\"center\" style=\"background-color:#ffffff\">\n                <table width=\"640\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"background: #ffffff; border: 3px solid #023a76; border-radius: 10px;\">\n                    <tbody>\n                        <tr>\n                            <td style=\"width:100%\">\n                                <table width=\"640\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"background:#d3e7f342;\">\n                                    <tbody>\n                                        <tr>\n\n                                            <td style=\"width:1200px; \"><a href=\"https://xpay.life/\" target=\"_blank\"><img src=\"http://staging.xpay.life/Content/images/EmailTemplateImages/logo.png\" width=\"\" height=\"105\" alt=\"\" style=\"font-size:0em; margin:0 auto; display:block; border:0px;\" class=\"CToWUd\" /></a> </td>\n                                          \n                                        </tr>\n                                      \n                                    </tbody>\n                                </table>\n                            </td>\n                           \n                        </tr>\n\n\n                        <tr>\n                            <td style=\"width:100%; border-bottom:1px solid #023a76\"><img src=\"\" width=\"10\" height=\"0\" alt=\"\" style=\"display:block;font-size:0em;border:0\" class=\"CToWUd\"></td>\n                        </tr>\n\n\n\n                        <tr>\n                            <td>\n                                <table style=\"font-family:'Montserrat',Arial,Helvetica,sans-serif; font-size: 14px;  padding: 17px; font-weight:500;\">\n                                    <tbody>\n                                        <tr>                                        \n                                            <td >\n                                                <p style=\"\">Dear dipanjan mondal,</p>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td class=\"date\">\n                                                <p style=\"font-family: 'Montserrat',Arial,Helvetica,sans-serif; line-height:1.9;\"> Welcome to XPay.Life!</p>\n                                               \n                                        </tr>\n                                        <tr>\n                                            <td style=\"padding-top:8px;\">\n                                               \n                                                    <p style=\"font-family: 'Montserrat',Arial,Helvetica,sans-serif; line-height:1.9;\"><b>829719</b> is your one time password to proceed on XPay Life. It is valid for 10 minutes. Do not share your OTP with anyone.</p>\n                                                   \n                                            </td>\n                                        </tr>\n                                    </tbody>\n                                </table>\n\n                            </td>\n                        </tr>\n                        <tr bgcolor=\"#eaeaea\">\n                            <td style=\"width:100%\"><img src=\"\" width=\"10\" height=\"0\" alt=\"\" style=\"display:block;font-size:0em;border:0px\" class=\"CToWUd\"></td>\n                        </tr>                     \n                        <tr>\n                            <td style=\"width:100%\">\n                                <table width=\"640\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n                                    <tbody>\n                                        <tr>\n                                            <td align=\"left\" style=\"padding-left: 15px; padding-top:15px;\">\n                                                <div style=\"color:#979797;margin-top:0px;letter-spacing:0.016em;font-family: 'Montserrat',Arial,Helvetica,sans-serif;\">\n                                                    <div style=\"font-size:15px;color:#000;font-weight:500;font-family: 'Montserrat',Arial,Helvetica,sans-serif; padding-bottom: 8px;\"><b>For Enquiry?</b></div>\n                                                    <span style=\"font-size:12px; color:#000; padding-top:2px; line-height: 1.8; font-weight: 600;\"><strong>Call Us:</strong> +91-88843 56000 <br><a href=\"https://xpay.life/\" style=\"color:#000;text-decoration:none\" rel=\"noopener\" target=\"_blank\" data-saferedirecturl=\"\"><strong> Email: </strong> info@xpay.life <br /> <strong> Web:  </strong>www.xpay.life</a></strong></span>\n                                                </div>\n                                            </td>\n                                            <td width=\"150\" height=\"12\" alt=\"\" style=\"display:block;font-size:0em;border:0px;\" class=\"CToWUd\"></td>\n                                            <td width=\"248\" style=\"padding:7px;\">\n                                                <table width=\"171\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n                                                    <tbody>\n                                                        <tr>\n                                                            <td align=\"right\" height=\"30\" valign=\"top\" style=\"font-size:14px;color:#000;font-family: 'Montserrat',Arial,Helvetica,sans-serif;letter-spacing:0.01em;font-weight:500\">\n                                                                <p style=\"margin-top:-5px;margin-bottom:10px;float: left;\"><b>Stay Connected </b></p>\n                                                            </td>\n                                                        </tr>\n                                                        <tr>\n                                                            <td valign=\"bottom\">\n                                                                <table width=\"171\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n                                                                    <tbody>\n                                                                        <tr>\n                                                                            <td><a href=\"https://www.facebook.com/XpayLife/?ref=br_rs\" rel=\"noopener\" target=\"_blank\" data-saferedirecturl=\"\"> <img src=\"http://staging.xpay.life/Content/images/EmailTemplateImages/facebook.png\" alt=\"facebook\" title=\"facebook\" width=\"37\" height=\"37\" class=\"CToWUd\"></a></td>\n                                                                            <td><a href=\"https://twitter.com/XpayLife\" rel=\"noopener\" target=\"_blank\" data-saferedirecturl=\"\"><img src=\"http://staging.xpay.life/Content/images/EmailTemplateImages/linkedin.png\" alt=\"Linkedin\" title=\"Linkedin\" width=\"37\" height=\"37\" class=\"CToWUd\"></a></td>\n                                                                            <td><a href=\"https://www.linkedin.com/company/xpay-life/\" rel=\"noopener\" target=\"_blank\" data-saferedirecturl=\"\"><img src=\"http://staging.xpay.life/Content/images/EmailTemplateImages/twitter.png\" alt=\"Twitter\" title=\"Twitter\" width=\"37\" height=\"37\" class=\"CToWUd\"></a></td>\n                                                                            <td><a href=\"https://www.instagram.com/xpay.life/\" rel=\"noopener\" target=\"_blank\" data-saferedirecturl=\"\"><img src=\"http://staging.xpay.life/Content/images/EmailTemplateImages/insta.png\" alt=\"Instagram\" title=\"Instagram\" width=\"37\" height=\"37\" class=\"CToWUd\"></a></td>\n                                                                        </tr>\n                                                                    </tbody>\n                                                                </table>\n                                                            </td>\n                                                        </tr>\n                                                    </tbody>\n                                                </table>\n\n                                            </td>\n\n                                        </tr>\n\n                                    </tbody>\n                                </table>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td>\n                                <hr />\n                            </td>\n                        </tr>\n                        <tr>\n                            <td>   \n                                <a href=\"\" target=\"_blank\" style=\"padding-left:10px; color:#023a76; text-decoration:none; margin-left:5px;\"> About Us</a>\n                                <a href=\"\" target=\"_blank\" style=\"padding-left:10px; color:#023a76; text-decoration:none;\">Terms & Condition</a>\n                                <a href=\"\" target=\"_blank\" style=\"padding-left:10px; color:#023a76; text-decoration:none;\"> Privacy Policy</a>\n                            </td>\n                            <td>\n                               \n\n                            </td>\n                            <td></td>\n                        </tr>\n                        <tr>\n                           \n                            <td style=\"width:100%\">\n                                <p style=\"font-weight: normal;line-height: 1.9;  margin: 16px; font-style: italic; color: #454545; font-size: 12px;\"><strong>Important Note:</strong> XPay.Life never asks for your password, bank details or PIN over email or phone. Please do not share your XPay.Life password with anyone. For any query, please write to support@xpay.life  *T & C Apply</p>\n\n                            </td>\n                        </tr>\n                    </tbody>\n                </table>\n            </td>\n        </tr>\n    </tbody>\n</table>","description":"","type":"text","enabled":true},{"key":"amp-html","value":"<!--\n     Below is the mininum valid AMP4EMAIL document. Just type away\n     here and the AMP Validator will re-check your document on the fly.\n-->\n<!doctype html>\n<html ⚡4email>\n<head>\n  <meta charset=\"utf-8\">\n  <script async src=\"https://cdn.ampproject.org/v0.js\"></script>\n  <style amp4email-boilerplate>body{visibility:hidden}</style>\n</head>\n<body>\n  Hello, AMP4EMAIL world.\n</body>\n</html>","description":"","type":"text","enabled":true},{"key":"cc","value":"","description":"Same as `To` but for `Cc`","type":"text","enabled":false},{"key":"bcc","value":"","description":"Same as `To` but for `Bcc`","type":"text","enabled":false},{"key":"attachment","value":[],"description":"File attachment. You can post multiple `attachment` values. Important: You must use `multipart/form-data` encoding when sending attachments.","type":"file","enabled":false},{"key":"inline","value":"","description":"Attachment with `inline` disposition. Can be used to send inline images (see example). You can post multiple `inline` values.","type":"text","enabled":false},{"key":"template","value":"{{template}}","type":"text","enabled":false},{"key":"v:first_name","value":"","description":"","type":"text","enabled":false},{"key":"t:version","value":"","description":"","type":"text","enabled":false},{"key":"t:text","value":"","description":"","type":"text","enabled":false},{"key":"o:tag","value":"","description":"","type":"text","enabled":false},{"key":"o:tag","value":"training","description":"Tag string. See Tagging for more information.","type":"text","enabled":false},{"key":"o:dkim","value":"","description":"Enables/disables DKIM signatures on per-message basis. Pass `yes` or `no`","type":"text","enabled":false},{"key":"o:deliverytime","value":"","description":"Desired time of delivery. See Date Format. Note: Messages can be scheduled for a maximum of 3 days in the future.","type":"text","enabled":false},{"key":"o:testmode","value":"","description":"Enables sending in test mode. Pass `yes` if needed. See Sending in Test Mode","type":"text","enabled":false},{"key":"o:tracking","value":"no","description":"Toggles tracking on a per-message basis, see Tracking Messages for details. Pass `yes` or `no`.","type":"text","enabled":true},{"key":"o:tracking-clicks","value":"","description":"Toggles clicks tracking on a per-message basis. Has higher priority than domain-level setting. Pass `yes`, `no` or `htmlonly`.","type":"text","enabled":false},{"key":"o:tracking-opens","value":"","description":"Toggles opens tracking on a per-message basis. Has higher priority than domain-level setting. Pass `yes` or `no`.","type":"text","enabled":false},{"key":"o:require-tls","value":"","description":"If set to _True_ this requires the message only be sent over a TLS connection. If a TLS connection can not be established, Mailgun will not deliver the message.\n\nIf set to _False_, Mailgun will still try and upgrade the connection, but if Mailgun can not, the message will be delivered over a plaintext SMTP connection.\n\nThe default is False.","type":"text","enabled":false},{"key":"o:skip-verification","value":"","description":"If set to _True_, the certificate and hostname will not be verified when trying to establish a TLS connection and Mailgun will accept any certificate during delivery.\n\nIf set to _False_, Mailgun will verify the certificate and hostname. If either one can not be verified, a TLS connection will not be established.\n\nThe default is False.","type":"text","enabled":false},{"key":"h:X-My-Header","value":"","description":"`h:` prefix followed by an arbitrary value allows to append a custom MIME header to the message (`X-My-Header` in this case). For example, `h:Reply-To` to specify Reply-To address.","type":"text","enabled":false},{"key":"cc","value":"","description":"","type":"text","enabled":false},{"key":"X-Mailgun-Variables","value":"","description":"","type":"text","enabled":false},{"key":"v:last_name","value":"","description":"","type":"text","enabled":false},{"key":"v:my_message_id","value":"","description":"","type":"text","enabled":false}],"dataMode":"params","headerData":[{"description":"","enabled":true,"key":"Authorization","type":"text","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":[{"listen":"prerequest","script":{"id":"1835ce89-85a5-44ab-be37-f1c6874e74ac","exec":[""],"type":"text/javascript"}}],"folder":"3c97e675-6980-446a-8bab-9e54e029702b","responses":[{"id":"2db17f67-95b3-47a3-93b3-b5f353671e7b","name":"Sending a message with HTML and text parts, and attachments","status":"OK","mime":"","language":"json","text":"{\n  \"id\": \"<20180821193728.1.6AD4EE2093B45F30@sandbox974aad6390954e39b88f4bfa8cf184c3.mailgun.org>\",\n  \"message\": \"Queued. Thank you.\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"aa2a4c71-cdc5-4ca0-a694-4769a29acd62","method":"POST","headers":"Content-Type: application/x-www-form-urlencoded","dataMode":"params","data":[{"key":"from","value":"'Excited user <YOU@YOUR_DOMAIN_NAME>'","type":"text"},{"key":"to","value":"'foo@example.com'","type":"text"},{"key":"cc","value":"'bar@example.com'","type":"text"},{"key":"bcc","value":"'baz@example.com'","type":"text"},{"key":"subject","value":"'Hello'","type":"text"},{"key":"text","value":"'Testing some Mailgun awesomeness!'","type":"text"},{"key":"html","value":"'<html>HTML version of the body</html>'","type":"text"},{"key":"attachment","value":[],"type":"file"},{"key":"attachment","value":[],"type":"file"},{"key":"o","value":"tag:","type":"text","enabled":false},{"key":"o","value":"dkim:","type":"text","enabled":false},{"key":"o","value":"deliverytime:","type":"text","enabled":false},{"key":"o","value":"testmode:","type":"text","enabled":false},{"key":"o","value":"tracking:","type":"text","enabled":false},{"key":"o","value":"tracking-clicks:","type":"text","enabled":false},{"key":"o","value":"require-tls:","type":"text","enabled":false},{"key":"o","value":"skip-verification:","type":"text","enabled":false},{"key":"h","value":"X-My-Header:","type":"text","enabled":false},{"key":"v","value":"my-var:","type":"text","enabled":false}],"rawModeData":"","url":"https://api.mailgun.net/v3/{{mydomain}}/messages","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","type":"text","name":"Content-Type","value":"application/x-www-form-urlencoded"}]},"headers":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, x-requested-with","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Max-Age","value":"600","name":"Access-Control-Max-Age","description":"Indicates how long the results of a preflight request can be cached in seconds."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"inline","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Length","value":"136","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 21 Aug 2018 19:37:28 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"}],"cookies":[],"request":"73ae9d8a-8fbc-4ea3-88f7-db3800a8e6ab","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"71aacc8e-add1-4cb9-a724-d9b04ee46eb5","name":"Sending a plain text message","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"Queued. Thank you.\",\n  \"id\": \"<20111114174239.25659.5817@samples.mailgun.org>\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"9a156272-0889-4194-b0c7-d0df658be0e4","method":"POST","headers":"Content-Type: application/x-www-form-urlencoded","dataMode":"params","data":[{"key":"from","value":"'Excited user <mailgun@YOUR_DOMAIN_NAME>'","type":"text"},{"key":"to","value":"YOU@YOUR_DOMAIN_NAME","type":"text"},{"key":"to","value":"bar@example.com","type":"text"},{"key":"subject","value":"'Hello'","type":"text"},{"key":"bcc","value":"","type":"text","enabled":false},{"key":"text","value":"'Testing some Mailgun awesomeness!'","type":"text"},{"key":"html","value":"oh yes, wait a minute mister postman","type":"text","enabled":false},{"key":"attachment","value":"","type":"text","enabled":false},{"key":"inline","value":"","type":"text","enabled":false},{"key":"o","value":"tag:","type":"text","enabled":false},{"key":"o","value":"dkim:","type":"text","enabled":false},{"key":"o","value":"deliverytime:","type":"text","enabled":false},{"key":"o","value":"testmode:","type":"text","enabled":false},{"key":"o","value":"tracking:","type":"text","enabled":false},{"key":"o","value":"tracking-clicks:","type":"text","enabled":false},{"key":"o","value":"require-tls:","type":"text","enabled":false},{"key":"o","value":"skip-verification:","type":"text","enabled":false},{"key":"h","value":"X-My-Header:","type":"text","enabled":false},{"key":"v","value":"my-var:","type":"text","enabled":false},{"key":"attachment","value":[],"type":"file","enabled":false}],"rawModeData":"","url":"https://api.mailgun.net/v3/{{mydomain}}/messages","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}]},"headers":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, x-requested-with","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Max-Age","value":"600","name":"Access-Control-Max-Age","description":"Indicates how long the results of a preflight request can be cached in seconds."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"inline","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Length","value":"136","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 21 Aug 2018 19:37:28 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"}],"cookies":[],"request":"73ae9d8a-8fbc-4ea3-88f7-db3800a8e6ab","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"preRequestScript":null,"tests":null,"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"76bc10ea-7588-4a0e-8604-a13710540424","name":"Cancel list validation job","url":"{{BASE_URL}}/lists/{{listname}}@{{mydomain}}/validate","description":"Use this API endpoint to fetch the current status of a Bulk Validation job and ultimately retrieve the download links for the CSV and JSON files.","data":[],"dataMode":"params","headerData":[{"description":"","enabled":true,"key":"Authorization","type":"text","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"3d3a1c68-6a17-47cc-8913-355856031e4e","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"788f1666-f246-4c6a-8ebe-c867b8c33f21","name":"Render","url":"{{BASE_URL}}/{{mydomain}}/templates/{{template}}/render","description":"","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"7efceca5-1d67-4e7a-84f7-52b45118f162","name":"Assign IP to domain","url":"{{BASE_URL}}/domains/{{mydomain}}/ips","description":"Assign a dedicated IP to the domain specified.\n\n> **Note**: Only dedicated IPs can be assigned to a domain.","data":[{"key":"ip","value":"","description":"IP address that should be assigned to the domain pool.","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"dbfb4048-3866-4b5f-823a-a6484bf9ccf2","responses":[{"id":"ccf92cea-2fef-4180-b964-eb947bd3fe54","name":"Assign a dedicated IP to the domain pool.","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"success\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"f3231446-6531-408f-8ec4-593eaf1e149c","method":"POST","headers":"Content-Type: application/x-www-form-urlencoded","dataMode":"params","data":[{"key":"ip","value":"127.0.0.1","description":"IP address that should be assigned to the domain pool.","type":"text"}],"rawModeData":"","url":"https://api.mailgun.net/v3/domains/YOUR_DOMAIN_HERE/ips","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","type":"text","name":"Content-Type","value":"application/x-www-form-urlencoded"}]},"headers":[],"cookies":[],"request":"7efceca5-1d67-4e7a-84f7-52b45118f162","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"7f5be694-6556-41b5-be4f-8b3971c4a88b","name":"Update mailing list","url":"{{BASE_URL}}/lists","description":null,"data":[{"key":"address","value":"","description":"New name, e.g. My newsletter (optional)","type":"text"},{"key":"description","value":"","description":"Description string (optional)","type":"text","enabled":false},{"key":"access_level","value":"","description":"List access level, one of: readonly (default), members, everyone","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"84b0c175-0b3a-4ce2-85fc-410607ab4380","name":"Update tag","url":"{{BASE_URL}}/{{mydomain}}/tags/{{tag}}","description":"Updates a given tag with the information provided.","data":[{"key":"domain","value":"","description":"Name of the domain","type":"text"},{"key":"tag","value":"","description":"Name of the tag","type":"text"},{"key":"description","value":"","description":"Optional description of a tag","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"fb36a802-196b-4e7e-91cc-ea92d145abfc","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"8922c2c1-2b01-465c-b091-1c63f1fc59d1","name":"Delete webhook","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks/{{webhookname}}","description":null,"data":[{"key":"domain","value":"","description":"Name of the domain","type":"text"},{"key":"webhookname","value":"","description":"Name of the webhook","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e987585e-db08-4395-b9d1-a7dacadc52f4","responses":[{"id":"47cdafbc-2c1f-4b99-850f-7ad218247259","name":"Delete webhook","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"Webhook has been deleted\",\n  \"webhook\": {\n    \"urls\": [\n              \"https://your_domain.com/v1/clicked\",\n              \"https://your_domain.com/v2/clicked\",\n              \"https://your_partner_domain.com/v1/clicked\"\n            ]\n  }\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"e0ad1a60-1304-436e-8e2d-26549e69dd63","method":"DELETE","headers":"","dataMode":"params","data":[{"key":"domain","value":"","description":"Name of the domain","type":"text","enabled":false},{"key":"webhookname","value":"","description":"Name of the webhook","type":"text","enabled":false}],"rawModeData":"","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks/clicked","pathVariableData":[],"queryParams":[],"headerData":[]},"headers":[],"cookies":[],"request":"8922c2c1-2b01-465c-b091-1c63f1fc59d1","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"8dcbc929-ad9c-4798-9f8a-3bec958f6a89","name":"Update SMTP credentials","url":"{{BASE_URL}}/domains/{{mydomain}}/credentials/{login}","description":"Updates the specified SMTP credentials. Currently only the password can be changed.\n\n| Parameter | Description                                                 |\n|-----------|-------------------------------------------------------------|\n| password  | A password for the SMTP credentials. (Length Min 5, Max 32) |","data":[{"key":"password","value":"","description":"A password for the SMTP credentials. (Length Min 5, Max 32)","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"90bd7601-fe34-4f5a-bd85-46bdda3ee799","name":"Create mailing list","url":"{{BASE_URL}}/lists","description":null,"data":[{"key":"address","value":"","description":"A valid email address for the mailing list, e.g. developers@mailgun.net, or Developers <devs@mg.net>","type":"text"},{"key":"name","value":"","description":"Mailing list name, e.g. Developers (optional)","type":"text"},{"key":"description","value":"","description":"A description (optional)","type":"text"},{"key":"access_level","value":"","description":"List access level, one of: readonly (default), members, everyone","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","responses":[{"id":"6e5f2bf9-0d2f-4a5b-837d-45c1298bde47","name":"Create mailing list","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"Mailing list has been created\",\n  \"list\": {\n      \"created_at\": \"Tue, 06 Mar 2012 05:44:45 GMT\",\n      \"address\": \"dev@samples.mailgun.org\",\n      \"members_count\": 0,\n      \"description\": \"Mailgun developers list\",\n      \"name\": \"\"\n  }\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"b4a84776-c541-4871-b2ef-e82e1d616103","method":"POST","headers":"","dataMode":"params","data":[{"key":"address","value":"list@your_domain_name","description":"A valid email address for the mailing list, e.g. developers@mailgun.net, or Developers <devs@mg.net>","type":"text"},{"key":"name","value":"","description":"Mailing list name, e.g. Developers (optional)","type":"text","enabled":false},{"key":"description","value":"Mailgun developers list{\n  \"message\": \"Mailing list has been created\",\n  \"list\": {\n      \"created_at\": \"Tue, 06 Mar 2012 05:44:45 GMT\",\n      \"address\": \"dev@samples.mailgun.org\",\n      \"members_count\": 0,\n      \"description\": \"Mailgun developers list\",\n      \"name\": \"\"\n  }\n}\n","description":"A description (optional)","type":"text"},{"key":"access_level","value":"","description":"List access level, one of: readonly (default), members, everyone","type":"text","enabled":false}],"rawModeData":"","url":"{{BASE_URL}}/lists","pathVariableData":[],"queryParams":[],"headerData":[]},"headers":[],"cookies":[],"request":"90bd7601-fe34-4f5a-bd85-46bdda3ee799","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"935f6f94-c6d9-4b02-8708-d857a7e245f5","name":"Get single template and all versions","url":"{{BASE_URL}}/{{mydomain}}/templates/{{template}}","description":null,"data":null,"dataMode":null,"headerData":[{"description":"","enabled":true,"key":"Authorization","type":"text","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"937f11b4-14c3-42cb-8968-8e7a28e51f06","name":"Get single route","url":"{{BASE_URL}}/routes/{{route_id}}","description":"Returns a single route object based on its ID.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"id","value":"","equals":false,"description":"ID of the route","enabled":false}],"auth":null,"events":null,"folder":"d7def638-3bd7-4205-9e82-221423c633a4","responses":[{"id":"135297bf-5e7e-4fd4-8d1f-b729a3f1fbf1","name":"Get single route","status":"OK","mime":"","language":"json","text":"{\n  \"route\": {\n      \"description\": \"Sample route\",\n      \"created_at\": \"Wed, 15 Feb 2012 13:03:31 GMT\",\n      \"actions\": [\n          \"forward(\\\"http://myhost.com/messages/\\\")\",\n          \"stop()\"\n      ],\n      \"priority\": 0,\n      \"expression\": \"match_recipient(\\\".*@samples.mailgun.org\\\")\",\n      \"id\": \"4f3bad2335335426750048c6\"\n  }\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"7a427ec5-f698-48d5-b1d8-5e1830bbe56f","method":"POST","headers":"","data":null,"rawModeData":"","url":"{{BASE_URL}}/routes/4f3bad2335335426750048c6?","pathVariableData":[],"queryParams":[{"key":"id","value":"","equals":false,"description":"ID of the route","enabled":false}],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"937f11b4-14c3-42cb-8968-8e7a28e51f06","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"99c28905-b382-4af1-9361-48303251a4aa","name":"Change DKIM Authority","url":"{{BASE_URL}}/domains/{{mydomain}}/dkim_authority","description":"| Parameter | Description                                                                                                                                                                                                                                                                                                         |\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| self      | true or false  Change the DKIM authority for a domain.  If set to true, the domain will be the DKIM authority for itself even if the root domain is registered on the same mailgun account  If set to false, the domain will have the same DKIM authority as the root domain registered on the same mailgun account |\n\n\n> Note: Use with caution: Do not forget to change the corresponding DNS record. It can take 24-48 hours for DNS changes to propagate. Changing the DKIM autority of an active domain affects its current deliveriability.","data":[{"key":"self","value":"","description":"_true_ or _false_\n\nChange the DKIM authority for a domain.\n\nIf set to _true_, the domain will be the DKIM authority for itself even if the root domain is registered on the same mailgun account\n\nIf set to _false_, the domain will have the same DKIM authority as the root domain registered on the same mailgun account","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"9b3267fe-5a81-41b8-8588-98e27d2bc1c1","name":"Get events","url":"{{BASE_URL}}/{{mydomain}}/events","description":"Get events for a domain.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"message-id","value":"","equals":true,"description":"A Mailgun message id returned by the messages API.","enabled":false},{"key":"begin","value":"","equals":true,"description":"The beginning of the search time range. It can be specified as a string (see Date Format) or linux epoch seconds. Refer to Time Range for details.","enabled":false},{"key":"end","value":"","equals":true,"description":"The end of the search time range. It can be specified as a string (see Date Format) or linux epoch seconds. Refer to Time Range for details.","enabled":false},{"key":"ascending","value":"","equals":false,"description":"Defines the direction of the search time range and must be provided if the range end time is not specified. Can be either yes or no. Refer to Time Range for details.","enabled":false},{"key":"limit","value":"","equals":true,"description":"Number of entries to return. (300 max)","enabled":false},{"key":"event","value":"","equals":true,"description":"An event type. For a complete list of all events written to the log see the Event Types table below.","enabled":false},{"key":"list","value":"","equals":false,"description":"The email address of a mailing list the message was originally sent to.","enabled":false},{"key":"attachment","value":"","equals":false,"description":"A name of an attached file.","enabled":false},{"key":"from","value":"","equals":false,"description":"An email address mentioned in the from MIME header.","enabled":false},{"key":"subject","value":"","equals":false,"description":"A subject line.","enabled":false},{"key":"to","value":"","equals":false,"description":"An email address mentioned in the to MIME header.","enabled":false},{"key":"size","value":"","equals":false,"description":"Message size. Mostly intended to be used with range filtering expressions (see below).","enabled":false},{"key":"recipient","value":"","equals":false,"description":"An email address of a particular recipient. Even though a message may be addressed to several recipients, delivery is tracked on per recipient basis and every event pertains to only one recipient.","enabled":false},{"key":"tags","value":"","equals":false,"description":"User defined tags.","enabled":false},{"key":"severity","value":"","equals":false,"description":"Temporary or Permanent. Used to filter events based on severity, if exists. (Currently failed events only)","enabled":false}],"auth":null,"events":null,"folder":"b6df1a28-595a-4b9b-83d2-34f5c01498b3","responses":[{"id":"9f192d94-15fb-4ed0-98a4-b1cc08857556","name":"Get events","status":"OK","mime":"","language":"json","text":"{\n  \"items\": [\n    {\n      \"tags\": [],\n      \"id\": \"czsjqFATSlC3QtAK-C80nw\",\n      \"timestamp\": 1376325780.160809,\n      \"envelope\": {\n        \"sender\": \"me@samples.mailgun.org\",\n        \"transport\": \"\"\n      },\n      \"event\": \"accepted\",\n      \"campaigns\": [],\n      \"user-variables\": {},\n      \"flags\": {\n        \"is-authenticated\": true,\n        \"is-test-mode\": false\n      },\n      \"message\": {\n        \"headers\": {\n          \"to\": \"foo@example.com\",\n          \"message-id\": \"20130812164300.28108.52546@samples.mailgun.org\",\n          \"from\": \"Excited User <me@samples.mailgun.org>\",\n          \"subject\": \"Hello\"\n        },\n        \"attachments\": [],\n        \"recipients\": [\n          \"foo@example.com\",\n          \"baz@example.com\",\n          \"bar@example.com\"\n        ],\n        \"size\": 69\n      },\n      \"recipient\": \"baz@example.com\",\n      \"method\": \"http\"\n    ,\n    }","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"e2406a7e-b5ef-4cb8-890d-5df47ca67308","method":"GET","headers":": ","data":null,"rawModeData":"","url":"{{BASE_URL}}/{{mydomain}}/events","pathVariableData":[],"queryParams":[],"headerData":[{"key":"","value":""}],"dataMode":null},"headers":[],"cookies":[],"request":"9b3267fe-5a81-41b8-8588-98e27d2bc1c1","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"9dbeb1e6-ef27-4fe3-b4cb-8838e360104f","name":"Get tag stats","url":"{{BASE_URL}}/{{mydomain}}/tags/{tag}/stats?event=accepted","description":"Returns statistics for a given tag.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"event","value":"accepted","equals":true,"description":"The type of the event. For a complete list of all events written to the log see the Event Types table below. (Required)"},{"key":"start","value":"","equals":false,"description":"The starting time. Should be in RFC 2822#page-14 or unix epoch format. Default: 7 days from the current time.","enabled":false},{"key":"end","value":"","equals":false,"description":"The ending date. Should be in RFC 2822#page-14 or unix epoch time in seconds. Default: current time.","enabled":false},{"key":"resolution","value":"","equals":false,"description":"Can be either hour, day or month. Default: day","enabled":false},{"key":"duration","value":"","equals":false,"description":"Period of time with resolution encoded. See Duration for more info. If provided, overwrites the start date and resolution.","enabled":false}],"auth":null,"events":null,"folder":"fb36a802-196b-4e7e-91cc-ea92d145abfc","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"a43f267e-67f1-407d-96a4-054007c680b8","name":"Get single complaint","url":"{{BASE_URL}}/{{mydomain}}/complaints/{address}?","description":"Add multiple unsubscribe records to the unsubscribe list in a single API call.","data":null,"dataMode":null,"headerData":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"limit","value":"","equals":false,"description":"Number of records to return (optional, default: 100, max: 10000)","enabled":false}],"auth":null,"events":null,"folder":"c9eaa5eb-f3f9-4051-9bc5-40b6ec20e626","responses":[{"id":"4274e932-7578-45b4-9382-5708d1156332","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"b67fdbef-0b0c-4cc1-a67f-76f6b5c5e740","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"a43f267e-67f1-407d-96a4-054007c680b8","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"459ce4f7-c055-4ca2-a42c-be6ceb88ef93","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"b2727f96-6f70-4d7b-9314-af5272ba9b76","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"a43f267e-67f1-407d-96a4-054007c680b8","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Content-Type: application/json\nAuthorization: Basic {{token}}\n","pathVariables":{}},{"id":"a6497b30-b657-4b41-a0e4-75981fb0c2ea","name":"Get single validation job","url":"{{BASE_URL}}/address/validate/bulk/{{bulk_id}}","description":"","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"94b451a0-5d80-46e2-9c0d-bd97a8a4f969","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"a7323ef4-e337-4222-a31e-ce6ad98da916","name":"Delete route","url":"{{BASE_URL}}/{{mydomain}}/routes/{{route_id}}","description":"Deletes a route based on the id.","data":[{"key":"id","value":"","description":"ID of the route","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"d7def638-3bd7-4205-9e82-221423c633a4","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"a7f2cf78-aad7-42eb-b3ba-eab230311dcd","name":"Get SMTP credentials for a domain","url":"{{BASE_URL}}/domains/{{mydomain}}/credentials?limit=100&skip=0","description":"Returns a list of SMTP credentials for the defined domain.\n\n| Parameter | Description                                           |\n|-----------|-------------------------------------------------------|\n| limit     | Maximum number of records to return. (100 by default) |\n| skip      | Number of records to skip. (0 by default)             |","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"limit","value":"100","equals":true,"description":"Maximum number of records to return; 100 by default"},{"key":"skip","value":"0","equals":true,"description":"Number of records to skip; 0 by default."}],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"a8c45f04-9a96-4d6a-9b5d-ac6d34809e7d","name":"Get single mailing list by address","url":"{{BASE_URL}}/lists/{{mailinglist_address}}","description":null,"data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"b12b6a95-8433-40e2-95f4-2a04a210a34e","name":"Get all IPs for an account","url":"{{BASE_URL}}/ips","description":"| Parameter | Description                                                             |\n|-----------|-------------------------------------------------------------------------|\n| dedicated | Return only dedicated IPs if set to true. (all are returned by default) |","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"dedicated","value":"false","equals":true,"description":"Return only dedicated IPs if set to _true_. (all are returned by default)","enabled":false}],"auth":null,"events":null,"folder":"dbfb4048-3866-4b5f-823a-a6484bf9ccf2","responses":[{"id":"45bdf240-0fa4-4a3a-8d24-949b803596b3","name":"Get all IPs for an account","status":"OK","mime":"","language":"json","text":"{\n  \"items\": [\"192.161.0.1\", \"192.168.0.2\"],\n  \"total_count\": 2\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"7dff9ac4-971a-4803-a59e-72dabeaf9b0f","method":"GET","headers":"","data":null,"rawModeData":"","url":"https://api.mailgun.net/v3/ips?dedicated=true","pathVariableData":[],"queryParams":[{"key":"dedicated","value":"true","equals":true}],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"b12b6a95-8433-40e2-95f4-2a04a210a34e","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"b3227cd8-aa50-4151-a9d3-7e34a579c9ac","name":"Get single whitelisted address","url":"{{BASE_URL}}/{{mydomain}}/whitelists/{{whitelisted_address}}","description":"","data":[{"key":"address","value":"mbkane04@gmail.com","description":"","type":"text","enabled":true}],"dataMode":"params","headerData":[{"description":"","enabled":true,"key":"Authorization","type":"text","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"b553bbfe-a21a-4bd9-a0aa-a745b24335ca","protocolProfileBehavior":{"disableBodyPruning":true},"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"b44dc3b0-bb69-4dc6-a104-3b47b3320d35","name":"Delete member from mailing list","url":"{{BASE_URL}}/lists/{{mailinglist_address}}/members/{{address}}","description":"Delete a mailing list member.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"b48d1874-943d-417b-a7a9-2697fe56baac","name":"Get stat items","url":"{{BASE_URL}}/{{mydomain}}/stats?limit=100&skip=0","description":"Returns a list of event stats items. Each record represents counts for one event per one day.\n\n> **Warning**: This is the legacy API that should not be used.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"limit","value":"100","equals":true,"description":"Maximum number of records to return. (100 by default)"},{"key":"skip","value":"0","equals":true,"description":"Number of records to skip. (0 by default)"},{"key":"event","value":"","equals":false,"description":"Name of the event to receive the stats for. Note that you can specify this parameter multiple times to fetch stats for several events at the same time (see example)","enabled":false},{"key":"start-date","value":"","equals":false,"description":"The date to receive the stats starting from. Should have ISO8601 format (YYYY-MM-DD).","enabled":false}],"auth":null,"events":null,"folder":"0fd17b2c-43f6-4609-a87a-6e3eb3d0ee95","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"b524baa6-6f43-473f-991b-f2d2f9510942","name":"Delete one template","url":"{{BASE_URL}}/{{mydomain}}/templates/{{template}}","description":null,"data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"b9daf1d3-219f-4d01-9510-9a3ecfd4c53f","name":"Delete ALL Templates","url":"{{BASE_URL}}/{{mydomain}}/templates","description":null,"data":null,"dataMode":null,"headerData":[{"description":"","enabled":true,"key":"Authorization","type":"text","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"bdfd17d1-f97b-4c38-b060-1c7bdf6c982b","name":"Delete bounce list","url":"{{BASE_URL}}/{{mydomain}}/bounces","description":"Add a bounce record to the bounce list. Updates the existing record if the address is already there.","data":[],"dataMode":"raw","headerData":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f","responses":[{"id":"777cb3e1-7710-4015-a760-0d5a03ae84ef","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"458f6e84-a8f6-4e4e-8a77-62a246f49246","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"bdfd17d1-f97b-4c38-b060-1c7bdf6c982b","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"c83d5455-bff2-487d-9c36-974829849d5f","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"97ac8074-36f4-4bc0-a5a4-c3152e291f1e","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"bdfd17d1-f97b-4c38-b060-1c7bdf6c982b","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","rawModeData":"","headers":"Content-Type: application/json\nAuthorization: Basic {{token}}\n","pathVariables":{}},{"id":"bfe45b32-0495-4a85-bdad-dd4809bec571","name":"Get webhook details","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks/{{webhookname}}","description":"Returns details about a the webhook specified in the URL.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"domain","value":"","equals":false,"description":"Name of the domain","enabled":false},{"key":"id","value":"","equals":false,"description":"Name of the webhook (see above for supported webhooks)","enabled":false}],"auth":null,"events":null,"folder":"e987585e-db08-4395-b9d1-a7dacadc52f4","responses":[{"id":"4e580569-caa9-4f68-93a6-17fb16a15c33","name":"Return a webhook for a specific event for the defined domain.","status":"OK","mime":"","language":"json","text":"{\n  \"webhook\": {\n    \"urls\": [ \"https://your_domain.com/v1/clicked\" ]\n  }\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"54dfd5af-2c50-4720-bfa9-f76a72c754b8","method":"GET","headers":"","data":null,"rawModeData":"","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks/clicked?","pathVariableData":[],"queryParams":[{"key":"domain","value":"","equals":false,"description":"Name of the domain","enabled":false},{"key":"id","value":"","equals":false,"description":"Name of the webhook (see above for supported webhooks)","enabled":false}],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"bfe45b32-0495-4a85-bdad-dd4809bec571","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"c116143a-c80a-45c7-8923-98c986e02fe2","name":"Enable domain","url":"{{BASE_URL}}/domains/{{mydomain}}/enable","description":"","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"c1b4690b-82b2-4181-92ec-d6ecde941e57","name":"Validate address (private)","url":"{{BASE_URL}}/address/validate?address=","description":null,"data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"address","value":"","equals":true,"description":"","enabled":true},{"key":"debug","value":"true","equals":true,"description":"","enabled":false}],"auth":null,"events":null,"folder":"20183f6a-17b4-4455-9cb1-26d476936fa1","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"cc03acc1-04ad-4564-9ca9-b025d8489870","name":"Create webhook","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks","description":"Creates a new webhook. Note When adding a Clicked or Opened webhook, ensure that you also have tracking enabled.","data":[{"key":"domain","value":"","description":"Name of the domain","type":"text"},{"key":"id","value":"","description":"Name of the webhook","type":"text"},{"key":"url","value":"","description":"URL for the webhook event. May be repeated up to 3 times. ","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e987585e-db08-4395-b9d1-a7dacadc52f4","responses":[{"id":"bf301f08-b89d-4992-af14-0435ae4de4cd","name":"Create a new webhook.","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"Webhook has been created\",\n  \"webhook\": {\n    \"urls\": [\n              \"https://your_domain.com/v1/clicked\",\n              \"https://your_domain.com/v2/clicked\",\n              \"https://your_partner_domain.com/v1/clicked\"\n            ]\n  }\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"b37edf45-0cf5-4d83-bea5-18911ebf7f04","method":"POST","headers":"","dataMode":"params","data":[{"key":"domain","value":"","description":"Name of the domain","type":"text","enabled":false},{"key":"id","value":"clicked","description":"Name of the webhook","type":"text"},{"key":"url","value":"https://your_domain.com/v1/clicked","description":"URL for the webhook event. May be repeated up to 3 times. ","type":"text"},{"key":"url","value":"https://your_domain.com/v2/clicked","type":"text"},{"key":"url","value":"https://your_partner_domain.com/v1/clicked","type":"text"}],"rawModeData":"","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks","pathVariableData":[],"queryParams":[],"headerData":[]},"headers":[],"cookies":[],"request":"cc03acc1-04ad-4564-9ca9-b025d8489870","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"d6822e4d-8f30-4673-8459-3fe938169a36","name":"Update domain tracking settings for UNSUBSCRIBES","url":"{{BASE_URL}}/domains/{{mydomain}}/tracking/unsubscribe","description":"| Parameter   | Description                                                                                                                                                                                                                                                                                                            |\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| active      | true or false.                                                                                                                                                                                                                                                                                                         |\n| html_footer | Custom HTML version of unsubscribe footer.                                                                                                                                                                                                                                                                             |\n| text_footer | Custom text version of unsubscribe footer.Mailgun can automatically provide an unsubscribe footer in each email you send and also provides you with several unsubscribe variables. You can customize your unsubscribe footer by editing the settings in the Control Panel. See Tracking Unsubscribes for more details. |","data":[{"key":"active","value":"","description":"true or false.","type":"text"},{"key":"html_footer","value":"","description":"Custom HTML version of unsubscribe footer.","type":"text"},{"key":"text_footer","value":"","description":"Custom text version of unsubscribe footer.\n\n_Mailgun can automatically provide an unsubscribe footer in each email you send and also provides you with several unsubscribe variables. You can customize your unsubscribe footer by editing the settings in the Control Panel._ See Tracking Unsubscribes for more details.","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"de9bc643-be82-496e-aa45-10bf22d177d6","name":"Get webhooks","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks","description":"Returns a list of webhooks set for the specified domain.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e987585e-db08-4395-b9d1-a7dacadc52f4","responses":[{"id":"ced16a85-1a38-470e-9199-97b9ee0c9daa","name":"Return a list of webhooks set for the specified domain.","status":"OK","mime":"","language":"json","text":"{\n  \"webhooks\": {\n    \"opened\": {\n      \"urls\": [\n                \"https://your_domain.com/v1/opened\",\n                \"https://your_domain.com/v2/opened\"\n              ]\n    },\n    \"clicked\": {\n      \"urls\": [ \"https://your_domain.com/v1/clicked\" ]\n    }\n  }\n}\n","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"fce0df4b-f2fd-4402-9251-bc92c63cf83f","method":"GET","headers":"","data":null,"rawModeData":"","url":"{{BASE_URL}}/domains/{{mydomain}}/webhooks?","pathVariableData":[],"queryParams":[{"key":"domain","value":"","equals":false,"description":"Name of the domain","enabled":false}],"headerData":[],"dataMode":null},"headers":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, x-requested-with","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Access-Control-Max-Age","value":"600","name":"Access-Control-Max-Age","description":"Indicates how long the results of a preflight request can be cached in seconds."},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"inline","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Length","value":"20","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 22 Aug 2018 19:16:05 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"}],"cookies":[],"request":"de9bc643-be82-496e-aa45-10bf22d177d6","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"e25a995c-d75e-4e79-b756-97b16db4a074","name":"Add single bounce","url":"{{BASE_URL}}/{{mydomain}}/bounces","description":"Add a bounce record to the bounce list. Updates the existing record if the address is already there.","data":[{"key":"address","value":"","description":"Valid email address","type":"text","enabled":false},{"key":"code","value":"","description":"Error code (optional, default: 550)","type":"text","enabled":false},{"key":"error","value":"","description":"Error description (optional, default: empty string)","type":"text","enabled":false},{"key":"created_at","value":"","description":"Timestamp of a bounce event in [RFC2822](https://documentation.mailgun.com/en/latest/api-intro.html#date-format) format (optional, default: current time)","type":"text","enabled":false}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"e2ad7ed5-21b4-4c50-9c15-9d102cceef66","name":"Get bounces","url":"{{BASE_URL}}/{{mydomain}}/bounces","description":"Paginate over a list of bounces for a domain.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[{"key":"limit","value":"","equals":false,"description":"Maximum number of records to return (optional, default: 100, max: 10000)","enabled":false}],"auth":null,"events":null,"folder":"c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f","responses":[{"id":"b915356b-3f0b-4913-b372-313e5a00195b","name":"Get bounces","status":"OK","mime":"","language":"json","text":"{\n  \"items\":\n    [\n      {\n        \"address\": \"alice@example.com\",\n        \"code\": \"550\",\n        \"error\": \"No such mailbox\",\n        \"created_at\": \"Fri, 21 Oct 2011 11:02:55 GMT\"\n      },\n      \n    ],\n  \"paging\":\n    {\n      \"first\": <first page URL>,\n      \"next\": <next page URL>,\n      \"previous\": <previous page URL>,\n      \"last\": <last page URL>\n    }\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"ea9b103e-1c71-4046-9da3-e06f4cf14baf","method":"GET","headers":"","data":null,"rawModeData":"","url":"{{BASE_URL}}/{{mydomain}}/bounces?","pathVariableData":[],"queryParams":[{"key":"limit","value":"100","equals":false,"description":"Maximum number of records to return (optional, default: 100, max: 10000)","enabled":false}],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"e2ad7ed5-21b4-4c50-9c15-9d102cceef66","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"e59a4de4-53e3-4ad0-98e7-6af43b9e6771","name":"Get list of IPs for a domain","url":"{{BASE_URL}}/domains/{{mydomain}}/ips","description":"Returns a list of IPs currently assigned to the specified domain.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"dbfb4048-3866-4b5f-823a-a6484bf9ccf2","responses":[{"id":"b29f3687-ae73-4c5c-b9f6-8be76a577bb1","name":"Get a list of IPs from the domain pool.","status":"OK","mime":"","language":"json","text":"{\n  \"items\": [\"192.161.0.1\", \"192.168.0.2\"],\n  \"total_count\": 2\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"0c06db5f-46d9-401d-af17-2a5aeaf6cb4f","method":"GET","headers":"","data":null,"rawModeData":"","url":"https://api.mailgun.net/v3/domains/YOUR_DOMAIN_NAME/ips","pathVariableData":[],"queryParams":[],"headerData":[],"dataMode":null},"headers":[],"cookies":[],"request":"e59a4de4-53e3-4ad0-98e7-6af43b9e6771","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"e73db9e9-e81a-40aa-9f9b-d954701cf61b","name":"Update domain delivery connection settings","url":"{{BASE_URL}}/domains/{{mydomain}}/connection","description":"Updates the specified delivery connection settings for the defined domain.\n\n| Parameter         | Description                                                                                                                                                                                                                                                                                                                                                       |\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| require_tls       | true or false  If set to true, this requires the message only be sent over a TLS connection. If a TLS connection can not be established, Mailgun will not deliver the message.  If set to false, Mailgun will still try and upgrade the connection, but if Mailgun cannot, the message will be delivered over a plaintext SMTP connection.  The default is false. |\n| skip_verification | true or false  If set to true, the certificate and hostname will not be verified when trying to establish a TLS connection and Mailgun will accept any certificate during delivery.   If set to false, Mailgun will verify the certificate and hostname. If either one can not be verified, a TLS connection will not be established.   The default is false.     |","data":[{"key":"require_tls","value":"","description":"true or false\n\nIf set to true, this requires the message only be sent over a TLS connection. If a TLS connection can not be established, Mailgun will not deliver the message.\n\nIf set to false, Mailgun will still try and upgrade the connection, but if Mailgun cannot, the message will be delivered over a plaintext SMTP connection.\n\nThe default is false.","type":"text"},{"key":"skip_verification","value":"","description":"true or false\n\nIf set to true, the certificate and hostname will not be verified when trying to establish a TLS connection and Mailgun will accept any certificate during delivery.\n\nIf set to false, Mailgun will verify the certificate and hostname. If either one can not be verified, a TLS connection will not be established.\n\nThe default is false.","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"e9b5ae11-0020-45b6-9a6c-5936c45c507b","name":"Get single template versions","url":"{{BASE_URL}}/{{mydomain}}/templates/{{template}}/versions","description":null,"data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"eda6519b-b685-4dfb-8070-435a55bbe764","name":"Delete mailing list","url":"{{BASE_URL}}/lists/{address}","description":"Deletes a mailing list.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"ef75baa5-33e1-4352-8ed7-8384c6d9765b","name":"Delete single complaint","url":"{{BASE_URL}}/{{mydomain}}/complaints/{{address}}","description":"Remove a given spam complaint.","data":[],"dataMode":"raw","headerData":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[{"key":"limit","value":"","equals":false,"description":"Number of records to return (optional, default: 100, max: 10000)","enabled":false}],"auth":null,"events":null,"folder":"c9eaa5eb-f3f9-4051-9bc5-40b6ec20e626","responses":[{"id":"2a72a7cc-f841-4c32-96ab-79a8b5800e74","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"6b12ae10-0e2c-47d5-83da-0bfae52f27f2","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"ef75baa5-33e1-4352-8ed7-8384c6d9765b","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"d64611f9-f3a9-4676-8c49-1d34bf86b065","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"cd82b71f-f2c8-4bcf-a139-b759247dccbb","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"ef75baa5-33e1-4352-8ed7-8384c6d9765b","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\"\n  }\n]","headers":"Content-Type: application/json\nAuthorization: Basic {{token}}\n","pathVariables":{}},{"id":"f02adcc8-be6e-4241-8713-f2038e29d52d","name":"Update template","url":"{{BASE_URL}}/{{mydomain}}/templates/{{template}}","description":null,"data":[{"key":"template","value":"","description":"HTML contents of the template (required)","type":"text"},{"key":"description","value":"update","description":"Brief description of template (optional)","type":"text"},{"key":"name","value":"mike","description":"Friendly name of the template (optional)","type":"text","enabled":true}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"PUT","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"0e60808d-614d-4cb4-b241-74e53bddbc7d","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"f19828ec-e5e7-4eb8-a409-8bcbdfdb3b46","name":"Remove all whitelisted addresses","url":"{{BASE_URL}}/{{mydomain}}/whitelists","description":"","data":[{"key":"address","value":"","description":"","type":"text","enabled":true}],"dataMode":"params","headerData":[{"description":"","enabled":true,"key":"Authorization","type":"text","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"b553bbfe-a21a-4bd9-a0aa-a745b24335ca","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"f296c4c2-21e9-4b73-bd05-9641ecad63e1","name":"Add multiple unsubscribes","url":"{{BASE_URL}}/{{mydomain}}/unsubscribes","description":"Add multiple unsubscribe records to the unsubscribe list in a single API call.","data":[],"dataMode":"raw","headerData":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"f7292cd4-ff8f-444a-8928-060d06c1e882","responses":[{"id":"1c6e46fe-6dd4-436d-a4ed-0c1ead376190","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"1da1f864-4541-44c8-bee0-1c1a30f91ddb","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"f296c4c2-21e9-4b73-bd05-9641ecad63e1","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"68a6d9dc-bdff-4fd1-8032-82b2d28a6d52","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"5928ad87-5920-4169-8194-f0b4648c9f57","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"f296c4c2-21e9-4b73-bd05-9641ecad63e1","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"tags\": [\"some tag\"],\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"tags\": [\"*\"]\n  },\n  {\n    \"address\": \"carol@example.com\"\n  }\n]","headers":"Content-Type: application/json\nAuthorization: Basic {{token}}\n","pathVariables":{}},{"id":"f3859f15-7924-4558-9c58-327231892e13","name":"Add multiple bounces","url":"{{BASE_URL}}/{{mydomain}}/bounces","description":"Add a bounce record to the bounce list. Updates the existing record if the address is already there.","data":[],"dataMode":"raw","headerData":[{"key":"Authorization","value":"Basic {{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"c7a27e4e-c8d7-4c74-8b6a-5fb2324e424f","responses":[{"id":"a74cf39b-55bb-435f-b208-16146fac0835","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"adacdd0f-78fe-4f68-a682-b28c920ffd17","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"{{BASE_URL}}/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"f3859f15-7924-4558-9c58-327231892e13","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]\n","headers":"Authorization: Basic {{token}}\nContent-Type: application/json\n","pathVariables":{}},{"id":"f4ad555e-42fb-4844-ae65-3f9ee78586c0","name":"Delete single validation job","url":"{{BASE_URL}}/address/validate/bulk/{{bulk_id}}","description":"","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}","description":"","type":"text","enabled":true}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":[],"folder":"94b451a0-5d80-46e2-9c0d-bd97a8a4f969","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"f690d98e-0ade-4f29-b545-ae37c69fe14d","name":"Get domain tracking settings","url":"{{BASE_URL}}/domains/{{mydomain}}/tracking","description":"Returns tracking settings for a domain.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"e11ca440-53da-4e79-b1bb-572ba84fdd81","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"f69f71f3-1ff0-4fa5-8ed2-06258bfee865","name":"Get domain countries","url":"{{BASE_URL}}/{{mydomain}}/tags/{{tag}}/stats/aggregates/countries","description":"Returns a list of countries of origin for a given domain for different event types.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"fb36a802-196b-4e7e-91cc-ea92d145abfc","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"fb444bc4-c910-4f75-93e8-6fc9bdf31261","name":"Get mailing list member","url":"{{BASE_URL}}/lists/{{mailinglist_address}}/members/{{address}}","description":"Retrieves a mailing list member.","data":null,"dataMode":null,"headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"GET","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"7ff5404f-8997-454e-b5e0-5ece7638b051","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}},{"id":"fcd3ef92-3e3b-437e-a97f-e6ffedf7b8cd","name":"Add multiple complaints","url":"{{BASE_URL}}/{{mydomain}}/complaints?","description":"Add multiple unsubscribe records to the unsubscribe list in a single API call.","data":[],"dataMode":"raw","headerData":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{token}}"}],"method":"POST","pathVariableData":[],"queryParams":[{"key":"limit","value":"","equals":false,"description":"Number of records to return (optional, default: 100, max: 10000)","enabled":false}],"auth":null,"events":null,"folder":"c9eaa5eb-f3f9-4051-9bc5-40b6ec20e626","responses":[{"id":"2f1d6cda-9bf2-4f73-b08b-f82743eb407c","name":"Add multiple bounces","status":"OK","mime":"","language":"json","text":"{\n  \"message\": \"4 addresses have been added to the bounces table\"\n}","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"af08bca5-8413-464d-9f91-bf90fb73adf3","method":"POST","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\",\n    \"code\": \"550\",\n    \"error\": \"Bounced\"\n  },\n  {\n    \"address\": \"carol@example.com\",\n    \"code\": \"550\"\n  },\n  {\n    \"address\": \"dan@example.com\"\n  }\n]"},"headers":[],"cookies":[],"request":"fcd3ef92-3e3b-437e-a97f-e6ffedf7b8cd","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"},{"id":"38fd9003-c0c9-4417-9365-a04599409e0f","name":"Delete bounce","status":"OK","mime":"","language":"Text","text":"","responseCode":{"code":200,"name":"OK","detail":""},"requestObject":{"id":"6adfef97-d2e0-4e62-9db8-30f03d234bfd","method":"DELETE","headers":"Content-Type: application/json","dataMode":"raw","data":[],"url":"https://api.mailgun.net/v3/{{mydomain}}/bounces/{{address}}","pathVariableData":[],"queryParams":[],"headerData":[{"key":"Content-Type","value":"application/json"}],"rawModeData":""},"headers":[],"cookies":[],"request":"fcd3ef92-3e3b-437e-a97f-e6ffedf7b8cd","collection":"ceac6086-8750-4e27-9a59-a6c0639e46a9"}],"currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","rawModeData":"[\n  {\n    \"address\": \"alice@example.com\",\n    \"created_at\": \"Thu, 13 Oct 2011 18:02:00 UTC\"\n  },\n  {\n    \"address\": \"bob@example.com\"\n  }\n]","headers":"Content-Type: application/json\nAuthorization: Basic {{token}}\n","pathVariables":{}},{"id":"fe5f9652-63ed-4a93-b9b7-fd3d7797059b","name":"Delete tag","url":"{{BASE_URL}}/{{mydomain}}/tags/{tag}","description":"Deletes the tag. Note: The statistics for the tag are not destroyed.","data":[{"key":"domain","value":"","description":"Name of the domain","type":"text"}],"dataMode":"params","headerData":[{"key":"Authorization","value":"Basic {{token}}"}],"method":"DELETE","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"fb36a802-196b-4e7e-91cc-ea92d145abfc","currentHelper":null,"helperAttributes":null,"collectionId":"ceac6086-8750-4e27-9a59-a6c0639e46a9","headers":"Authorization: Basic {{token}}\n","pathVariables":{}}]}