API for Developers

Build the Future of Global Trade Communication

Integrate UrEmail's powerful email generation and template engine directly into your CRM, ERP, or custom application.

RESTful API

Trigger email campaigns via API with dynamic placeholder and global variable replacement.

POST /openApi/mail/trigger-send

Webhook Callback (Coming Soon)

Receive real-time notifications when an email is opened, clicked, or bounced.

callback: email.opened

Open Template Engine

Save and retrieve your email templates via API, supporting design JSON for editor re-loading.

POST /openApi/email/template/save

Quick Start

Authentication

Include your Long-lived API Token in the `X-Access-Token` header. Generate your token in Profile -> Security.

curl -H "X-Access-Token: YOUR_LONG_LIVED_TOKEN" \
  https://www.ur.email/ur/api/...

Trigger Campaign Send

POST /openApi/mail/trigger-send

{
  "campaignId": "12345",
  "contacts": [{ "email": "test@example.com", "name": "John" }],
  "variables": { "activityName": "Sale 2026" }
}

Save/Update Template

POST /openApi/email/template/save

{
  "subject": "Hello ",
  "html": "...",
  "designJson": "{...}"
}

What You Can Build

01

Auto-Drafting in CRM

Automatically generate follow-up drafts in Salesforce or HubSpot when a lead changes status.

02

Dynamic Reports

Generate and email weekly PDF reports to clients using our template engine.

03

Marketplace Integration

Allow your users to send inquiries to suppliers without leaving your platform.

Ready to start building?

Join our developer waitlist to get early access.

Join Waitlist