cURL
curl --request POST \ --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GMAIL_CREATE_DRAFT' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "action": "GMAIL_CREATE_DRAFT", "parameters": { "toRecipients": [ "<string>" ], "from": "<string>", "subject": "<string>", "messageContent": "<string>", "attachments": "<string>", "additionalHeaders": {} } }'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Your Paragon Project ID
Success
Was this page helpful?