POST
/
projects
/
{project_id}
/
actions
/
#GMAIL_SEND_EMAIL
curl --request POST \
  --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GMAIL_SEND_EMAIL' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "GMAIL_SEND_EMAIL",
  "parameters": {
    "toRecipients": [
      "<string>"
    ],
    "from": "<string>",
    "subject": "<string>",
    "messageContent": "<string>",
    "attachments": "<string>",
    "additionalHeaders": {}
  }
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Your Paragon Project ID

Body

application/json
action
string
default:GMAIL_SEND_EMAIL
required
parameters
object
required

Response

200

Success