Microsoft API
Manage connection to Microsoft services including IMAP and SMTP.
Available Endpoints
| Method |
Path |
Description |
| GET |
/api/microsoft-api/imap/authorize |
Get Microsoft IMAP auth link |
| POST |
/api/microsoft-api/imap/token |
Save Microsoft IMAP token |
| GET |
/api/microsoft-api/smtp/authorize |
Get Microsoft SMTP auth link |
| POST |
/api/microsoft-api/smtp/token |
Save Microsoft SMTP token |
Example Request
curl -X GET "https://example.com/api/microsoft-api/imap/authorize" \
-H "Authorization: Bearer {token}"
Success Response (200)
{
"url": "https://login.microsoftonline.com/..."
}
Errors
| Code |
Description |
| 401 |
Invalid token |
| 403 |
Access denied |