sessions
Create Session
Create a Session for a User
Args: app_id (uuid.UUID): The ID of the app representing the client application using honcho user_id (uuid.UUID): The User ID representing the user, managed by the user session (schemas.SessionCreate): The Session object containing any metadata
Returns: schemas.Session: The Session object of the new Session
POST
/
apps
/
{app_id}
/
users
/
{user_id}
/
sessions
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
app_id
string
requireduser_id
string
requiredBody
application/json
metadata
object | null
Response
200 - application/json
id
string
requiredis_active
boolean
requireduser_id
string
requiredmetadata
object
requiredcreated_at
string
required