Create an app
Workspace owners can open Workspace settings → OAuth Apps and select Create OAuth app. Register every exact callback URL your product uses. HTTPS is required, except that HTTP loopback callbacks are accepted for local development. The generated client secret is not displayed when the app is created. Open the app’s details menu and select Regenerate secret when you are ready to copy a one-time secret into your server-side secret manager. Enable PKCE only for a public client that cannot safely store a client secret. Biqli supports theS256 challenge method.
Endpoints
Authorization request
Redirect the user to the authorization endpoint with these query parameters:
After approval, Biqli redirects to the callback with a single-use
code and
the unchanged state. Authorization codes expire after five minutes.
Exchange and refresh tokens
Confidential clients authenticate withclient_id and client_secret.
Public clients omit the secret and send their code_verifier during the code
exchange.
Scopes and workspace access
Request only the permissions your integration needs. Resource scopes use the same names as workspace API-key permissions, includinglinks.view,
links.create, and webhooks.create. Coarse scopes such as links.read and
webhooks.write power the dedicated integration endpoints documented on
their own pages; use granular scopes for the standard resource APIs.
Send the access token as a bearer token to supported API endpoints. The token
selects its authorized workspace automatically; do not send internal
workspaceId or workspace_id fields. Existing workspace role permissions,
plan access, quotas, and resource policies continue to apply.
Webhooks created through an OAuth token belong to that OAuth connection and
are deleted automatically if the connection, OAuth app, or owning workspace
is revoked or removed.
Revocation
Send an access or refresh token toPOST /api/v1/oauth/revoke, authenticated
with the app’s client credentials. App owners can also remove the OAuth app;
that revokes all of its active connections and deletes its uploaded media.
