Skip to content

NEWUnify Agents (MCP): governed AI access to finance data. Early access.See Unify Agents

GLOSSARY

What is token refresh?

DEFINITION

Token refresh exchanges a long-lived refresh token for a new short-lived access token, so an integration keeps working without the user signing in again.

Also called: Refresh token, Token rotation

How it works

OAuth access tokens expire, sometimes after an hour. Before or after expiry, the integration calls the platform's token endpoint with the refresh token. Many platforms rotate refresh tokens, issuing a new one each time and invalidating the old one. If two processes refresh at once, or a new refresh token is not saved, the connection breaks and the customer must reconnect.

Example

Two workers refresh the same QuickBooks Online connection at the same moment. One saves its new refresh token, the other overwrites it with a stale one, and the next sync fails.

In integrations

Unify Connect is designed to serialize refreshes per connection, store tokens in a separate vault and retry once on a 401 before marking a connection expired. Unify Monitor raises health alerts for expiring and expired tokens before they turn into support tickets. Broken token handling is a common cause of disconnected integrations. Each reconnect request costs customer trust, so treat refresh as critical infrastructure, not a helper function.

Related terms

Related products and solutions

Get started

Connect once. Build everything else on top.

Request sandbox access, or book 30 minutes with an engineer to map your integrations.

Free sandbox access. No credit card. Reply within one business day.