Unisend API
OAuth 2.0 · Microsoft Graph · Dataverse

One REST API.
Every Microsoft mailbox.

Pass an email address, Azure application ID, tenant ID and app secret. Unisend acquires the token from Azure AD and sends plain-text, HTML and attachments from Microsoft 365 or Dynamics 365 through a single implementation.

View the demo
0
interactive logins
∞
attachment size at API layer
< 1 s
median send latency
$ 

How it works

Client credentials in, delivered email out.

Your app

x-api-key + JSON

Unisend API

Validates, caches token

Azure AD

client_credentials grant

Microsoft Graph

sendMail · upload sessions for large files

Dynamics 365

Email activity + SendEmail in Dataverse

Prototype

4 interfaces, one API

Choose your role to explore the prototype.

Features

Compact on the surface, production-grade underneath.

Client credentials, no login

Token acquired from Azure AD with your app ID, tenant ID and secret. Cached and refreshed before expiry.

One endpoint, two mailboxes

Same JSON payload for an Exchange Online mailbox or a Dynamics 365 queue. Switch with one field.

Attachments without limits

Any type, any size. Files over 3 MB stream through Microsoft Graph upload sessions.

Text and HTML bodies

Plain text or rich HTML, cc and bcc, save to Sent Items. D365 sends are recorded as email activities.

Key Vault and API keys

Secrets never travel on each call when you choose Key Vault. Each caller gets its own revocable key.

Ships to Azure

Docker image and CI/CD pipeline to Azure App Service or Container Apps, with a written deployment guide.

Server racks in an Azure-style data center

Runs on your own tenant

Azure App Service or any container host

What you receive

Everything to run it yourself.

  • ✓Secure endpoints for token acquisition and message dispatch
  • ✓Documented parameters with sample JSON request and response
  • ✓Quick-start scripts in PowerShell and curl
  • ✓Deployment guide for Azure App Service and container hosting
  • ✓Commented source code with secret rotation instructions

Questions integrators ask

No. The API uses the OAuth 2.0 client credentials flow: an app registration in Entra ID with the Mail.Send application permission and admin consent is enough.

Send your first email in under a minute.

Open the API Console