Send a form to a device (dispatch)
devicemagic_send_dispatchWRITE: pushes a form, optionally prefilled, to one device where its user will see it (like assigning a job). Not idempotent: calling it twice sends two dispatches. Needs the Enterprise plan. The form is named by its namespace (list_forms); payload maps question identifiers (get_form) to prefilled values (subforms = nested objects, repeat groups = arrays). POST /api/v2/devices/{identifier}/dispatches.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true: you confirm the form is sent to this device now (its user sees it). | |
| payload | No | Prefilled values keyed by question identifier. | |
| form_name | No | Title shown to the device user. | |
| scheduled_at | No | When the dispatch becomes due, ISO 8601 such as 2026-11-02T09:00:00Z. | |
| form_namespace | Yes | Form namespace (field `namespace` of list_forms). | |
| form_description | No | Description shown to the device user (Device Magic allows at most 255 characters). | |
| device_identifier | Yes | Device identifier (field `identifier` of a device, e.g. iPhone_abcdef1234567890). |