HydraCore
API by router

Google gmail

Send Gmail

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

Path Parameters

instance_id*Instance Id
Formatuuid

Request Body

application/json
  1. body
bcc?array<string>|null
body*Body

Email body (plain text)

body_html?|

Email body (HTML, optional)

cc?array<string>|null
connection_name?|

Specific Gmail connection (for multi-account)

reply_to?|

In-Reply-To message ID for threading

subject*Subject
Lengthlength <= 500
to*To

Recipient email address

Response Body

Successful Response

application/json
  1. response
error?string|null
message_id?string|null
success*Success
thread_id?string|null
Example Request
curl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/gmail/send' \  -H 'Content-Type: application/json' \  -d '{  "body": "string",  "subject": "string",  "to": "string"}'
Example Response
{  "error": "string",  "message_id": "string",  "success": true,  "thread_id": "string"}