Skip to main content
GET
AhaSend Go SDK
The AhaSend API returns one list of the account. Access requires lists:read. contact_count is the number of members that a campaign to the list would reach. See Lists for what it counts. To read the members, use List Contacts on a List. A list that was deleted answers 404.

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

list_id
string<uuid>
required

List ID

Response

List

A static, private, single opt-in container of contacts, and the unit a campaign targets.

object
enum<string>
required

Object type identifier

Available options:
contact_list
id
string<uuid>
required

Unique identifier for the list

created_at
string<date-time>
required

When the list was created

updated_at
string<date-time>
required

When the list was last updated

name
string
required

List name; names are not unique within an account

description
string
required

Free-text description; empty when none was given

tags
string[]
required

Always present; an empty array when the list carries no tags

contact_count
integer
required

The list's subscribers: the members a campaign to this list would reach. A member counts when its membership is confirmed and the contact is enabled, not unsubscribed from everything, and not found invalid by validation. It is the same number the dashboard shows.

Required range: x >= 0