Skip to main content
GET
/
v1
/
email-templates
/
{email_template_id}
Retrieve An Email Template
curl --request GET \
  --url http://api.stuut.ai/v1/email-templates/{email_template_id} \
  --header 'Authorization: Bearer <token>'
{
  "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>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

email_template_id
string
required

Response

Successful response

object
string
required
id
string
Maximum string length: 32
attachments
object[]
auto_correct
boolean
body
string | null
cc
string[]
created_at
string<date-time>
folder
object
folder_id
string | null
Maximum string length: 32
is_default
boolean

Whether this is the default email template.

modified_at
string<date-time> | null
name
string | null

The name of the email template.

Maximum string length: 128
preview_body
any
preview_subject
any
subject
string | null

The subject of the email template.