API by router
Google gmail
POST
instance_id*Instance IdFormat
uuidapplication/json- body
bcc?array<string>|nullbody*BodyEmail body (plain text)
body_html?|Email body (HTML, optional)
cc?array<string>|nullconnection_name?|Specific Gmail connection (for multi-account)
reply_to?|In-Reply-To message ID for threading
subject*SubjectLength
length <= 500to*ToRecipient email address
Successful Response
application/json- response
error?string|nullmessage_id?string|nullsuccess*Successthread_id?string|nullcurl -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"}