Genbase
ApiProfile

Create a new chat session

POST
/profile/session/create

Authorization

AuthorizationRequiredBearer <token>

JWT Token for authenticated users (obtained via /auth/jwt/login).

In: header

Query Parameters

module_idRequiredstring

Module ID

profileRequiredstring

Profile name

curl -X POST "http://localhost:8000/profile/session/create?module_id=string&profile=string" \
  -H "Authorization: Bearer <token>"

Successful Response

{
  "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
  "timestamp": "2019-08-24T14:15:22Z"
}