Try our new Setup Skill to automatically integrate Hyperspell into your project
curl --request POST \
--url https://api.hyperspell.com/actions/send_email \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": [
"<string>"
],
"subject": "<string>",
"body": "<string>",
"provider": "gmail_actions",
"connection": "<string>",
"cc": [
"<string>"
],
"bcc": [
"<string>"
]
}
'{
"success": true,
"error": "<string>",
"provider_response": {}
}Send an email via a connected Gmail Actions integration.
curl --request POST \
--url https://api.hyperspell.com/actions/send_email \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": [
"<string>"
],
"subject": "<string>",
"body": "<string>",
"provider": "gmail_actions",
"connection": "<string>",
"cc": [
"<string>"
],
"bcc": [
"<string>"
]
}
'{
"success": true,
"error": "<string>",
"provider_response": {}
}API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Send an email via Gmail.
Recipient email addresses
Email subject line
Email body (plain text)
Integration provider
reddit, notion, slack, google_calendar, google_mail, box, dropbox, google_drive, github, vault, web_crawler, trace, microsoft_teams, gmail_actions Connection ID. If omitted, auto-resolved from provider + user.
CC recipients
BCC recipients
Was this page helpful?