Start the authorization flow

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
uuid
required

Your app's client ID, from the developer portal.

string
required

Where to send the customer after they approve. Must match one of your registered redirect URIs exactly, including scheme, port, and path.

string
enum
required

Always code.

Allowed:
string
required

Space-separated permissions to request. Customers see every one of them on the consent screen, so ask only for what you use.

string
length ≤ 512

Opaque value returned unchanged on the callback. Use it to tie the response back to the request that started it.

string
required
length between 43 and 128

Base64url-encoded SHA-256 digest of your code_verifier, without padding.

string
enum
required

Always S256. Plain challenges are not accepted.

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
text/html