---
title: "Force a Linear OAuth token refresh and return the updated status payload. Useful when an agent observes an expired token and wants to recover without restarting the server or re-running OAuth."
method: POST
path: "/api/trackers/linear/refresh"
tags: ["Trackers"]
---

# Force a Linear OAuth token refresh and return the updated status payload. Useful when an agent observes an expired token and wants to recover without restarting the server or re-running OAuth.

`POST /api/trackers/linear/refresh`

## Response `200`

Token refreshed; returns same shape as /status

- object
  - `provider` 'linear', required
  - `connected` boolean, required
  - `tokenExpiry` string, nullable, required
  - `scope` string, nullable, required
  - `webhookUrl` string, required
  - `redirectUri` string, required

## Other responses

- `409` — Linear not connected (no refresh token stored)
- `500` — Refresh failed
- `503` — Linear integration not configured

## Changes

- **2026-08-07** `06cac6a7c5bc` — 4 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `409`
  - added the media type `application/json` for the response with the status `500`
  - added the media type `application/json` for the response with the status `503`

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/trackers/linear/refresh/post.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/revisions/8cde933218b5/schema)
