---
title: "Get cookie by auth token"
method: GET
path: "/twitter/{auth_token}/cookie"
tags: ["Cookie Endpoints"]
---

# Get cookie by auth token

`GET /twitter/{auth_token}/cookie`

## Request

- Base URL: `https://api.twexapi.io`
- URL: `https://api.twexapi.io/twitter/{auth_token}/cookie`
- Auth: HTTP bearer

Retrieve Twitter authentication cookie using the provided auth token. This endpoint converts an auth token into a usable cookie for Twitter API requests.

## Path parameters

- `auth_token` string, required

## Response `200`

Twitter authentication cookie

- StandardResponse: Standard API response format
  - `code` integer, required: HTTP status code
  - `msg` string, required: Response message
  - `data` unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/twexapi/apis/twexapi-rest-api.md) · [All operations](https://skmtc.dev/twexapi/apis/twexapi-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/twexapi/apis/twexapi-rest-api/revisions/59a99ac0d8f7?raw)
