---
title: "Deprecated endpoint Logins in a user to Roblox, then links the Roblox account to the external provider ID"
method: POST
path: "/v1/external/loginAndLink"
tags: ["Accounts"]
---

# Deprecated endpoint Logins in a user to Roblox, then links the Roblox account to the external provider ID

`POST /v1/external/loginAndLink`

## Request body

- RobloxAuthenticationApiModelsRequestExternalLoginAndLinkRequest
  - `ctype` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 — ['Email' = 0, 'Username' = 1, 'PhoneNumber' = 2, 'EmailOtpSessionToken' = 3, 'AuthToken' = 4, 'Passkey' = 5, 'AsUser' = 6, 'TwoStepVerification' = 7, 'XboxLive' = 8, 'PlatformLive' = 9, 'MagicLink' = 10]
  - `cvalue` string
  - `password` string
  - `authenticationProof` string
  - `IdentityProviderPlatformType` 0 | 1 | 2 | 3 — ['Undefined' = 0, 'Xbox' = 1, 'Playstation' = 2, 'Web' = 3]
  - `additionalInfoPayload` object

## Response `200`

OK

- RobloxAuthenticationApiModelsLoginResponse
  - `user` RobloxWebResponsesUsersSkinnyUserResponse
    - `id` integer
    - `name` string
    - `displayName` string
  - `twoStepVerificationData` RobloxAuthenticationApiModelsTwoStepVerificationSentResponse
    - `mediaType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 — ['Email' = 0, 'SMS' = 1, 'Authenticator' = 2, 'RecoveryCode' = 3, 'SecurityKey' = 4, 'CrossDevice' = 5, 'Password' = 6, 'Passkey' = 7]
    - `ticket` string
  - `identityVerificationLoginTicket` string
  - `isBanned` boolean
  - `accountBlob` string
  - `shouldUpdateEmail` boolean
  - `recoveryEmail` string
  - `passkeyRegistrationSucceeded` boolean
  - `shouldAutoLoginFromRecovery` boolean
  - `shouldPrompt2svRemoval` boolean
  - `shouldPromptPasskeyAddition` boolean
  - `shouldPromptCredentialInvalidation` boolean

## Other responses

- `403` — 0: Token Validation Failed

## Changes

- **2026-09-03** `d9b4ae8b3380` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/roblox/apis/roblox-api/changes/v1/external/loginAndLink/post.md)

---

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