Skip to content
  • Auto
  • Light
  • Dark
Get Started

Retrieve Transaction

Get
client.stepUp.retrieveTransaction(stringid, RequestOptionsoptions?): transactionStepUpTransactionStepUpRetrieveTransactionResponse
get/api/v1/step-up/transactions/{id}

Get retrieves a specific step-up transaction by ID

Parameters
idstring

ID of the transaction to retrieve

Returns
StepUpRetrieveTransactionResponse

Response message containing the requested step-up transaction

Hide ParametersShow Parameters
transactionidstringapproveTaskunionclaimsRecord<string, unknown>createdAtstringerrorMessagestringexpiresAtstringproviderIdstringstateuniontestunknownupdatedAtstringuserIdstringStepUpTransaction
optional

StepUpTransaction represents a record of a step-up authentication attempt

This message contains a oneof named target. Only a single field of the following list may be set at a time:

  • approveTask
  • test
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';

const client = new ConductoroneSDK({
  apiKey: 'My API Key',
});

const response = await client.stepUp.retrieveTransaction('id');

console.log(response.transaction);
200 Example
{
  "transaction": {
    "id": "id",
    "approveTask": {
      "policyStepId": "policyStepId",
      "taskId": "taskId"
    },
    "claims": {
      "foo": "bar"
    },
    "providerId": "providerId",
    "test": {},
    "userId": "userId"
  }
}