Cakemail icon

Cakemail

Interact with Cakemail API

Links → Get Stats

AI-generated

Summary

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.

Discussion