How to send Email to Contact via REST API in Salesforce?

Path:
/services/data/v53.0/quickActions/SendEmail
 
HTTP Method:
POST

Body:
{
    "contextId" : "001D000000JRSGf",
    "record": {
        "HtmlBody": "<div+style=\"font-family:+Arial;+font-size:+14px;\">Test</div>",
        "Subject": "InfallibleTechie",
        "ToIds": ["0038c00002bkSPZAA2"]
    }
}
 
Example:
 

Output: