---
title: "Linked Accounts Oauth2 Callback"
method: GET
path: "/v1/linked-accounts/oauth2/callback"
tags: ["linked-accounts"]
---

# Linked Accounts Oauth2 Callback

`GET /v1/linked-accounts/oauth2/callback`

Callback endpoint for OAuth2 account linking.
- A linked account (with necessary credentials from the OAuth2 provider) will be created in the database.

## Response `200`

Successful Response

- LinkedAccountPublic
  - `id` string, uuid, required
  - `project_id` string, uuid, required
  - `app_name` string, required
  - `linked_account_owner_id` string, required
  - `security_scheme` 'no_auth' | 'api_key' | 'http_basic' | 'http_bearer' | 'oauth2', required — security scheme type for an app (or function if support override)
  - `enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

---

[API](https://skmtc.net/aci/apis/aipolabs.md) · [All operations](https://skmtc.net/aci/apis/aipolabs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aci/aipolabs/revisions/718400d06fee/schema)
