---
title: "Ask Grok"
method: POST
path: "/v3/twitter/grok/ask"
tags: ["Grok Endpoints"]
---

# Ask Grok

`POST /v3/twitter/grok/ask`

## Request

- Base URL: `https://api.twexapi.io`
- URL: `https://api.twexapi.io/v3/twitter/grok/ask`
- Auth: HTTP bearer

Ask Grok with a Twitter account cookie.

## Request body

- GrokAskQuery: Parameters for asking Grok
  - `prompt` string, required: User prompt.
  - `conversation_id` string, nullable: Continue an existing Grok conversation.
  - `model` string, nullable: Optional model id (default grok-3-latest).
  - `cookie` string, 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](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
  - `proxy` string, nullable: Optional HTTP proxy. Example: http://username:password@ip:port

## Response `200`

Grok response result.

- GrokAskResponse: Response for asking Grok
  - `code` integer, required: Response code
  - `msg` string, required: Response message
  - `data` GrokAskResult: Grok ask result
    - `conversation_id` string, required: Grok conversation id
    - `user_chat_item_id` string, nullable: User chat item id
    - `agent_chat_item_id` string, nullable: Agent chat item id
    - `message` string, required: Final assistant message
    - `reasoning` string, nullable: Reasoning text
    - `soft_stop` boolean, nullable: Whether response soft-stopped
    - `follow_up_suggestions` GrokFollowUpSuggestion[]: Follow-up suggestions
      - `label` string, required: Suggestion label
      - `properties` object, nullable: Suggestion properties
      - `tools_overrides` object, nullable: Tools overrides

## 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)
