Restore List
Bring back a list you deleted.
Brings a deleted list back, with the same members, rules and settings it had when it was deleted. Delete list never destroys anything, so this always works — there is no window after which a deleted list is unrecoverable.
Calling this on a list that was never deleted changes nothing and still succeeds, so it is safe to retry.
Restore list
POST/api/v2/lists/{kind}/{list_id}/restore
Path parameters
| Parameter | Type | Description |
|---|---|---|
| kind | string | List kind: company or profile (matches the list type). |
| list_id | integer | Identifier of the list. Specific to your environment. |
Example request
curl -X POST "https://api.getsillage.com/api/v2/lists/company/128/restore" \
-H "Authorization: Bearer $SILLAGE_API_KEY"Example response
{
"data": {
"id": 128,
"kind": "company",
"type": "competitor",
"name": "Key competitors (EMEA)",
"description": "Refocused on EMEA",
"tier": null,
"default_tracking_status": "followed",
"default_signal_bucket": "bucket_1",
"member_count": 12,
"bound_agent_count": 0,
"mode": "manual",
"rules": null,
"crm_tool": null,
"error_state": null,
"error_detail": null,
"last_evaluated_at": null,
"archived_at": null,
"persona_ids": []
}
}Errors
| Status | Description |
|---|---|
| 401 | The API key is missing or invalid. |
| 404 | No list with this id has ever existed in your workspace. |
| 422 | Invalid kind or list_id. |
| 429 | Too many requests. |
| 500 | An unexpected server error occurred. |