import Courier from '@trycourier/courier';const client = new Courier({ apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted});await client.lists.restore('list_id');
Lists
Restore a list
Restore a previously deleted list.
PUT
/
lists
/
{list_id}
/
restore
JavaScript
Copy
Ask AI
import Courier from '@trycourier/courier';const client = new Courier({ apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted});await client.lists.restore('list_id');