connectors
Oauth Import
Admin: seed a Google OAuth connector from a pre-existing refresh token (founder-held, e.g. ~/ENV/google-ads-tokens). Validates by exchanging the token for an access token and enforcing the connector's required scopes, then persists the encrypted grant — no browser consent, so this works even when the connector redirect URI is not yet registered in Google Console. Body: {"refresh_token": "..."}.
post/api/connectors/{slug}/oauth/import
Request
- Base URL: https://api.advisorppc.com (the document declares no server; this is the origin it was published from)
- URL: https://api.advisorppc.com/api/connectors/{slug}/oauth/import
- Auth: HTTP bearer
Path parameters
slugstring required
Headers
X-Tenant-Idinteger nullable
Request body
object required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.