{"format_version": 1,"id": "outbox","name": "Outgoing message","plural": "Outgoing messages","visibility": "owner","title": "body","columns": [ {"key": "channel","name": "Channel","type": "choice","choices": ["whatsapp","instagram" ],"required": true }, {"key": "to","name": "To","type": "text","required": true }, {"key": "account","name": "Account","type": "text" }, {"key": "body","name": "Message","type": "longtext" }, {"key": "media_key","name": "Attachment","type": "text" }, {"key": "status","name": "Status","type": "choice","choices": ["queued","sending","sent","failed" ],"default": "queued","required": true }, {"key": "sent_at","name": "Sent at","type": "text" }, {"key": "sent_external_id","name": "Sent as","type": "text" }, {"key": "error","name": "Error","type": "text" } ],"instructions": "One row per message the owner's phone asks the Mac to send. The phone makes it queued; the Mac reads GET /v1/outbox?status=queued, sends it through WhatsApp or Instagram (an Instagram row names in account the owner's Instagram username the chat was read under, and in to the chat's thread id), and marks it sending, then sent (with sent_at and the channel's id) or failed (with the error)."}