Actions138
- Account Actions
- Contact Actions
- List Actions
- Campaign Actions
- Webhook Actions
- Segment Actions
- Report Actions
- Email Actions
- Custom Attribute Actions
- Sender Actions
- Template Actions
- Sub-Account Actions
- Log Actions
- User Actions
- Domain Actions
- DKIM Actions
- Form Actions
- Token Actions
- Interest Actions
- Tags Actions
- Suppressed Email Actions
- Links Actions
Links → Get Stats
AI-generatedSummary
Get statistics for a specific link by its ID.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
- linkId (required) — ID of the link to get statistics for.
- additionalFields — Additional optional fields for the request.
Output shape
a JSON object containing statistics about the link, including various metrics related to its performance.
Ensure to provide a valid 'linkId'; otherwise, the operation will fail. The 'accountId' is not required unless dealing with multi-tenant setups.
Examples
Example 1: Retrieve statistics for a specific link in a Cakemail account.
Set 'linkId' to the ID of the link whose statistics you want to retrieve.