Skip to main content
GET
AhaSend Go SDK
The AhaSend API returns the published versions of a template, newest first, without their content. The template keeps its 50 most recent versions and removes older ones. Every publish that has a draft to publish makes a version. Access requires templates:read. published_by shows the user or API key that published the version. It is null when neither is known, for example when the API key that published it was deleted. To read the content of a version, use Get Template Version.

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

template_id
string<uuid>
required

Template ID

Response

Template versions

object
enum<string>
required

Object type identifier

Available options:
list
data
object[]
required

The template's versions, newest first. A template keeps its 50 most recent versions, so the list is not paginated.