v68

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0170379386.9 KB
Tools

Start the OAuth authorization flow for an action pack.

Starts the third-party OAuth flow for the specified action pack and returns the redirect URL that the client should navigate the end user to. After the OAuth callback completes, the user's browser is redirected back to returnUrl with a status query parameter (?glean_action_auth=success|error&actionPackId=...).

returnUrl must match the tenant's configured return URL allowlist; otherwise the request is rejected with 400.

post/rest/api/v1/actions/actionpack/{actionPackId}/auth

Request body

returnUrlstring required

URL on the customer's domain to redirect the end user's browser back to after the third-party OAuth callback completes. Must be present in the tenant's return URL allowlist.

Response

Successful operation

redirectUrlstring required

URL that the customer UI should navigate the end user to in order to begin the third-party OAuth flow. After the user consents, control returns to returnUrl from the request.