Developers
OAuth apps
An OAuth app lets people connect your product to their own SaveSlot account, the same way they connect Claude or ChatGPT. They choose which slots your app can reach, can change that later, and can revoke it under Connect agents.
Register an app
- In the console, open Developers → OAuth apps.
- Enter your app's name and its redirect URL. The redirect URL must use
https://. For development,http://localhostandhttp://127.0.0.1are accepted. - Choose Register app. The console shows the app's client id.
Delete an app from the same list. People who authorized it lose the connection.
The authorization flow Draft
SaveSlot follows OAuth 2.1 with PKCE:
- Your app sends the person to the consent screen:
https://app.saveslot.ai/oauth/authorize
?client_id=ss_app_…
&redirect_uri=https://yourapp.example/callback
&response_type=code
&state=…
&code_challenge=…&code_challenge_method=S256- The person signs in if needed, sees your app's name, your redirect domain and what you will get, and allows or denies.
- SaveSlot redirects to your
redirect_uriwithcodeandstate. A denial returnserror=access_denied. - Your backend exchanges the code at
POST https://api.saveslot.ai/v1/oauth/tokenwith thecode_verifier, and receives an access token and a refresh token.
What the person approves
The consent screen uses the same choices as for agents: all slots or selected slots, read only or read and write per slot, and whether your app may create tables or delete data. Your app can request a narrower starting point; the person can always narrow it further. See Agent permissions.