---
title: "Oauth Callback"
method: GET
path: "/api/v1/oauth/{provider}/callback"
tags: ["System: OAuth"]
---

# Oauth Callback

`GET /api/v1/oauth/{provider}/callback`

OAuth callback endpoint.

Provider redirects here after user authorizes. Exchanges code for tokens.

## Path parameters

- `provider` 'apple' | 'samsung' | 'garmin' | 'google' | 'polar' | 'suunto' | 'whoop' | 'strava' | 'oura' | 'fitbit' | 'ultrahuman' | 'sensorbio' | 'unknown' | 'internal', required — Supported data providers.

## Query parameters

- `code` string, nullable — Authorization code from provider
- `state` string, nullable — State parameter for CSRF protection
- `error` string, nullable
- `error_description` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-26** `e8a9270a1ee1` — 1 info
  - added the new enum value `sensorbio` to the `path` request parameter `provider`

[Change history](https://skmtc.dev/openwearables/apis/open-wearables-api/changes/api/v1/oauth/:provider/callback/get.md)

---

[API](https://skmtc.dev/openwearables/apis/open-wearables-api.md) · [All operations](https://skmtc.dev/openwearables/apis/open-wearables-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openwearables/open-wearables-api/revisions/c1934e149569/schema)
