# The message object Messages are workspace communication records. You can create a draft, send it by email, or send an email directly. ## Attributes - `id` (integer) — Identifier assigned by the API. - `channel` (string) — Communication channel, email or sms. - `status` (string) — Current processing or delivery status. - `email` (string) — Recipient email address. - `phone` (string or null) — Recipient phone number. - `subject` (string) — Email subject, up to 255 characters. - `body` (string) — Message body. For email, supply the HTML content. - `athlete_id` (integer or null) — ID of the associated athlete. - `parent_id` (integer or null) — ID of the associated parent. - `staff_id` (integer or null) — ID of the associated staff member or coach. - `metadata` (map or null) — Structured message details. - `sent_at` (integer or null) — Unix timestamp in seconds, when available. - `delivered_at` (integer or null) — Unix timestamp in seconds, when available. - `read_at` (integer or null) — Unix timestamp in seconds, when available. - `clicked_at` (integer or null) — Unix timestamp in seconds, when available. - `recipient_name` (string) — Recipient display name. Included when listing messages. - `recipient_type` (string) — Recipient category. Included when listing messages. - `source_type` (string) — Message source. Included when listing messages. - `tsc` (integer or null) — Creation time as a Unix timestamp in seconds. - `tsu` (integer or null) — Last update time as a Unix timestamp in seconds. ## Example Example with fictional data and selected fields. ```json { "id": 18, "channel": "email", "status": "queued", "email": "alex@example.com", "subject": "Practice schedule", "body": "
Practice starts at 18:00.
", "sent_at": null } ```