{
  "opencollection": "1.0.0",
  "info": {
    "name": "SMTP2GO Email Activity Subaccounts API",
    "version": "3.0.4"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Smtp2go-Api-Key",
      "value": "{{X-Smtp2go-Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Subaccounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Add a subaccount",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smtp2go.com/v3/subaccounts/add",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a new subaccount on your master account. Rate-limited to 10 calls per hour."
        },
        {
          "info": {
            "name": "Close a subaccount",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smtp2go.com/v3/subaccounts/close",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes the status of an Active subaccount to Closed"
        },
        {
          "info": {
            "name": "Reopen a closed subaccount",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smtp2go.com/v3/subaccounts/reopen",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes the status of a Closed subaccount back to Active"
        },
        {
          "info": {
            "name": "View subaccounts",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smtp2go.com/v3/subaccounts/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns any subaccounts that match search criteria"
        },
        {
          "info": {
            "name": "Update a subaccount",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smtp2go.com/v3/subaccounts/update",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes the details on an existing subaccount"
        },
        {
          "info": {
            "name": "Resend subaccount invitation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smtp2go.com/v3/subaccounts/resend_invite",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Resend invitation to a subaccount"
        }
      ]
    }
  ],
  "bundled": true
}