Skip to main content
GET
AhaSend Go SDK
The AhaSend API returns a cursor-paginated list of API keys owned by a sub-account. The secret_key field is omitted from list responses.
Plan availability: sub-accounts are included on Pro (up to 9) and Max (no limit). There is no charge per sub-account; the volume of all sub-accounts is pooled on the parent’s plan. See plans and features.

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

Parent account ID

sub_account_id
string<uuid>
required

Sub 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

List of sub-account API keys

object
enum<string>
required

Object type identifier

Available options:
list
data
object[]
required

Array of API keys

pagination
object
required
Example: