CreateSession
CreateSession
POST
https://app.nokku.sh/v1/workspaces/{workspace_id}/daemons/{daemon_id}/sessionspath Parameters
workspace_idstring <uuid>required
Example 497f6eca-6276-4993-bfeb-53cbbbba6f08
daemon_idstring <uuid>required
Example 497f6eca-6276-4993-bfeb-53cbbbba6f08
Authorization
BearerAuth (bearer)
PASETO token authentication. Include the token in the Authorization header: `Authorization: Bearer <token>`
CookieAuth (apiKey in cookie)
Cookie-based authentication (recommended for web applications). The session cookie is automatically sent by browsers after login.
Request Body
requiredapplication/json
object
username?string
Responses
200Success
200Success
application/json
object
session?object
sessionId?string
username?string
userId?string
daemonName?string