---
title: "Add an External Account"
method: POST
path: "/{item_id}/external-account"
tags: ["Account Publishing"]
---

# Add an External Account

`POST /{item_id}/external-account`

## Request

- Base URL: `https://api.lzt.market`
- URL: `https://api.lzt.market/{item_id}/external-account`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lzt/apis/lolzteam-public-api-market/docs/:item_id/external-account/post.ts> (a function with typed inputs; its response is checked against the schema)

Check and add an external account to your item.

> ❗️ Please note that if you're linking a Social Club account to Steam, it will update the last activity on your account (This is a limitation of Steam). If Social Club Games does not have a linked account, do not enter any data.

## Path parameters

- `item_id` integer, required: Item id.

## Request body

- object
  - `type` 'socialclub' | 'dota2', required: External account type.
  - `login` string: Account login data (login:password format).
  - `email_login_data` string: Email login data (email:password format).
  - `cookies` string: Cookies.

## Response `200`

Successful Response.

- object
  - `status` string
  - `message` string
  - `system_info` RespSystemInfo
    - `rate_limit` object, required
      - `limit` integer, required
      - `remaining` integer, required
      - `reset` integer, required
      - `bucket` string
    - `visitor_id` integer, required
    - `time` integer, required
    - `log_id` integer, required

## Other responses

- `400`: Unauthorized
- `401`: Unauthorized
- `403`: Error Response.
- `404`: Error Response.

## Changes

- **2026-11-03** `0ff169799e9a`: 3 info
  - api tag `Account Publishing` added
  - api tag `Account publishing` removed
  - added the new `dota2` enum value to the request property `type`

[Operation history](https://skmtc.dev/lzt/apis/lolzteam-public-api-market/changes/:item_id/external-account/post.md)

---

[API](https://skmtc.dev/lzt/apis/lolzteam-public-api-market.md) - [All operations](https://skmtc.dev/lzt/apis/lolzteam-public-api-market/llms.txt) - [OpenAPI document](https://skmtc.dev/lzt/apis/lolzteam-public-api-market/revisions/0ff169799e9a?raw)
