Skip to content
Pitch2SaleDevelopers
Open the app
Early access: these pages are being written and reviewed. Facts in the header boxes come straight from the product.

Complete the Microsoft 365 OAuth connection

GET
/api/v1/email/oauth/microsoft/callback
curl --request GET \
--url https://api.pitch2sale.com/api/v1/email/oauth/microsoft/callback

Microsoft redirects here. Stores the mailbox and returns a small HTML page that reports success or failure to the opener window.

HTML popup response

Rate limit exceeded

Media typeapplication/json
object
error
required
string
code
string
message
string
details
Array<object>
object
field
required
string
message
required
string
code
required
string
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example",
"code": "example"
}
]
}