We're currently performing scheduled maintenance. Please check back soon.
API Reference

API Reference

Integrate SendWing into your applications with our REST API. Manage lists, subscribers, campaigns, and send transactional emails programmatically. 6Endpoints

Integrate SendWing into your applications with our REST API. Manage lists, subscribers, campaigns, and send transactional emails programmatically.

6
Endpoints
60
Req / Min
REST
Protocol
JSON
Format

Authentication

All requests require a Bearer token. Generate your API key from Settings > API Keys.

Authorization: Bearer your-api-key-here
Content-Type: application/json

Base URL

https://my.sendwing.com/api

Endpoints

Lists
MethodEndpointDescription
GET/api/listsList all subscriber lists
// Response
{
  "data": [
    {
      "id": 1,
      "uid": "abc123",
      "name": "Newsletter",
      "subscribers_count": 1250,
      "created_at": "2026-01-15T10:30:00Z"
    }
  ]
}
Subscribers
MethodEndpointDescription
GET/api/lists/{id}/subscribersGet all subscribers
POST/api/lists/{id}/subscribersAdd a subscriber
DEL/api/lists/{id}/subscribers/{id}Remove subscriber
// Add a subscriber
POST /api/lists/1/subscribers
{
  "email": "[email protected]",
  "first_name": "Jane",
  "last_name": "Smith",
  "custom_fields": {
    "company": "Acme Inc",
    "plan": "pro"
  }
}
Campaigns
MethodEndpointDescription
GET/api/campaignsList all campaigns
POST/api/campaigns/{id}/sendSend a campaign
Transactional Email
MethodEndpointDescription
POST/api/transactional/sendSend transactional email
POST /api/transactional/send
{
  "to": "[email protected]",
  "subject": "Your order confirmation",
  "html": "<h1>Thank you!</h1>",
  "from_name": "Acme Store",
  "from_email": "[email protected]"
}

Response Codes

CodeMeaning
200Success
201Resource created
400Bad request - check parameters
401Unauthorized - invalid API key
404Resource not found
422Validation error
429Rate limit exceeded
500Server error

Webhooks

Receive real-time notifications when events occur. Configure in Settings > Webhooks.

Subscriber Events

  • subscriber.created
  • subscriber.unsubscribed

Email Events

  • email.opened
  • email.clicked
  • email.bounced
  • email.complained

Get API Help Back to Docs

Need a hand?

Our team is happy to help you get set up.

Contact support