scheduled messages

Api reference content
put/api/messages/scheduled/{scheduledId}

Updates an existing scheduled message.

Parameters

ParameterPlaceRequiredDescription
scheduledIdpathrequired

Request body

Content typeSchema
application/json
{
  "name": "string",
  "start_at": "string",
  "repeat_until": "string | double",
  "repeat_each": "string | double",
  "file_id": "string",
  "days_of_week": "su | mo | tu | we | th | fr | sa",
  "actions": [
    {
      "mac": "string",
      "audio": "boolean",
      "relays": "[double]"
    }
  ],
  "duration_limit": "double"
}

Responses

StatusDescription
204
400
application/json
{
  "errors": "[string]"
}
404