curl --request GET \
--url http://api.stuut.ai/v1/email-templates \
--header 'Authorization: Bearer <token>'{
"data": [
{
"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
}curl --request GET \
--url http://api.stuut.ai/v1/email-templates \
--header 'Authorization: Bearer <token>'{
"data": [
{
"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
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page number, 0 indexed.
x >= 0The page size
1 <= x <= 200asc, desc created_at The EmailTemplateFolder identifier, (e.g. etf_abc123).
Search for templates by name, subject, or body.
Successful response
Show child attributes
32Show child attributes
audio, document, gif, image, video 83232The use case for this attachment
The address' third party API ID.
3232Whether this is the default email template.
The name of the email template.
128The subject of the email template.
The current page.
Total number of records.
The next page, if one exists.