Skip to main content
GET
AhaSend Go SDK
The AhaSend API returns a list of suppressions for the account. Query Parameters:
  • domain: Filter by domain (optional)
  • email: Filter by email (optional)
  • from_time: Filter suppressions created after this time (RFC3339 format, optional)
  • to_time: Filter suppressions created before this time (RFC3339 format, optional)
  • limit: Maximum number of items to return (1-100, default: 100)
  • after: Pagination cursor for the next page
  • before: Pagination cursor for the previous page

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

domain
string

Filter by domain

email
string<email>

Email address

from_time
string<date-time>

Filter suppressions created after this time (RFC3339 format)

to_time
string<date-time>

Filter suppressions created before this time (RFC3339 format)

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 provided in next_cursor from the response.

before
string

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

Response

List of suppressions

object
enum<string>
required

Object type identifier

Available options:
list
data
object[]
required

Array of suppressions

pagination
object
required
Example: