API_USER

This comprehensive guide covers everything you need to know about API_USER credentials, which serve as your primary authentication method for accessing our Email Delivery API and SMTP services.

What is an API_USER?

An API_USER is a specialized credential system designed exclusively for programmatic email sending. Unlike your platform login account, API_USERs are purpose-built for:

  • Automated email sending via API calls or SMTP
  • Secure authentication without exposing your main account credentials
  • Granular access control with specific permissions and limitations
  • Isolated credential management for different applications or environments
💡

Think of API_USERs as service accounts - each one is tailored for a specific email sending purpose and can be managed independently.

Creating Your First API_USER

When setting up an API_USER, you'll configure three essential properties that determine its capabilities and behavior.

1. Email Type

Choose the appropriate type based on your sending needs:

Trigger Type

Best for: Transactional emails

• Password resets
• Order confirmations
• Account notifications
• System alerts

Restrictions: Cannot send marketing emails

Batch Type

Best for: Marketing campaigns

• Newsletters
• Promotional emails
• Announcements
• Marketing automation

Restrictions: Cannot send transactional emails

⚠️

Important: Email type cannot be changed after creation. Plan carefully based on your intended use case.

2. Sending Domain Configuration

Every API_USER must be bound to an authenticated sending domain:

  • Domain Authentication Required: The domain must be verified and have proper DNS records configured
  • Sender Reputation: All emails will originate from this domain, affecting your sender reputation
  • Deliverability Impact: Proper domain setup is crucial for inbox placement
list-checkDomain Setup Checklist

Before binding a domain to your API_USER:

  1. ✅ Domain is verified in your account
  2. ✅ SPF record is properly configured
  3. ✅ DKIM signing is enabled
  4. ✅ DMARC policy is set (recommended)
  5. ✅ Domain has positive sending reputation

3. Tracking and Analytics

Enable tracking to monitor email performance:

When Tracking is Enabled:

  • Open rate tracking
  • Click-through tracking
  • Unsubscribe monitoring
  • Spam complaint tracking

Privacy Considerations:

  • Tracking uses invisible pixels and link redirects
  • Consider privacy regulations in your jurisdiction
  • Provide clear opt-out mechanisms for recipients

API_KEY Management

The API_KEY functions as the "password" for your API_USER and requires careful handling.

Generating Your First API_KEY

  1. Navigate to your API_USER management dashboard
  2. Select the API_USER you want to generate a key for
  3. Click "Generate API_KEY"
  4. Copy and store the key immediately - it's shown only once!
🔒

Security Critical: The API_KEY is displayed only once upon generation. If you lose it, you must reset to get a new one.

Authorized Recipients

Authorized Recipients is an email sending restriction feature exclusively for the Test API_User.This restriction applies only to the Test API_User. Non Test API_User is not subject to this constraint.

Adding Authorized Recipients

  1. Log in to the platform and navigate to the API_USER page under Email API.
  2. Click the "Manage Authorized Recipients" button to enter the authorized recipient management page.
  3. Enter the email addresses to be authorized in the input field.
  4. You can add multiple email addresses at once. Use the English semicolon ; to separate multiple addresses.

    Example: [email protected];[email protected];[email protected]

  5. A maximum of 10 email addresses can be added.
  6. Save after confirming the information is correct.

Lock Mechanism After Adding

  • Once the authorized recipient list is saved, it will immediately enter a 7-day lock period.
  • During the lock period:
    • The Test API_User can only send emails to addresses in the list or the registered email address.
    • The authorized recipient list cannot be modified (including adding, deleting, or editing).
  • After the lock period ends:
    • Once the 7-day lock period is over, you can click "Manage Authorized Recipients" again to edit the list.

Troubleshooting Common Issues

exclamation-triangleAuthentication Failures

Symptoms: 401 Unauthorized errors, authentication failures

Common Causes:

  • Incorrect API_USER name or API_KEY
  • Using expired credentials after reset
  • API_USER not properly configured

Solutions:

  1. Verify API_USER name matches exactly (case-sensitive)
  2. Ensure API_KEY is current and not expired
  3. Check if API_USER is active and not suspended
  4. Regenerate API_KEY if in doubt
globeDomain-Related Errors

Symptoms: Domain verification errors, sending failures

Common Causes:

  • Sending domain not bound to API_USER
  • Domain not properly authenticated
  • DNS configuration issues

Solutions:

  1. Verify domain is bound to the API_USER
  2. Check domain authentication status
  3. Validate DNS records (SPF, DKIM, DMARC)
  4. Contact support for domain-specific issues
banEmail Type Restrictions

Symptoms: Emails rejected due to type mismatch

Common Causes:

  • Trigger API_USER trying to send marketing emails
  • Batch API_USER trying to send transactional emails
  • Incorrect email classification

Solutions:

  1. Review your API_USER type configuration
  2. Create separate API_USERs for different email types
  3. Ensure email content matches API_USER type
  4. Update your application logic accordingly

Security and Compliance

Security Framework

Credential Protection

• Secure storage practices
• Regular key rotation
• Access logging and monitoring
• Immediate compromise response

Network Security

• HTTPS/TLS encryption required
• IP allowlisting available
• Rate limiting protection
• DDoS mitigation

Compliance Ready

• GDPR compliance features
• CAN-SPAM compliance tools
• Audit trail maintenance
• Data retention controls

Compliance Considerations

  • Data Protection: Ensure recipient data is handled according to applicable privacy laws
  • Consent Management: Maintain proper opt-in/opt-out mechanisms
  • Audit Trails: Keep records of email sending activities
  • Geographic Restrictions: Understand regional sending limitations

Next Steps


🆘

Need Help? If you encounter issues not covered in this guide, our support team is ready to assist with API_USER configuration and troubleshooting.



Did this page help you?