Skip to content

addLeadIdToCreditReport

Mutation

Associate a Sigma lead ID with an existing credit report

Mutation Signature

mutation {
addLeadIdToCreditReport(input: AddLeadIdToCreditReportInput!): GetCreditReportResponse!
}

Example Request

mutation AddLeadIdToCreditReport($input: AddLeadIdToCreditReportInput!) {
addLeadIdToCreditReport(input: $input) {
# Add fields you want to retrieve
}
}

Example Variables:

{
"input": {
"creditReportId": "cr-abc123def456",
"leadId": "lead-new-12345"
}
}

Example Response

{
"data": {
"addLeadIdToCreditReport": {
"data": {
"id": "cr-abc123def456",
"reqOrgContactId": "contact-12345",
"leadId": "lead-new-12345",
"applicantResidenceState": "CA",
"source": "CRS_EQUIFAX",
"reportStatus": "COMPLETED",
"fileStatus": "COMPLETED"
},
"errors": null
}
}
}

Arguments

ArgumentTypeDescription
inputAddLeadIdToCreditReportInput!Input containing the credit report ID and lead ID to associate

Input Types

AddLeadIdToCreditReportInput

Required Fields:

FieldTypeDescription
creditReportIdString!Internal credit report ID
leadIdString!Sigma lead ID

Response Type

Returns: GetCreditReportResponse!

GetCreditReportResponse

Get Credit Report Response

FieldTypeDescription
dataCreditReportNodeSingle CreditReport
errors[GetCreditReportResponseError]List of error messages

CreditReportNode

Credit Report Node

FieldTypeDescription
idID!Credit report ID
reqOrgIdStringRequesting organization ID
reqOrgContactIdStringRequesting organization contact ID
leadIdStringSigma lead ID
applicantResidenceStateStringState where customer resides
publicRecords[PublicRecord]Public records
creditReportUserIdStringCredit report user ID
debts[CreditReportDebt]Debts as JSON data
sourceStringSource of the credit report, e.g., Spinwheel, CRS Equifax, or CRS TransUnion
fileMetadataFileMetadataFile metadata.
reportStatusStringCurrent status of the credit report: PENDING, IN_PROGRESS, COMPLETED, FAILED
fileStatusStringIN_PROGRESS, COMPLETED
createdAtDateDate the credit report was created
applicantFirstNameStringApplicant’s first name
applicantMiddleNameStringApplicant’s middle name
applicantLastNameStringApplicant’s last name
applicantSsnStringApplicant’s ssn name
applicantDobStringApplicant’s dob
applicantAlternativeNames[AlternativeName]Applicant’s alternative names
scores[Score]Credit scores from various credit evaluation models
reportRequestedAtDateDate the credit report was requested
PublicRecord

Public Record

FieldTypeDescription
bankruptcyCodeString!Bankruptcy code
bankruptcyDateFiledStringBankruptcy date filed
bankruptcyDispositionTypeStringBankruptcy disposition type
CreditReportDebt

Credit Report Debt

FieldTypeDescription
idID!Debt ID
creditorIdStringcreditor ID
externalDebtIdStringThis is replaced by accountNumber @deprecated Use accountNumber instead
accountNumberStringOriginal credit report account number
applicantStateStringApplicants state of residence.
ecoaCodeStringECOA code
creditorNameStringCreditor name from credit report
parentCreditorNameStringParent creditor name
parentCreditorIdStringParent creditor ID
originalCreditorNameStringOriginal creditor name from credit report
creditorTypeStringCreditor type
accountTypeStringAccount type
portfolioTypeStringPortfolio type
debtTypeStringDebt type
currentBalanceFloatCurrent debt balance
openDateStringDate the debt was opened
lastPaymentDateStringDate of last payment
hasLastPaymentBooleanTrue if the most recent payment has been made as of the date this credit report was pulled
narrativeCodes[String]Narrative codes that might include bankruptcy codes
bankruptcyDateFiledStringBankruptcy date filed
applicantIdStringApplicant Id
coApplicantIdStringCoApplicant Id
originalBalanceFloatOriginal debt balance
isCollectionBooleanFlag to show if the debt is in collection
delinquencyStringaccount rating /delinquency value
monthlyPaymentFloatMonthly payment
forthDebtTypeIdStringForth Debt Type ID
remarks[String]Remarks
FileMetadata

File metadata

FieldTypeDescription
reqOrgContactIdStringRequesting organization contact ID
creditReportUserIdStringCredit report user ID
sourceStringCredit Report Vendor source e.g. SPINWHEEL, CRS Equifax, or CRS TransUnion
uploadDateStringISO 8601 format date string
fileNameStringDocument name
contentTypeStringFile type
fileSizeStringSize in bytes
typeStringDocument type
AlternativeName

Alternative name associated with the applicant

FieldTypeDescription
firstNameStringAlternative first name
lastNameStringAlternative last name
unparsedNameStringFull alternative name (unparsed)
Score

Credit score information from credit evaluation models

FieldTypeDescription
modelNameStringThe name of a risk model as provided by the repository bureaus.
sourceTypeStringThis element describes the source of the credit file, Equifax, Experian, Trans Union or Unspecified if the specific sources are not specified.
scoreValueStringNumeric credit score resulting from credit evaluation model.
scoreFactors[ScoreFactor]Factors of the borrower’s credit which give context to the referenced credit score.
ScoreFactor

Score Factor associated with a credit score

FieldTypeDescription
scoreFactorCodeStringFactors of the borrower’s credit which give context to the referenced credit score. The factor is normally a numeric code.
scoreFactorTextStringThe text remarks associated with a Score Factor.

GetCreditReportResponseError

Get Credit Report Response Error

FieldTypeDescription
messageStringError message

Error Types

The response may include the following error types:

GetCreditReportResponseError

Get Credit Report Response Error

FieldTypeDescription
messageStringError message

Common Errors

Error CodeDescriptionResolution
VALIDATION_ERRORInput validation failedCheck required fields and formats
UNAUTHORIZEDInvalid or expired tokenRe-authenticate and retry
NOT_FOUNDResource not foundVerify the ID or reference