Skip to content

Notify Workers

mturk_notify_workers R Documentation

The NotifyWorkers operation sends an email to one or more Workers that you specify with the Worker ID

Description

The notify_workers operation sends an email to one or more Workers that you specify with the Worker ID. You can specify up to 100 Worker IDs to send the same message with a single call to the NotifyWorkers operation. The NotifyWorkers operation will send a notification email to a Worker only if you have previously approved or rejected work from the Worker.

Usage

mturk_notify_workers(Subject, MessageText, WorkerIds)

Arguments

Subject

[required] The subject line of the email message to send. Can include up to 200 characters.

MessageText

[required] The text of the email message to send. Can include up to 4,096 characters

WorkerIds

[required] A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.

Value

A list with the following syntax:

list(
  NotifyWorkersFailureStatuses = list(
    list(
      NotifyWorkersFailureCode = "SoftFailure"|"HardFailure",
      NotifyWorkersFailureMessage = "string",
      WorkerId = "string"
    )
  )
)

Request syntax

svc$notify_workers(
  Subject = "string",
  MessageText = "string",
  WorkerIds = list(
    "string"
  )
)