---
title: "Links a just-completed social login (Google/Apple) into the authenticated guest/anonymous account (#2208). The primary account is taken from the auth token, so a guest can only link social identities into their own account."
method: POST
path: "/auth/link-social-to-guest"
tags: ["auth"]
---

# Links a just-completed social login (Google/Apple) into the authenticated guest/anonymous account (#2208). The primary account is taken from the auth token, so a guest can only link social identities into their own account.

`POST /auth/link-social-to-guest`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/auth/link-social-to-guest`
- Auth: HTTP bearer

## Request body

- LinkSocialToGuestDto
  - `linkWith` string, required

## Response `201`

---

[API](https://skmtc.dev/focusbear/apis/focusbear-api.md) - [All operations](https://skmtc.dev/focusbear/apis/focusbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/focusbear/apis/focusbear-api/revisions/3a83a3b9a811?raw)
