Unarchive contacts Run in API Explorer
Restore up to 100 archived contacts. contacts holds the ones this call restored; whether each comes back UNDESIGNATED or NURTURED is up to the contact record, as in the agent app, so read status. An id not archived, or not one of the agent's live contacts, is left out and nothing about it changes.
Requires the contacts:write scope. Rate budget: 120 calls per 1 minute per credential (the write class).
Responses
-
OK
-
The request is invalid;
fieldnames the offending input when there is one. A body that is not valid JSON is refused before the API runs, as a bare 400 with no body. -
Invalid or missing bearer token.
-
The credential was not granted the scope this call requires.
-
Not found, or not yours: the two are indistinguishable on purpose.
-
Rate limit exceeded;
Retry-Aftersays when to try again. -
Something went wrong on our side.
curl -X POST -H "Authorization: Bearer rs_agent_..." -H "Content-Type: application/json" -d '{"ids":["VXNlci0xMjM=","VXNlci05OTk="]}' https://www.realscout.com/api/agent/v1/contacts/unarchive
{
"ids": [
"string"
]
}
{
"contacts": [
{
"id": "VXNlci0xMjM=",
"first_name": "Nora",
"last_name": "Nguyen",
"email": "nora@example.com",
"primary_mobile_phone": "555-0100",
"lead_source": "Open House",
"external_user_key": "crm-3187",
"tags": [
"Hot Lead"
],
"external_tags": [
"kvCore: Sphere"
],
"realscout_tags": [
"Buyer"
],
"favorite": true,
"emailable": true,
"email_issue": null,
"status": {
"value": "NURTURED",
"reasons": [
"An active email alert"
]
},
"auto_nurture": {
"enabled": false,
"first_enabled_at": null
},
"created_at": "2026-08-01T17:00:00Z",
"updated_at": "2026-08-20T09:30:00Z",
"archived_at": null,
"last_active_at": "2026-08-19T02:11:00Z",
"last_login_at": "2026-08-18T19:40:00Z",
"sign_up_source": "agent",
"primary_home_phone": null,
"primary_work_phone": null,
"additional_first_name": "Sam",
"additional_last_name": "Nguyen",
"additional_mobile_phone": null,
"additional_home_phone": null,
"additional_work_phone": null,
"additional_emails": [
"sam@example.com"
],
"street": "123 Main St",
"city": "Sunnyvale",
"state": "CA",
"zipcode": "94086",
"contact_type": "BUYER",
"price_status_alerts_enabled": true,
"exclusives_alerts_enabled": true,
"scout_score": 78,
"scout_score_change_7d": 9,
"scout_score_change_30d": 14,
"scout_score_calculated_on": "2026-08-18",
"realscout_url": "https://www.realscout.com/agent/contacts/VXNlci0xMjM=",
"scout_score_summary_7d": "Viewing steadily and opening every alert.",
"scout_score_summary_30d": "Viewing steadily and opening every alert."
}
]
}
{
"error": {
"code": "invalid_request",
"message": "ids is required.",
"field": "ids",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing credentials.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "missing_scope",
"message": "This call requires the contacts:write scope, which this credential was not granted.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "not_found",
"message": "No endpoint at POST /api/agent/v1/contacts/unarchive.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Try again in 30 seconds.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "internal_error",
"message": "Something went wrong on our side.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}