Skip to main content
PATCH
https://api.resend.com
/
workflows
/
:workflow_id
import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.workflows.update(
  'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
  {
    status: 'enabled',
  },
);
{
  "object": "workflow",
  "id": "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
  "status": "enabled"
}
Workflows are currently in private alpha and only available to a limited number of users. APIs might change before GA.To use the methods on this page, you must upgrade your Resend SDK:
npm install resend@6.10.0-canary.0
Contact us if you’re interested in testing this feature.

Path Parameters

Body Parameters

status
string
required
The status of the workflow. Possible values are enabled or disabled.
import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.workflows.update(
  'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
  {
    status: 'enabled',
  },
);
{
  "object": "workflow",
  "id": "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
  "status": "enabled"
}