Skip to main content
GET
AhaSend Go SDK
The AhaSend API returns a list of webhooks for the account. The global read role sees all webhooks. Domain-scoped read roles return only webhooks associated with at least one authorized domain. Query Parameters:
  • enabled: Filter by enabled status
  • Event filters: on_reception, on_delivered, on_transient_error, on_failed, on_bounced, on_suppressed, on_opened, on_clicked, on_suppression_created, on_dns_error
  • 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

enabled
boolean

Filter by enabled status

on_reception
boolean

Filter by reception event trigger

on_delivered
boolean

Filter by delivery event trigger

on_transient_error
boolean

Filter by transient error event trigger

on_failed
boolean

Filter by failure event trigger

on_bounced
boolean

Filter by bounce event trigger

on_suppressed
boolean

Filter by suppression event trigger

on_opened
boolean

Filter by open event trigger

on_clicked
boolean

Filter by click event trigger

on_suppression_created
boolean

Filter by suppression creation event trigger

on_dns_error
boolean

Filter by DNS error event trigger

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.

Response

List of webhooks

object
enum<string>
required

Object type identifier

Available options:
list
data
object[]
required

Array of webhooks

pagination
object
required
Example: