# Generate a new optimal path plan

Generates a new Optimal Path plan with the specified `targetScore` and `duration`. The previous plan will be deleted and progress tracking will reset for the new plan.
**Parameters:** Valid `duration`: 3-12 months. Valid `targetScore`: 301-850, must be higher than the user's current score.
**Requirements:** The user must have passed identity verification.
**Equifax only.** This endpoint serves Equifax data.

Endpoint: POST /users/efx-optimal-path
Version: v3
Security: userToken

## Security:

  - `userToken` (unknown)
    http bearer JWT

## Request fields (application/json):

  - `duration` (integer)

  - `targetScore` (integer)

## Request examples:

  - `Generate Plan` (unknown)
    Generate Plan

## Response 200:

  - `200` (unknown)
    Plan generated

## Response 200 fields (application/json):

  - `summary` (object)
    Trimmed plan summary — recommended for most clients. Contains the headline numbers, current month, and month-by-month projections.

  - `summary.score` (integer)
    User's current credit score

  - `summary.targetScore` (integer)
    Target score the user is working toward (301–850)

  - `summary.projectedFinalScore` (integer)
    Projected score at the end of the plan if the user follows the recommendations

  - `summary.enrollmentId` (string)
    Equifax enrollment ID for the user

  - `summary.planDifficultyRating` (string)
    Overall plan difficulty (e.g. `EASY`, `MODERATE`, `HARD`) — sets expectations for how achievable the plan is

  - `summary.message` (string)
    Human-readable headline message about the plan

  - `summary.onTrack` (boolean)
    `true` if the user's actual current-month score is at or above the projected target — useful for showing on-track / behind state

  - `summary.monthsRemaining` (integer)
    Number of months remaining in the plan

  - `summary.planStartDate` (string)
    Plan start date (YYYY-MM-DD)

  - `summary.planEndDate` (string)
    Plan end date (YYYY-MM-DD)

  - `summary.currentMonth` (object)
    Detail for the current calendar month — actual vs projected score, top factors, and account-level recommendations

  - `summary.currentMonth.monthSeq` (integer)
    Month index within the plan (1 = first month)

  - `summary.currentMonth.periodStartDate` (string)
    Start of the period this month covers (YYYY-MM-DD)

  - `summary.currentMonth.periodEndDate` (string)
    End of the period this month covers (YYYY-MM-DD)

  - `summary.currentMonth.actualScore` (integer)
    User's actual credit score for the month, if known

  - `summary.currentMonth.projectedScore` (integer)
    Projected score for the month if the user follows the recommendations

  - `summary.currentMonth.monthDifficultyRating` (string)
    Difficulty rating for this specific month

  - `summary.currentMonth.topFactors` (array)
    Top contributing factors that will move the score this month, sorted by projected impact

  - `summary.currentMonth.topFactors.factor` (string)
    Internal factor key (e.g. `overallCreditUtilization`, `pastDueAmount`, `hardInquiries`)

  - `summary.currentMonth.topFactors.label` (string)
    Human-readable label for the factor (e.g. `Credit Utilization`)

  - `summary.currentMonth.topFactors.projectedScoreImpact` (number)
    Projected score-point impact of acting on this factor

  - `summary.currentMonth.recommendations` (array)
    Prioritized, account-level recommendations for the month — what to pay down, where to focus

  - `summary.currentMonth.recommendations.priority` (integer)
    Priority of this recommendation (1 = highest)

  - `summary.currentMonth.recommendations.tradeLineName` (string)
    Display name of the tradeline / account

  - `summary.currentMonth.recommendations.accountLastFour` (string)
    Last four digits of the account number

  - `summary.currentMonth.recommendations.accountType` (string)
    Account type (e.g. credit card, installment loan)

  - `summary.currentMonth.recommendations.accountBalance` (integer)
    Current account balance (USD)

  - `summary.currentMonth.recommendations.utilization` (number)
    Current utilization percentage (0–100). Null if not applicable.

  - `summary.currentMonth.recommendations.creditLimit` (integer)
    Credit limit (USD). Null if not applicable.

  - `summary.currentMonth.recommendations.category` (string)
    Recommendation category (e.g. `PAY_DOWN_BALANCE`, `KEEP_OPEN`)

  - `summary.currentMonth.recommendations.message` (string)
    Plain-language recommendation text to show the user

  - `summary.currentMonth.recommendations.relatedFactors` (array)
    Score factors this recommendation impacts

  - `summary.monthlyProjections` (array)
    Month-by-month projections from plan start to plan end (historicals, current, future)

  - `summary.monthlyProjections.month` (integer)
    Month index within the plan (1 = first month)

  - `summary.monthlyProjections.projectedScore` (integer)
    Projected score for the month

  - `summary.monthlyProjections.actualScore` (integer)
    Actual score for the month, if known (null for future months)

  - `summary.monthlyProjections.achieved` (boolean)
    `true` if the user reached the projected score for the month, `false` if not, `null` for future months

  - `summary.monthlyProjections.monthDifficultyRating` (string)
    Difficulty rating for this month

  - `fullResponse` (object)
    Raw Equifax Optimal Path response, unchanged. Use only when you need fields that aren't surfaced in `summary`.

  - `fullResponse.enrollmentId` (string)

  - `fullResponse.score` (integer)

  - `fullResponse.scoreType` (string)

  - `fullResponse.planHeader` (array)

  - `fullResponse.planHeader.planSeq` (integer)

  - `fullResponse.planHeader.startingScore` (integer)

  - `fullResponse.planHeader.targetScore` (integer)

  - `fullResponse.planHeader.projectedScoreImprovement` (integer)

  - `fullResponse.planHeader.timeframe` (integer)

  - `fullResponse.planHeader.planStatus` (string)

  - `fullResponse.planHeader.planStartDate` (string)

  - `fullResponse.planHeader.planEndDate` (string)

  - `fullResponse.planHeader.planDifficultyRating` (string)

  - `fullResponse.planHeader.additionalInfo` (array)

  - `fullResponse.planHeader.additionalInfo.message` (string)

  - `fullResponse.currentMonth` (array)

  - `fullResponse.currentMonth.planSeq` (integer)

  - `fullResponse.currentMonth.monthSeq` (integer)

  - `fullResponse.currentMonth.periodStartDate` (string)

  - `fullResponse.currentMonth.periodEndDate` (string)

  - `fullResponse.currentMonth.actuals` (object)

  - `fullResponse.currentMonth.actuals.asOfDate` (string)

  - `fullResponse.currentMonth.actuals.averageAvailableCredit` (integer)

  - `fullResponse.currentMonth.actuals.oldestTradeAge` (integer)

  - `fullResponse.currentMonth.actuals.percentOfDelinquentTrade` (number)

  - `fullResponse.currentMonth.actuals.hardInquiries` (integer)

  - `fullResponse.currentMonth.actuals.overallCreditUtilization` (number)

  - `fullResponse.currentMonth.actuals.collectionBalances` (integer)

  - `fullResponse.currentMonth.actuals.monthsSinceMajorDerogatoryRemark` (integer)

  - `fullResponse.currentMonth.actuals.monthsSinceWorstDelinquency` (integer)

  - `fullResponse.currentMonth.actuals.pastDueAmount` (integer)

  - `fullResponse.currentMonth.actuals.score` (integer)

  - `fullResponse.currentMonth.targets` (object)

  - `fullResponse.currentMonth.targets.averageAvailableCredit` (integer)

  - `fullResponse.currentMonth.targets.oldestTradeAge` (integer)

  - `fullResponse.currentMonth.targets.percentOfDelinquentTrade` (number)

  - `fullResponse.currentMonth.targets.hardInquiries` (integer)

  - `fullResponse.currentMonth.targets.overallCreditUtilization` (number)

  - `fullResponse.currentMonth.targets.collectionBalances` (integer)

  - `fullResponse.currentMonth.targets.monthsSinceMajorDerogatoryRemark` (integer)

  - `fullResponse.currentMonth.targets.monthsSinceWorstDelinquency` (integer)

  - `fullResponse.currentMonth.targets.pastDueAmount` (integer)

  - `fullResponse.currentMonth.targets.projectedMonthlyScore` (integer)

  - `fullResponse.currentMonth.targets.monthDifficultyRating` (string)

  - `fullResponse.currentMonth.targets.projectedDelta-averageAvailableCredit` (number)

  - `fullResponse.currentMonth.targets.projectedDelta-oldestTradeAge` (number)

  - `fullResponse.currentMonth.targets.projectedDelta-percentOfDelinquentTrade` (number)

  - `fullResponse.currentMonth.targets.projectedDelta-hardInquiries` (number)

  - `fullResponse.currentMonth.targets.projectedDelta-overallCreditUtilization` (number)

  - `fullResponse.currentMonth.targets.projectedDelta-collectionBalances` (number)

  - `fullResponse.currentMonth.targets.projectedDelta-monthsSinceMajorDerogatoryRemark` (number)

  - `fullResponse.currentMonth.targets.projectedDelta-monthsSinceWorstDelinquency` (number)

  - `fullResponse.currentMonth.targets.projectedDelta-pastDueAmount` (number)

  - `fullResponse.currentMonth.tradelines` (array)

  - `fullResponse.currentMonth.tradelines.priority` (integer)

  - `fullResponse.currentMonth.tradelines.tradeLineName` (string)

  - `fullResponse.currentMonth.tradelines.accountLastFour` (string)

  - `fullResponse.currentMonth.tradelines.openDate` (string)

  - `fullResponse.currentMonth.tradelines.accountType` (string)

  - `fullResponse.currentMonth.tradelines.tradeLineType` (string)

  - `fullResponse.currentMonth.tradelines.accountBalance` (integer)

  - `fullResponse.currentMonth.tradelines.utilization` (number)

  - `fullResponse.currentMonth.tradelines.creditLimit` (integer)

  - `fullResponse.currentMonth.tradelines.accountStatus` (string)

  - `fullResponse.currentMonth.tradelines.justification` (object)

  - `fullResponse.currentMonth.tradelines.justification.category` (string)

  - `fullResponse.currentMonth.tradelines.justification.verbiage` (string)

  - `fullResponse.currentMonth.tradelines.attributeMapping` (array)

  - `fullResponse.currentMonth.inquiries` (object)

  - `fullResponse.currentMonth.inquiries.inquiryCountLast24Months` (integer)

  - `fullResponse.currentMonth.inquiries.lastHardInquiry` (object)

  - `fullResponse.currentMonth.inquiries.lastHardInquiry.inquiryDate` (string)

  - `fullResponse.currentMonth.inquiries.lastHardInquiry.vendorName` (string)

  - `fullResponse.currentMonth.oldestAccount` (object)

  - `fullResponse.currentMonth.oldestAccount.dateOpened` (string)

  - `fullResponse.currentMonth.oldestAccount.vendorName` (string)

  - `fullResponse.currentMonth.oldestAccount.accountType` (string)

  - `fullResponse.historicals` (array)

  - `fullResponse.historicals.planSeq` (integer)

  - `fullResponse.historicals.monthSeq` (integer)

  - `fullResponse.historicals.periodStartDate` (string)

  - `fullResponse.historicals.periodEndDate` (string)

  - `fullResponse.futureTargets` (array)

  - `fullResponse.futureTargets.planSeq` (integer)

  - `fullResponse.futureTargets.monthSeq` (integer)

  - `fullResponse.futureTargets.periodStartDate` (string)

  - `fullResponse.futureTargets.periodEndDate` (string)

## Response 200 headers (application/json):

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 400:

  - `400` (unknown)
    Bad request

## Response 400 fields (application/json):

  - `timestamp` (string)

  - `codes` (array)

  - `messages` (array)

  - `details` (array)

## Response 400 headers (application/json):

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 503:

  - `503` (unknown)
    Service unavailable

## Response 503 fields (application/json):

  - `timestamp` (string)

  - `codes` (array)

  - `messages` (array)

  - `details` (array)

## Response 503 headers (application/json):

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 200 examples:

  - `Optimal Path` (unknown)
    Optimal Path

## Response 400 examples:

  - `Identity Not Verified` (unknown)
    Identity Not Verified

  - `Feature Not Enabled` (unknown)
    Feature Not Enabled

  - `Invalid Parameters` (unknown)
    Invalid Parameters

  - `Data Delivery Error` (unknown)
    Data Delivery Error

## Response 503 examples:

  - `Service Unavailable` (unknown)
    Service Unavailable

