Skip to main content
Use AhaSend CLI ping to check your API connection and credentials; this page covers its options and results. Before running the examples, log in with a full API key, use your verified sender domain, and replace YOUR_RESOURCE_ID with a resource UUID from your test account. Create any named template, recipient, attachment, or JSON files first. Shell examples use Bash; examples that read JSON with jq need jq installed. Sends use sandbox mode.

Overview

The ping command sends a test request to the AhaSend API to verify:
  • Network connectivity to AhaSend servers
  • API key authentication and validity
  • Account access permissions

Basic Usage

Output Formats

Use Cases

  • Connection Testing: Verify network connectivity to AhaSend servers
  • Authentication Validation: Check if API key is valid and active
  • Profile Verification: Confirm profile configuration is correct
  • Health Checks: Include in monitoring scripts and CI/CD pipelines
  • Troubleshooting: Debug authentication or connectivity issues

Next Steps