API Console
Acquire an app-only token and send a real-shaped email against the tenant, step by step.
1 · Acquire token
POST /v1/tokenUpstream: https://login.microsoftonline.com/4f2c9a1e-7b3d-4e8a-9c61-2d5f0b8e3a17/oauth2/v2.0/token
2 · Send email
POST /v1/messagesNo cached token yet — acquire one above for a MISS/HIT preview. Sending still works (the API would acquire one server-side).
j.martin@northwind.eu
Drop files here or click to browse — any type, any size
Files over 3 MB are streamed through a Graph upload session, no size limit at API layer.
POST https://mail-api.contoso-logistics.com/v1/token
{ "callerEmail": "noreply@contoso-logistics.com", "appId": "b8d3e6f1-2a4c-4f9b-8e7d-6c1a0f5e9b32", "tenantId": "4f2c9a1e-7b3d-4e8a-9c61-2d5f0b8e3a17", "clientSecret": "••••••••••••••••••••••••" }