Emails API Endpoint

POST /emails

#!/bin/sh # script to get token AccessToken=$(curl -X POST -d "client_id={clientId}&client_secret={clientSecret}&username={userName}&password={password}&grant_type=password" \ | python -c 'import sys, json; print json.load(sys.stdin)["access_token"]') # script to send email using token as a variable AccessToken curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $AccessToken" \ -d '{ "recipients": ",", "ccrecipients": ",", "subject": "Email Subject Line", "body": "E-mail body here" }' \{customerAlias}/{databaseAlias}/emails/
  "meta": {
    "status": 201,
    "statusMsg": "Created",
    "method": "POST",
    "href": ""
  "data": {
    "success": true
Creates and sends an email from VisualVault. Email messages are queued for sending immediately and transmitted in periodic batches with logging.
Key Type Description
clientId guid Client Id from Visual Vault
clientSecret guid Client Secret from Visual Vault
customerAlias string The alias of the customer you want to connect to
databaseAlias string The alias of the database of the customer you want to connect to
password string Password from Visual Vault
userName string User Name from Visual Vault