You only create sessions in the Javascript SDK in the browser environment, there is no need to create a session in the REST API.

If you really want to create a session in the REST API, you need to call:PUT{appId}/conversations/{conversationId} 

Click on the link below for more

You’ve successfully subscribed to TalkJS
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Your link has expired
Success! Check your email for magic link to sign-in.