import Conductor from "conductor-node";
const conductor = new Conductor("{{YOUR_SECRET_KEY}}");

const endUser = await conductor.authSessions.retrieve(
  "int_conn_auth_sess_1234567abcdefg",
);
{
  "id": "int_conn_auth_sess_1234567abcdefg",
  "endUserId": "end_usr_1234567abcdefg",
  "clientSecret": "auth_sess_client_secret_1234567abcdefg",
  "authFlowUrl": "https://connect.conductor.is/qbd/auth_sess_client_secret_1234567abcdefg?key={{YOUR_PUBLISHABLE_KEY}}",
  "expiresAt": "2022-11-16 23:51:08.996+00"
}

Retrieves the details of an AuthSession that has previously been created.

Parameters

id
string
required

The ID of the AuthSession to retrieve.

Response

Returns an AuthSession if a valid identifier was provided.