PeumeAPI

Social publishing & inbox

Start a Microsoft 365 organization connection

Creates an organization connection for a Microsoft 365 tenant. An administrator opens `setup.adminConsentUrl` and approves application permissions once, then you add mailboxes without each user signing in.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/start-a-microsoft-365-organization-connection \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "scopes": []
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: start-a-microsoft-365-organization-connection.

Parameters

scopesRequiredarray
allowedEmailsarray

Addresses or `@domain` entries mailboxes must match. Omit for every mailbox.

redirectUrlstring

Where Microsoft sends the administrator after consent.

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.