Skip to main content
GET
AhaSend Go SDK
The AhaSend API returns the account’s campaign templates, newest first. Access requires templates:read. Each campaign template is listed without its content. To read the content, use Get Campaign Template. Transactional templates are not in this list. To list them, use List 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 campaign templates

object
enum<string>
required

Object type identifier

Available options:
list
data
object[]
required

Array of campaign templates, each without its content

pagination
object
required
Example: