Skip to main content
GET
/
v1
/
email-template-folders
List Email Template Folders
curl --request GET \
  --url http://api.stuut.ai/v1/email-template-folders \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "name": "<string>",
      "object": "<string>",
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "modified_at": "2023-11-07T05:31:56Z",
      "templates": [
        {
          "object": "<string>",
          "id": "<string>",
          "attachments": [
            {
              "file_type": "audio",
              "mime_type": "<string>",
              "name": "<string>",
              "object": "<string>",
              "organization_id": "<string>",
              "id": "<string>",
              "content_id": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "disposition": "<string>",
              "is_verified": true,
              "modified_at": "2023-11-07T05:31:56Z",
              "presigned_url": "<string>",
              "presigned_url_expires_at": "2023-11-07T05:31:56Z",
              "purpose": "<string>",
              "remote_id": "<string>",
              "size": 123,
              "src": "<unknown>",
              "user_id": "<string>"
            }
          ],
          "auto_correct": true,
          "body": "<string>",
          "cc": [
            "<string>"
          ],
          "created_at": "2023-11-07T05:31:56Z",
          "folder": {
            "name": "<string>",
            "object": "<string>",
            "id": "<string>",
            "created_at": "2023-11-07T05:31:56Z",
            "modified_at": "2023-11-07T05:31:56Z"
          },
          "folder_id": "<string>",
          "is_default": true,
          "modified_at": "2023-11-07T05:31:56Z",
          "name": "<string>",
          "preview_body": "<unknown>",
          "preview_subject": "<unknown>",
          "subject": "<string>"
        }
      ]
    }
  ],
  "current_page": 0,
  "total_records": 0,
  "next_page": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:0

Page number, 0 indexed.

Required range: x >= 0
limit
integer
default:50

The page size

Required range: 1 <= x <= 200

Response

Successful response

data
object[]
current_page
integer
default:0

The current page.

total_records
integer
default:0

Total number of records.

next_page
integer | null

The next page, if one exists.