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.notifications.archive('id');{
"type": "invalid_request_error",
"message": "Notification template nt_nonexistent not found"
}Archive a notification template.
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.notifications.archive('id');{
"type": "invalid_request_error",
"message": "Notification template nt_nonexistent not found"
}Documentation Index
Fetch the complete documentation index at: https://www.courier.com/docs/llms.txt
Use this file to discover all available pages before exploring further.