Skip to main content
GET
/
integrations
/
{provider}
/
callback
Handle OAuth callback
curl --request GET \
  --url https://app.myhero.so/integrations/{provider}/callback
"<string>"

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Receives the OAuth authorization callback from the provider, exchanges the code and state for tokens, and responds with an HTML bounce page that JS-redirects the user back to the web or desktop app. Uses a bounce page rather than a bare 302 to support custom-scheme deeplinks on macOS.

Path Parameters

provider
enum<string>
required
Available options:
gmail,
outlook,
google_drive,
onedrive,
dropbox,
notion

Query Parameters

code
string
Maximum string length: 2048
state
string
Maximum string length: 128
error
string

Response

HTML bounce page that JS-redirects the user back to the desktop or web app.

The response is of type string.