Docs API Documentation

SendBaba API Documentation

Complete guide to integrate SendBaba's powerful email marketing API into your applications

Getting Started

Welcome to SendBaba API! This guide will help you integrate our email marketing platform into your application.

Base URL

Endpoint
https://api.sendbaba.com/v1

All API requests must be made over HTTPS

Requests made over plain HTTP will fail.

Authentication

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

curl https://api.sendbaba.com/v1/emails/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Send Email

Send a single email or bulk emails to your contacts.

POST /v1/emails/send

Request Body

Parameter Type Required Description
to string Yes Recipient email address
from string Yes Sender email address
subject string Yes Email subject line
html string No HTML email body
text string No Plain text email body

Example Request

curl -X POST https://api.sendbaba.com/v1/emails/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "customer@example.com",
    "from": "hello@yourdomain.com",
    "subject": "Welcome to SendBaba!",
    "html": "

Welcome!

Thanks for signing up.

" }'

Error Codes

400 - Bad Request

The request was invalid or cannot be served.

401 - Unauthorized

Authentication credentials are missing or invalid.

429 - Too Many Requests

Rate limit exceeded. Please slow down your requests.

500 - Internal Server Error

Something went wrong on our end. Please try again.

Rate Limits

API rate limits vary by plan. All limits are per API key.

Free

100

requests/hour

Starter/Business

1,000

requests/hour

Enterprise

Custom

Contact us

Ready to Start Building?

Get your API key and start sending emails in minutes

Get API Key