List email templates
GET/v1/email/templates
This endpoint retrieves all email templates with just name and ID
Request
Query Parameters
pageToken string
Token for pagination
Responses
- 200
- 400
Templates retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
next_page_token string
success boolean
templates
object[]
id string
name string
{
"next_page_token": "eyJJZCI6InRlbXBsYXRlXzAxSjN...",
"success": true,
"templates": [
{
"id": "template_01JC3BBW8S9YGX2VNKG5MD7BTA",
"name": "Welcome template"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Loading...