Admin

Email a reviewed batch of 1–500 users

Changed on

Every id must still be pending (400 lists any that are not). Returns at once; the batch sends in the background. 409 while another send is running. Send { "userIds": [...], "confirm": true }.

post/api/admin/legal/notice-campaigns/{id}/send-batch

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/admin/legal/notice-campaigns/{id}/send-batch
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

userIdsstring[] required

1–500 reviewed users, all still pending

confirmboolean required

Must be true: this emails these users.

Example request

{
  "userIds": [
    12,
    34
  ],
  "confirm": true
}

Changes