Skip to main content
GET
AhaSend Go SDK
The AhaSend API returns the account’s transactional templates. Access requires templates:read. Each template is listed without its content. To read the content, use Get Template. When has_draft is true, the template has changes that are not published yet. Campaign templates are not in this list. To list them, use List Campaign Templates.

Authorizations

Authorization
string
header
required

API key for authentication. Non-empty Security Requirement values are AhaSend API-key roles. Roles listed within one requirement object are jointly required; separate requirement objects are alternatives.

Path Parameters

account_id
string<uuid>
required

Account ID

Query Parameters

limit
integer
default:100

Maximum number of items to return (1-100)

Required range: 1 <= x <= 100
after
string

Pagination cursor for the next page. Provide the value from next_cursor in the response.

before
string

Pagination cursor for the previous page. Provide the value from previous_cursor in the response.

Response

Paginated templates

object
enum<string>
required

Object type identifier

Available options:
list
data
object[]
required

Array of templates, each without its content

pagination
object
required
Example: