Coach — Announcements

Post now or at publishAt, to groups (or all clients, admins only), with up to 4 images. The audience gets one push when it goes live.

Changed on
post/api/coach/announcements

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/coach/announcements
  • Auth
    HTTP bearer

Headers

x-timezonestring required

Request body multipart/form-data

titlestring required
bodystring required
audience'all_clients' | 'groups' required

all_clients is for admins only.

groupIdsstring[]

Required when audience is groups: active coaching groups.

publishAtstring

Publish at this instant. Omit, or send "now" or an empty value, to publish now.

expiresOnstring

Last day the post shows, in your timezone (x-timezone). Omit for no end date.

pinnedboolean

Example request

{
  "title": "Week 6 call moves to Thursday",
  "body": "This week only, the group call is on Thursday at 6pm.",
  "groupIds": [
    12,
    34
  ],
  "publishAt": "2026-10-20T07:30:00.000Z",
  "expiresOn": "2026-10-31"
}

Changes