JustOpened API

Integrate JustOpened tracking capabilities, 32-trigger campaign sequences, and Model Context Protocol directly into your own applications, CRM, or automated marketing workflows.

Authentication

All API requests require an API key to be sent in the X-API-Key header or an RS256 Observer Bearer token in the Authorization header.

HTTP HEADER
Authorization: Bearer jo_obs_your_token_here
X-API-Key: your_api_key_here

Tracking Campaigns

Create a new tracking campaign (pixel + URLs) programmatically.

REQUEST
POST /v1/trackings
// JSON Body
{
  "name": "Newsletter #45",
  "privacy": {
    "track_ip": true,
    "track_ua": true
  },
  "paused": false
}

Analytics Data

Get a summary of activity for a specific campaign.

REQUEST
GET /v1/trackings/{id}/stats
RESPONSE (200 OK)
{
  "id": "fyDxMMWA",
  "total_opens": 1450,
  "unique_opens": 892,
  "last_interaction": "2026-04-07T12:00:00Z"
}

Template Triggers Catalog

List all 32 operations and template triggers across the 9 categories (Testing, Waiting List, Authentication, Onboarding, Subscription, Security, Invoices, Feedback, Activity).

REQUEST
GET /v1/campaigns/templates?category=all&status=all

Create Campaign for Template

Create and save a new multi-step automated email campaign for a specific template trigger.

REQUEST
POST /v1/campaigns/templates/{template_key}/campaigns
// JSON Body
{
  "name": "VIP Fast-Track Onboarding",
  "timing_mode": "relative_delay",
  "make_live": true,
  "from_name": "Executive VIP Team",
  "from_email": "[email protected]"
}

Reorder Campaign Email Sequence

Reorganize and reorder the email sequence steps for a campaign using either from/to indices or an array of ordered step IDs.

REQUEST
POST /v1/campaigns/{campaign_id}/sequence/reorder
// JSON Body (Drag-and-Drop or ID Array)
{
  "template_key": "waitlist_signup_notification",
  "from_index": 0,
  "to_index": 1
}

Model Context Protocol (MCP) Streamable HTTP

AI agents, Claude Desktop, and terminal CLI clients can connect to our Model Context Protocol endpoint to execute all 25 tools.

CLI COMMAND (Antigravity / agy)
agy mcp call --server justopened --tool reorder_campaign_sequence --args '{"template_key":"waitlist_signup_notification","campaign_id":"cmp_waitlist_signup_01","from_index":0,"to_index":1}'
CURL (REST / MCP Stream)
curl -X POST https://justopened.kaywat.codes/mcp \
  -H "Authorization: Bearer jo_obs_master_token" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"list_campaign_templates","arguments":{}}}'

Need help with integration?

Our technical support team is available 24/7 for developer assistance.

Contact Dev Support