Nokku LogoNokku
Nokku LogoNokku

CreateSession

CreateSession

nokku.v1.DaemonService
POST
https://app.nokku.sh/v1/workspaces/{workspace_id}/daemons/{daemon_id}/sessions

path 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

required

application/json

object
username?
string

Responses

200

Success

application/json

object
session?
object
sessionId?
string
username?
string
userId?
string
daemonName?
string

Code Samples

Example Responses