---
title: "Update emails in a credentialing workflow"
method: PUT
path: "/credentialing-workflows/{workflowId}/emails"
tags: ["CredentialingWorkflow"]
---

# Update emails in a credentialing workflow

`PUT /credentialing-workflows/{workflowId}/emails`

Updates the emails for a credentialing workflow. This is a complete replacement operation. Send an empty array to clear all emails.

## Path parameters

- `workflowId` string, required

## Headers

- `tenant-id` string, required

## Request body

- EmailUpdateRequest[]
  - `email` string, required — Email address
  - `emailType` string, required — Type of email
  - `source` string — Source of the email
  - `createdAt` string, date
  - `createdBy` string — The user who created the record
  - `updatedAt` string, date
  - `updatedBy` string — The user who last updated the record

## Response `200`

Emails updated successfully

- object

## Other responses

- `400` — Bad request - Invalid input or validation error
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Not found - Workflow not found
- `500` — Internal server error

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/versions/3d27e9019c7b/schema)
