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.requests.archive('request_id');
Sent Messages
Archive message
PUT
/
requests
/
{request_id}
/
archive
JavaScript
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.requests.archive('request_id');