Security
bearerAuth and apiKeyAuth
Attachments: provide url or base64EncodedContent. For local file uploads use the multipart variant of this endpoint.
- Production Serverhttps://api3.sprinklr.com/prod/api/v3/email
- Mock serverhttps://developer.sprinklr.com/_mock/apis/sprinklr-v3/email
curl -i -X POST \
https://api3.sprinklr.com/prod/api/v3/email \
-H 'Authorization: Bearer <YOUR_Token_HERE>' \
-H 'Content-Type: application/json' \
-H 'Key: YOUR_API_KEY_HERE' \
-d '{
"accountUserId": "string",
"from": "string",
"to": "string",
"cc": [
"string"
],
"bcc": [
"string"
],
"brandPost": true,
"subject": "string",
"body": "string",
"sentTime": 0,
"attachments": [
{
"fileName": "string",
"contentType": "string",
"url": "string",
"base64EncodedContent": "string"
}
],
"customProperties": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}'