## Get Status `messages.get_status(MessageGetStatusParams**kwargs) -> MessageResponse` **get** `/api/status` Retrieve the current status of a message using its message handle. Useful for resolving pending message statuses and avoiding duplicate messages. ### Parameters - `handle: str` The message handle of the message you want to check status for ### Returns - `class MessageResponse: …` - `account_email: Optional[str]` Email of the account that sent the message - `content: Optional[str]` Message content - `date_created: Optional[datetime]` When the message was created - `date_updated: Optional[datetime]` When the message was last updated - `error_code: Optional[int]` Numeric error code if message failed - `error_message: Optional[str]` Error message if message failed - `from_number: Optional[str]` Sending phone number - `is_outbound: Optional[bool]` Whether this is an outbound message - `media_url: Optional[str]` URL of attached media - `message_handle: Optional[str]` Unique identifier for tracking the message - `number: Optional[str]` Recipient phone number - `send_style: Optional[Literal["celebration", "shooting_star", "fireworks", 10 more]]` The iMessage expressive message style - `"celebration"` - `"shooting_star"` - `"fireworks"` - `"lasers"` - `"love"` - `"confetti"` - `"balloons"` - `"spotlight"` - `"echo"` - `"invisible"` - `"gentle"` - `"loud"` - `"slam"` - `status: Optional[Literal["QUEUED", "SENT", "DELIVERED", "ERROR"]]` - `"QUEUED"` - `"SENT"` - `"DELIVERED"` - `"ERROR"` ### Example ```python import os from sendblue_api import SendblueAPI client = SendblueAPI( api_key=os.environ.get("SENDBLUE_API_API_KEY"), # This is the default and can be omitted api_secret=os.environ.get("SENDBLUE_API_API_SECRET"), # This is the default and can be omitted ) message_response = client.messages.get_status( handle="msg_abc123def456", ) print(message_response.account_email) ```