---
title: "Update notification message"
method: PUT
path: "/notification-messages/{id}"
tags: ["Notification Messages"]
---

# Update notification message

`PUT /notification-messages/{id}`

## Request

- Base URL: `https://api.100hires.com/v2`
- URL: `https://api.100hires.com/v2/notification-messages/{id}`
- Auth: HTTP bearer

Updates subject, body, and optionally reschedules a notification email before it is sent. Only scheduled (not yet sent) messages can be updated.

## Path parameters

- `id` integer, required

## Request body

- NotificationMessageUpdateRequest
  - `subject` string, required: Email subject line.
  - `body` string, required: Email body as HTML.
  - `scheduled_at` integer, nullable: Unix timestamp (seconds) to reschedule send time. If omitted, the existing schedule is preserved.

## Response `200`

Updated notification message

- NotificationMessage
  - `id` integer, required: Message ID.
  - `from` string, required: Sender address.
  - `to` string, required: Recipient address.
  - `subject` string, required: Message subject.
  - `body` string, required: Message body content.
  - `date` string, required: Message date.
  - `schedule` union, required
    - ''
    - NotificationMessageSchedule
      - `id` integer, required: Schedule ID.
      - `isScheduled` boolean, required: Whether currently scheduled.
      - `isFailed` boolean, required: Whether send failed.
      - `humanDatetime` string, required: Human-readable scheduled time.
      - `isNotificationMessage` boolean, required: Always true for notification messages.

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `415`: Content-Type must be application/json
- `429`: Too many requests

---

[API](https://skmtc.dev/100hires/apis/100hires-api.md) · [All operations](https://skmtc.dev/100hires/apis/100hires-api/llms.txt) · [OpenAPI document](https://skmtc.dev/100hires/apis/100hires-api/revisions/e63e2d3115f7?raw)
