Skip to main content
POST
/
digests
/
schedules
/
{schedule_id}
/
trigger
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.digests.schedules.release('schedule_id');
{
  "message": "Unauthorized"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

schedule_id
string
required

The ID of the digest schedule to release, in the form sch/{uuid}. The value must be URL-encoded (e.g. sch%2F00000000-0000-0000-0000-000000000000).

Response

The digest schedule was released. A 204 is also returned when the schedule currently has no in-progress digest instances to release.