← Back to Docs

Authentication

Learn how to authenticate with the SendBaba API

API Keys

SendBaba uses API keys to authenticate requests. You can generate and manage your API keys from your dashboard.

Important: Keep your API keys secure. Never share them in publicly accessible areas.

API Key Types

  • Live Keys (sb_live_...) - For production use
  • Test Keys (sb_test_...) - For development/testing

Using Your API Key

Include your API key in the Authorization header:

curl -X POST https://api.sendbaba.com/v1/emails/send \
  -H "Authorization: Bearer sb_live_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{"to": "user@example.com", "subject": "Hello!"}'

Rate Limits

API requests are rate limited based on your plan:

Plan Requests/minute Emails/day
Free60100
Pro30010,000
Enterprise1,000+Unlimited