Browse docs

Register an OAuth app

For an app other people will connect: register the app in Settings › Integrations › API to get a client ID, then send each person through Telltail’s sign-in with standard OAuth 2.1. Each person who approves gets their own read-only connection.

Register the app

Registering is for admins, and anyone else who can manage staff, in a shop with Connected apps switched on.

  1. Open the API card

    Go to Settings › Integrations › API, find OAuth apps under the tokens and press New app.

  2. Describe the app

    Enter a Name people will recognize: they see the name when they approve the app. Under Redirect URLs, list where Telltail may send someone back after they approve, one URL a line. Each must start with https://, or http:// on localhost for development.

  3. Say where the app runs

    Under Runs on, pick Server if the app runs on a server that can keep a secret. Pick Device or browser for a phone or desktop app, or a page that runs in the browser. That kind of app gets no secret.

  4. Copy the client ID and secret

    Press Create. Telltail shows the Client ID and, for a server app, the Client secret. The secret is shown once. The client ID stays on the list.

Connect a person

Telltail is a standard OAuth 2.1 authorization server. Discovery is at https://app.telltailhq.com/.well-known/oauth-authorization-server, so most OAuth libraries configure themselves from that address.

GET /oauth/authorize
Send the person here. They sign in, pick a shop and approve. PKCE with S256 is required.
POST /oauth/token
Exchange the code for tokens, and later the refresh token for new ones.
POST /oauth/revoke
Revoke a token. Revoking a refresh token ends the whole connection.
  1. Send the person to authorize

    https://app.telltailhq.com/oauth/authorize
      ?response_type=code
      &client_id=OC_your_client_id
      &redirect_uri=https://example.com/oauth/callback
      &code_challenge=BASE64URL_SHA256_OF_YOUR_VERIFIER
      &code_challenge_method=S256
      &state=RANDOM_VALUE_YOU_CHECK_LATER

    The person sees your app’s name marked Unverified and the host it returns to, picks a shop and presses Approve.

  2. Exchange the code

    Telltail sends the browser to your redirect URL with code, state and iss. Check the state, then post the code within five minutes. A server app sends its secret as HTTP Basic credentials, or as client_secret in the form. A device or browser app sends client_id in the form and no secret.

    curl https://app.telltailhq.com/oauth/token \
      -u "OC_your_client_id:your_client_secret" \
      -d grant_type=authorization_code \
      -d code=tt_ac_the_code \
      -d redirect_uri=https://example.com/oauth/callback \
      -d code_verifier=YOUR_VERIFIER
  3. Call the API, and refresh

    The answer holds an access_token (tt_at_…, good for an hour) and a refresh_token (tt_rt_…, good for 30 days). Send the access token as Authorization: Bearer. Before it runs out, post grant_type=refresh_token with the refresh token. Each refresh answers a new pair, and the old refresh token is spent.

Add resource=https://app.telltailhq.com/api/v1 or …/mcp to the authorize request to limit a token to one of them. Leave it out and the token works on both.

Change or remove the app

Press the app’s row in Settings › Integrations › API to open it.

  • Name and redirect URLs. Edit them and press Save changes. A redirect URL taken off the list stops working at once.
  • Rotate secret. The app gets a new secret, shown once, and the old one stops working at once. Connections people already made keep working once the app has the new secret.
  • Delete app. The client ID stops working and every connection to the app ends, at every shop.

Q&A

Can people at other shops connect my app?

Yes. Anyone with a Telltail sign-in can approve it for a shop they belong to, as long as that shop has Connected apps switched on.

Why does my app say Unverified?

Every app does. An app names itself and Telltail doesn’t check the name, so the consent page also shows the host the person will be sent back to.

Can an app register itself without Settings?

Yes: POST /oauth/register is open, which is how tools such as Claude connect. An app registered that way belongs to no shop, so nobody can edit the app or rotate its secret, and Telltail removes the app once it is 30 days old and has no connections.

How many apps can a shop register?

A shop can register ten apps.

Where do people see and end their connection to my app?
NextMake requests to the API