Your bot can also be executed with HTTP requests. This is useful if you want to integrate your bot with another service or if you want to use it in a different programming language.
All your requests need to be authenticated with an API token. See instructions.
To start the chat, send a POST request to https://typerobo.com/api/v1/typebots/<typebot ID>/preview/startChat
The first response will contain a sessionId that you will need for subsequent requests.
To send replies, send POST requests to https://typerobo.com/api/v1/sessions/<session ID>/continueChat
With the following JSON body:
Check out the Start preview chat API reference for more information
To start the chat, send a POST request to https://typerobo.com/api/v1/typebots/<public ID>/startChat
The first response will contain a sessionId that you will need for subsequent requests.
To send replies, send POST requests to https://typerobo.com/api/v1/sessions/<session ID>/continueChat
With the following JSON body:
Check out the Start chat API reference for more information
Your bot can also be executed with HTTP requests. This is useful if you want to integrate your bot with another service or if you want to use it in a different programming language.
All your requests need to be authenticated with an API token. See instructions.
To start the chat, send a POST request to https://typerobo.com/api/v1/typebots/<typebot ID>/preview/startChat
The first response will contain a sessionId that you will need for subsequent requests.
To send replies, send POST requests to https://typerobo.com/api/v1/sessions/<session ID>/continueChat
With the following JSON body:
Check out the Start preview chat API reference for more information
To start the chat, send a POST request to https://typerobo.com/api/v1/typebots/<public ID>/startChat
The first response will contain a sessionId that you will need for subsequent requests.
To send replies, send POST requests to https://typerobo.com/api/v1/sessions/<session ID>/continueChat
With the following JSON body:
Check out the Start chat API reference for more information