Unarchive a business lead record by ID
curl --request POST \
--url https://api.leadping.ai/leads/{id}/unarchive{
"metadata": {
"trustedFormUrl": "<string>",
"utmSource": "<string>",
"utmMedium": "<string>",
"utmCampaign": "<string>",
"utmTerm": "<string>",
"utmContent": "<string>",
"referrer": "<string>",
"landingPage": "<string>",
"subId": "<string>",
"pubId": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"externalId": "<string>",
"sellerLeadId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"price": "<string>",
"directPostPrice": "<string>",
"product": "<string>",
"vertical": "<string>",
"complianceStatus": "<string>",
"complianceBlockedReason": "<string>",
"sourceMetadata": {},
"origin": "<string>",
"importBatchId": "<string>",
"isImported": true,
"assignedPhoneNumberId": "<string>",
"smsConsentStatus": "<string>",
"smsOptedOut": true,
"smsOptOutAt": "2023-11-07T05:31:56Z",
"smsOptInAt": "2023-11-07T05:31:56Z",
"smsHelpRequestedAt": "2023-11-07T05:31:56Z",
"smsConsentPhoneNumber": "<string>",
"userId": "<string>",
"businessId": "<string>"
},
"contact": {
"firstName": "<string>",
"lastName": "<string>",
"streetAddress": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"province": "<string>",
"region": "<string>",
"postalCode": "<string>",
"country": "<string>",
"additionalInfo": "<string>"
},
"coordinate": {
"latitude": "<string>",
"longitude": "<string>"
},
"timeZoneId": "<string>",
"phone": {
"number": "<string>",
"type": "<string>",
"lookup": {
"number": "<string>",
"isValid": true,
"location": {
"location": "<string>",
"state": "<string>",
"countryCode": "<string>",
"coordinate": {
"latitude": "<string>",
"longitude": "<string>"
},
"timeZoneId": "<string>"
},
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}
},
"email": "<string>"
},
"customer": {
"height": "<string>",
"weight": "<string>",
"birthDate": "2023-12-25",
"income": "<string>",
"isHomeowner": true,
"monthsAtResidence": "<string>",
"creditScore": "<string>",
"hasBankruptcy": true,
"numberOfDependents": "<string>",
"hasMedicalCondition": true
},
"enabled": true,
"adminEnablementOverride": {
"enabled": true,
"reason": "<string>",
"updatedByUserId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"archivedAt": "2023-11-07T05:31:56Z",
"archivedByUserId": "<string>",
"archiveReason": "<unknown>",
"archiveNote": "<string>",
"isArchived": true,
"currentDisposition": {
"id": "<string>",
"outcome": "<string>",
"displayName": "<string>",
"changedAt": "2023-11-07T05:31:56Z",
"changedByUserId": "<string>",
"changedByAutomationId": "<string>"
},
"tags": [
{
"id": "<string>",
"name": "<string>",
"normalizedName": "<string>",
"color": "<string>"
}
],
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}Leads
Unarchive a business lead record by ID
Restores an archived lead to active pipeline views so follow-up, communication, and routing workflows can resume.
POST
/
leads
/
{id}
/
unarchive
Unarchive a business lead record by ID
curl --request POST \
--url https://api.leadping.ai/leads/{id}/unarchive{
"metadata": {
"trustedFormUrl": "<string>",
"utmSource": "<string>",
"utmMedium": "<string>",
"utmCampaign": "<string>",
"utmTerm": "<string>",
"utmContent": "<string>",
"referrer": "<string>",
"landingPage": "<string>",
"subId": "<string>",
"pubId": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"externalId": "<string>",
"sellerLeadId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"price": "<string>",
"directPostPrice": "<string>",
"product": "<string>",
"vertical": "<string>",
"complianceStatus": "<string>",
"complianceBlockedReason": "<string>",
"sourceMetadata": {},
"origin": "<string>",
"importBatchId": "<string>",
"isImported": true,
"assignedPhoneNumberId": "<string>",
"smsConsentStatus": "<string>",
"smsOptedOut": true,
"smsOptOutAt": "2023-11-07T05:31:56Z",
"smsOptInAt": "2023-11-07T05:31:56Z",
"smsHelpRequestedAt": "2023-11-07T05:31:56Z",
"smsConsentPhoneNumber": "<string>",
"userId": "<string>",
"businessId": "<string>"
},
"contact": {
"firstName": "<string>",
"lastName": "<string>",
"streetAddress": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"province": "<string>",
"region": "<string>",
"postalCode": "<string>",
"country": "<string>",
"additionalInfo": "<string>"
},
"coordinate": {
"latitude": "<string>",
"longitude": "<string>"
},
"timeZoneId": "<string>",
"phone": {
"number": "<string>",
"type": "<string>",
"lookup": {
"number": "<string>",
"isValid": true,
"location": {
"location": "<string>",
"state": "<string>",
"countryCode": "<string>",
"coordinate": {
"latitude": "<string>",
"longitude": "<string>"
},
"timeZoneId": "<string>"
},
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}
},
"email": "<string>"
},
"customer": {
"height": "<string>",
"weight": "<string>",
"birthDate": "2023-12-25",
"income": "<string>",
"isHomeowner": true,
"monthsAtResidence": "<string>",
"creditScore": "<string>",
"hasBankruptcy": true,
"numberOfDependents": "<string>",
"hasMedicalCondition": true
},
"enabled": true,
"adminEnablementOverride": {
"enabled": true,
"reason": "<string>",
"updatedByUserId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"archivedAt": "2023-11-07T05:31:56Z",
"archivedByUserId": "<string>",
"archiveReason": "<unknown>",
"archiveNote": "<string>",
"isArchived": true,
"currentDisposition": {
"id": "<string>",
"outcome": "<string>",
"displayName": "<string>",
"changedAt": "2023-11-07T05:31:56Z",
"changedByUserId": "<string>",
"changedByAutomationId": "<string>"
},
"tags": [
{
"id": "<string>",
"name": "<string>",
"normalizedName": "<string>",
"color": "<string>"
}
],
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}Path Parameters
Response
OK
API response containing lead data returned to callers.
Safe, non-secret metadata associated with this lead.
Show child attributes
Show child attributes
The contact value for this lead.
Show child attributes
Show child attributes
The profile value for this lead.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Compact current disposition state stored directly on a lead and surfaced with conversation data.
Show child attributes
Show child attributes
Tags currently assigned to this lead.
Show child attributes
Show child attributes
The unique identifier for the entity.
The date and time when the entity was created.
The date and time when the entity was last modified, if applicable.
⌘I

