{
  "opencollection": "1.0.0",
  "info": {
    "name": "Loops OpenAPI Spec API key Transactional emails API",
    "version": "1.8.0"
  },
  "items": [
    {
      "info": {
        "name": "Transactional emails",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List transactional emails",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.loops.so/api/v1/transactional",
            "params": [
              {
                "name": "perPage",
                "value": "",
                "type": "query",
                "description": "How many results to return in each request. Must be between 10 and 50. Default is 20."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "A cursor, to return a specific page of results. Cursors can be found from the `pagination.nextCursor` value in each response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a list of published transactional emails."
        },
        {
          "info": {
            "name": "Send a transactional email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.loops.so/api/v1/transactional",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Send a transactional email to a contact.<br>Please [email us](mailto:help@loops.so) to enable attachments on your account before using them with the API."
        }
      ]
    }
  ],
  "bundled": true
}