HydraCore
API by router

Google gmail

Send Gmail

Send an email via Gmail API. Auth: Bearer proxy key.

Requires send_mail capability on the Gmail connection. Email appears in the customer's Sent folder, from their address.

POST
/internal/v1/instances/{instance_id}/gmail/send

Path Parameters

instance_idInstance Id
Formatuuid
bcc?Bcc
bodyBody

Email body (plain text)

body_html?Body Html

Email body (HTML, optional)

cc?Cc
connection_name?Connection Name

Specific Gmail connection (for multi-account)

reply_to?Reply To

In-Reply-To message ID for threading

subjectSubject
Lengthlength <= 500
toTo

Recipient email address

Response Body

curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/gmail/send" \  -H "Content-Type: application/json" \  -d '{    "body": "string",    "subject": "string",    "to": "string"  }'
{
  "error": "string",
  "message_id": "string",
  "success": true,
  "thread_id": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}