Manage API credentials and authentication profiles
ahasend auth login
ahasend auth login \ --api-key YOUR_API_KEY \ --account-id YOUR_ACCOUNT_ID \ --profile production
export AHASEND_API_KEY="your-api-key" export AHASEND_ACCOUNT_ID="your-account-id"
ahasend auth login --profile production ahasend auth login --profile staging
# Change default profile ahasend auth switch production # Use profile for single command ahasend messages send --profile staging \ --from [email protected] \ --to [email protected] \ --subject "Test"
ahasend auth status
ahasend auth logout
~/.ahasend/config.yaml
ahasend ping ahasend auth status
Was this page helpful?