Create Organization User Session Token

Changed on

As an Organization Admin, create a short-lived session token for a user in your organization.

post/api/v1/auth/skyfire-session-token

Request

  • Base URL
    https://api.skyfire.xyz
  • URL
    https://api.skyfire.xyz/api/v1/auth/skyfire-session-token
  • Auth
    API key in header skyfire-api-key

Request body

userIdstring uuid required

Unique identifier of the organization user the session is created for. Must be a user in your own organization. e.g. "906fc259-ef0a-4736-bdcd-c1d5a78db483"

Response

Ok

string required

The session token as a bare JSON string, not an object. Expires 5 minutes after creation.

Changes