Fix Grok (xAI) Error in Make.com — Use HTTP Module Instead · published 6 February 2026
Play at 1:12 Watch on YouTube xAI
How do I send a Grok chat prompt through Make's HTTP module?
I POST to xAI's chat completions URL. The header Content-Type is application/json. The header Authorization is the word Bearer, then the API key. The body is a JSON string.
Authentication type stays No authentication. Query parameters stay empty. Body content type is application/json, and the body input type is JSON string. The model in that body is Grok 4.1 fast reasoning. I can add more than one role, each with its own content. Temperature and max tokens stay where they were on the old xAI module. I do not change the rest.
A test question returns under output, choices, messages. The answer was that Brussels is the capital of Belgium.