Getting 404 trying to startChat & startChat preview API

Hi, is possible someone can help me how to start a Chat? I follow this guide but looks like I'm missing something, someone can help me to authenticate with my API, and in which service I can see logs viewer or builder, is possible? Still getting an NOT_FOUND, 404 https://docs.typebot.io/api-reference/authentication
No description
8 Replies
Baptiste
Baptiste17mo ago
Are you sure klim.weklimax.com is your NEXTAUTH_URL?
Alexander A.
Alexander A.OP17mo ago
Hi Baptiste thanks for your answer, I'm a little bit confuse NEXTAUTH_URL is only for the builder or it's also associated with the api too?
Alexander A.
Alexander A.OP17mo ago
My current env: NEXTAUTH_URL=https://builder.weklimax.com NEXT_PUBLIC_VIEWER_URL=https://klim.weklimax.com When I try to test the API
No description
Cláudio Éden
Cláudio Éden17mo ago
Hi. Did you manage to solve the API call problem? I get error 404.
Baptiste
Baptiste17mo ago
The results endpoint is part of the builder API It’s different from the chat API which is hosted on the viewer app
JohnWazi
JohnWazi17mo ago
@Baptiste so NEXTAUTH_URL and NEXT_PUBLIC_VIEWER_URL must add same URL?
Baptiste
Baptiste17mo ago
No, please read the configuration doc, it should be explained 🙂
JohnWazi
JohnWazi17mo ago

Did you find this page helpful?