Grok Endpoints

Get Grok History

Get Grok conversation history list.

post/v3/twitter/grok/history

Request

  • Base URL: https://api.twexapi.io
  • URL: https://api.twexapi.io/v3/twitter/grok/history
  • Auth: HTTP bearer

Request body

countinteger nullable

Number of conversations to return.

cookiestring required

The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See Authentication Security and How to get Cookie.

proxystring nullable

Optional HTTP proxy. Example: http://username:password@ip:port

Example request

{
  "count": 20,
  "cookie": "ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7",
  "proxy": "http://username:password@ip:port"
}

Response

A list of Grok conversations.

codeinteger required

Response code

msgstring required

Response message

Example response

{
  "code": 200,
  "msg": "success",
  "data": [
    {
      "conversation_id": "2076320454898278729",
      "title": "Friendly greeting",
      "created_at_ms": 1783868347485
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.