# Postmark Integration via LowCodeAPI

**Last Updated**: February 10, 2026

## Overview
Email delivery service

**Categories:**
- {'id': 'transactional-email', 'name': 'Transactional Email'}

## Base Endpoint
https://api.lowcodeapi.com/postmark

**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`

## Authentication
**Type:** TOKEN

**Official Documentation:** https://postmarkapp.com/developer/

## URL Format (Important)

LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.

### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`

### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`

### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider

## API Categories

## Common Endpoints

### Send a single email

**Method:** POST
**LowCodeAPI Path:** /email

**New Format URL:**
https://api.lowcodeapi.com/postmark/email?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/email?api_token=YOUR_API_TOKEN

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| Attachments | array |  |
| Bcc | string |  |
| Cc | string |  |
| From | string |  |
| Headers | array |  |
| HtmlBody | string |  |
| MessageStream | string |  |
| Metadata | object |  |
| ReplyTo | string |  |
| Tag | string |  |
| TextBody | string |  |
| To | string |  |
| TrackLinks | string |  |
| TrackOpens | boolean |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/postmark/email?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/email-api#send-a-single-email

### Send batch emails

**Method:** POST
**LowCodeAPI Path:** /email/batch

**New Format URL:**
https://api.lowcodeapi.com/postmark/email/batch?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/email/batch?api_token=YOUR_API_TOKEN

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| Attachments | array |  |
| Bcc | string |  |
| Cc | string |  |
| From | string |  |
| Headers | array |  |
| HtmlBody | string |  |
| MessageStream | string |  |
| Metadata | object |  |
| ReplyTo | string |  |
| Subject | string |  |
| Tag | string |  |
| TextBody | string |  |
| To | string |  |
| TrackLinks | string |  |
| TrackOpens | boolean |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/postmark/email/batch?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/email-api#send-batch-emails

### Unarchive a message stream

**Method:** POST
**LowCodeAPI Path:** /message-streams/{stream_ID}/unarchive

**New Format URL:**
https://api.lowcodeapi.com/postmark/message-streams/{stream_ID}/unarchive?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/message-streams/stream_id/unarchive?stream_ID={stream_ID}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| stream_ID | string |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/postmark/message-streams/{stream_ID}/unarchive?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/message-streams-api#unarchive-a-stream

### Outbound message search

**Method:** GET
**LowCodeAPI Path:** /messages/outbound

**New Format URL:**
https://api.lowcodeapi.com/postmark/messages/outbound?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/messages/outbound?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| count | string |  |
| fromdate | string |  |
| fromemail | string |  |
| messagestream | string |  |
| metadata_ | string |  |
| offset | string |  |
| recipient | string |  |
| status | string |  |
| subject | string |  |
| tag | string |  |
| todate | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/postmark/messages/outbound?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/messages-api#outbound-message-search

### Get delivery stats

**Method:** GET
**LowCodeAPI Path:** /deliverystats

**New Format URL:**
https://api.lowcodeapi.com/postmark/deliverystats?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/deliverystats?api_token=YOUR_API_TOKEN

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/postmark/deliverystats?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/bounce-api#delivery-stats

### Get bounces

**Method:** GET
**LowCodeAPI Path:** /bounces

**New Format URL:**
https://api.lowcodeapi.com/postmark/bounces?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/bounces?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| type | string |  |
| count | string |  |
| emailFilter | string |  |
| fromdate | string |  |
| inactive | string |  |
| messageID | string |  |
| messagestream | string |  |
| offset | string |  |
| tag | string |  |
| todate | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/postmark/bounces?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/bounce-api#bounces

### Get a single bounce

**Method:** GET
**LowCodeAPI Path:** /bounces/{bounceid}

**New Format URL:**
https://api.lowcodeapi.com/postmark/bounces/{bounceid}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/bounces/bounceid?bounceid={bounceid}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| bounceid | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/postmark/bounces/{bounceid}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/bounce-api#single-bounce

### Get bounce dump

**Method:** GET
**LowCodeAPI Path:** /bounces/{bounceid}/dump

**New Format URL:**
https://api.lowcodeapi.com/postmark/bounces/{bounceid}/dump?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/bounces/bounceid/dump?bounceid={bounceid}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| bounceid | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/postmark/bounces/{bounceid}/dump?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/bounce-api#bounce-dump

### Activate a bounce

**Method:** PUT
**LowCodeAPI Path:** /bounces/{bounceid}/activate

**New Format URL:**
https://api.lowcodeapi.com/postmark/bounces/{bounceid}/activate?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/bounces/bounceid/activate?bounceid={bounceid}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| bounceid | string |  |

**Example Request (New Format):**

```bash
curl -X PUT 'https://api.lowcodeapi.com/postmark/bounces/{bounceid}/activate?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/bounce-api#activate-bounce

### List domains

**Method:** GET
**LowCodeAPI Path:** /domains

**New Format URL:**
https://api.lowcodeapi.com/postmark/domains?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/postmark/domains?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| count | string |  |
| offset | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/postmark/domains?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://postmarkapp.com/developer/api/domains-api#list-domains


## Usage Examples

### Example 1: Send an Email

```bash
# Send an email - no path parameters needed
curl -X POST "https://api.lowcodeapi.com/postmark/send?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": "[email protected]",
    "subject": "Test Email",
    "text": "This is a test email from Postmark"
  }'
```

### Example 2: List Sent Emails

```bash
# Get list of sent emails
curl -X GET "https://api.lowcodeapi.com/postmark/messages?api_token=YOUR_API_TOKEN"
```

### Example 3: Get Email Details

```bash
# Get specific message by ID
curl -X GET "https://api.lowcodeapi.com/postmark/messages/{MESSAGE_ID}?api_token=YOUR_API_TOKEN"
```

## Error Handling

LowCodeAPI returns standard HTTP status codes. Common errors:

| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |

All error responses include error details:

```json
{
  "data": {
    "error": {
      "message": "Error description",
      "code": "ERROR_CODE"
    }
  }
}
```

## Complete Endpoint Reference

| Endpoint | Method | Category |
|----------|--------|----------|
| Send a single email | POST | Email |
| Send batch emails | POST | Email |
| Unarchive a message stream | POST | Message stream  |
| Outbound message search | GET | Messages |
| Get delivery stats | GET | Bounce |
| Get bounces | GET | Bounce |
| Get a single bounce | GET | Bounce |
| Get bounce dump | GET | Bounce |
| Activate a bounce | PUT | Bounce |
| List domains | GET | Domains |
| Get a domain’s details | GET | Domains |
| Create a domain | POST | Domains |
| Edit a domain | PUT | Domains |
| Verify DKIM Status | DELETE | Domains |
| Verify Return-Path Status | PUT | Domains |
| Rotate DKIM keys | POST | Domains |
| List inbound rule triggers | GET | Inbound rules triggers |
| Create an inbound rule trigger | POST | Inbound rules triggers |
| Delete a single trigger | DELETE | Inbound rules triggers |
| List message streams | GET | Message stream  |
| Get a message stream | GET | Message stream  |
| Edit a message stream | PATCH | Message stream  |
| Create a message stream | POST | Message stream  |
| Archive a message stream | POST | Message stream  |
| Outbound message details | GET | Messages |
| Outbound message dump | GET | Messages |
| Inbound message search | GET | Messages |
| Inbound message details | GET | Messages |
| Bypass rules for a blocked inbound message | PUT | Messages |
| Retry a failed inbound message for processing | PUT | Messages |
| Message opens | GET | Messages |
| Opens for a single message | GET | Messages |
| Message clicks | GET | Messages |
| Clicks for a single message | GET | Messages |
| List sender signatures | GET | Sender signatures |
| Get a sender signature’s details | GET | Sender signatures |
| Create a signature | POST | Sender signatures |
| Edit a signature | PUT | Sender signatures |
| Delete a signature | DELETE | Sender signatures |
| Resend a confirmation | POST | Sender signatures |
| Request a new DKIM | POST | Sender signatures |
| Get the server | GET | Server |
| Edit the server | PUT | Server |
| Get a server | GET | Servers |
| Create a server | POST | Servers |
| Edit a server | PUT | Servers |
| List servers | GET | Servers |
| Delete a server | DELETE | Servers |
| Get outbound overview | GET | Stats |
| Get sent counts | GET | Stats |
| Get bounce counts | GET | Stats |
| Get spam complaints | GET | Stats |
| Get tracked email counts | GET | Stats |
| Get email open counts | GET | Stats |
| Get email platform usage | GET | Stats |
| Get email client usage | GET | Stats |
| Get click counts | GET | Stats |
| Get browser usage | GET | Stats |
| Get browser platform usage | GET | Stats |
| Get click location | GET | Stats |
| Suppression dump | GET | Suppressions |
| Create a Suppression | POST | Suppressions |
| Delete a Suppression | DELETE | Suppressions |
| Send email with template | POST | Templates |
| Send batch with templates | POST | Templates |
| Push templates to another server | PUT | Templates |
| Get a template | GET | Templates |
| Create a template | POST | Templates |
| Edit a template | PUT | Templates |
| List templates | GET | Templates |
| Delete a template | DELETE | Templates |
| Validate a template | POST | Templates |
| List webhooks | GET | Webhooks |
| Get a webhook | GET | Webhooks |
| Create a webhook | POST | Webhooks |
| Edit a webhook | PUT | Webhooks |
| Delete a webhook | DELETE | Webhooks |

## API Definition Endpoints

You can fetch the complete API specification for this provider:

**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/postmark/openapi'
```

**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/postmark/definition'
```

## Response Format

All responses are wrapped in a `data` key:

```json
{
  "data": {
    // Actual response from provider (object or array)
  }
}
```