Genbase
ApiProfile

Get all available sessions for a profile

GET
/profile/sessions

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 GET "http://localhost:8000/profile/sessions?module_id=string&profile=string" \
  -H "Authorization: Bearer <token>"

Successful Response

[
  {
    "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
    "last_message": "string",
    "last_updated": "2019-08-24T14:15:22Z",
    "is_default": true
  }
]