# DirectIQ Developer Hub

Build powerful integrations and automate your email marketing with our comprehensive API and integration platform.

### RESTful API

Access all features through our RESTful API with comprehensive documentation and examples.

### Webhooks

Receive real-time notifications for events like email opens, clicks, and bounces.

### SDKs

Official SDKs for popular programming languages to simplify integration.

## Popular Integrations

Connect DirectIQ with your favorite tools and platforms to streamline your email marketing workflow.

### Shopify

Sync your Shopify customers and automate email campaigns based on purchase behavior.

### WordPress

Seamlessly integrate with WordPress to grow your email list and automate your marketing.

### Custom Integration

Build your own integration using our comprehensive API and webhook system.

## Quick Start Guide

### Authentication

All API requests require authentication using an API key. You can generate an API key from your account settings.

```
curl -X GET https://api.directiq.com/v1/campaigns   -H "Authorization: Bearer YOUR_API_KEY"
```

### Example Endpoints

#### Create a Campaign

```
curl -X POST https://api.directiq.com/v1/campaigns   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"name": "Welcome Campaign", "subject": "Welcome to Our Service", "from_email": "welcome@yourdomain.com", "from_name": "Your Company", "html_content": "<h1>Welcome!</h1>"}'
```

#### Send a Campaign

```
curl -X POST https://api.directiq.com/v1/campaigns/123/send   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"list_id": "your_list_id", "schedule": "immediate"}'
```

### Webhook Setup

Set up webhooks to receive real-time notifications for various events.

```
curl -X POST https://api.directiq.com/v1/webhooks   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"url": "https://your-domain.com/webhook", "events": ["email.open", "email.click", "email.bounce"]}'
```
