cURL
Grok
Grok Completions
POST
cURL
The TTAPI proxy for the Grok Chat Completions API uses the TTAPI platform key in the request header for authentication, while all other request and response parameters remain consistent with the official API.
For details, refer to the Grok official documentation.
Authorizations
You can obtain your API key from the TTAPI Dashboard.
Body
application/json
Example:
[{ "role": "user", "content": "Hello!" }]Model to use, see Supported Models
Whether to use server-sent events for progressive response transmission
Last modified on June 12, 2026