Skip to main content
POST
/
integrations
/
{provider}
/
authorize
Begin OAuth authorization
curl --request POST \
  --url https://app.myhero.so/integrations/{provider}/authorize \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "url": "<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.

Initiates the OAuth authorization flow for the specified provider (e.g. gmail, google_drive). The optional device query parameter (web or desktop) determines the post-callback redirect target. Returns a url the client must open to complete authorization.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

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

Query Parameters

device
enum<string>
Available options:
web,
desktop

Response

200 response

data
object
required