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');Restore a previously deleted list.
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');Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A unique identifier representing the list you wish to retrieve.
The body is of type object.