GET
/
{workspaceId}
/
projects
/
{projectName}
/
auth-sessions
/
create
/
{operationId}
/
result
createAuthSessionResult
import { IntunedClient } from "@intuned/client";

const intunedClient = new IntunedClient({
  apiKey: "<YOUR_API_KEY_HERE>",
  workspaceId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});

async function run() {
  const result = await intunedClient.project.authSessions.create.result("my-project", "aaaabbbCCCCdddd");

  // Handle the result
  console.log(result);
}

run();
{
"status": "done",
"authSessionId": "00000000-1111-2222-3333-444444444444"
}

Authorizations

x-api-key
string
header
required

API Key used to authenticate your requests. How to create one.

Path Parameters

workspaceId
string<uuid>
required

Your workspace ID. How to find it?

projectName
string
required

Your project name. It is the name you provide when creating a project.

operationId
string
required

The ID for the requested auth session creation operation. This is obtained from the start request.

Response

200
application/json

result of creation. can be pending, completed, failed or requested_more_info

Auth session create done