---
title: "POST /oauth/renew"
method: POST
path: "/oauth/renew"
---

# POST /oauth/renew

`POST /oauth/renew`

## Query parameters

- `dist` unknown

## Response `200`

The renewed token

- object
  - `token` string — Routine token
  - `channel` union — The user's release channel.
    - string
    - string
  - `id` string — Account id, i.e. the main google account
  - `user_id` AccountId — unresolved $ref
  - `premium` string — The potential premium key
  - `workspace` object — Personal workspace of the user
    - `created` string
    - `id` string
    - `owner` string
    - `name` string
    - `cookie` string
    - `default` boolean
  - `uid` string

## Other responses

- `303` — Use another API instead
- `401` — Renewal failed

---

[API](https://skmtc.dev/routine/apis/routine-co.md) · [All operations](https://skmtc.dev/routine/apis/routine-co/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/routine/routine-co/revisions/efced8f8ad00/schema)
