Redirect the customer here to ask them to connect their Friday company to your app. This is a browser redirect, not an API call — it responds with a 302 to the Friday consent screen, where a company owner or admin picks their company and approves the permissions you requested.
After they approve, the browser is redirected to your redirect_uri with a single-use code valid for 5 minutes, which you exchange at POST /oauth/token.
PKCE is required. Generate a random code_verifier of 43–128 characters, and send its base64url-encoded SHA-256 digest as code_challenge.
If the client_id is unknown or the redirect_uri is not registered on your app, Friday renders an error page instead of redirecting — an unverified redirect target never receives a redirect, not even an error one (RFC 6749 §4.1.2.1). Every other failure redirects back to your redirect_uri with error and error_description.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
