Security
basicAuth
Each decoded file must be smaller than 8 MiB. All decoded files together can total up to 25 MiB.
- Productionhttps://api.evicertia.com/v1/EviMail/Submit
- Pre-production / QAhttps://api.ecertia.com/v1/EviMail/Submit
curl -i -X POST \
-u '<username>:<password>' \
https://api.evicertia.com/v1/EviMail/Submit \
-H 'Content-Type: application/json' \
-H 'X-Evi-IdempotencyToken: string' \
-d '{
"Subject": "Certified email example",
"Body": "<p>Hello, this is a certified email.</p>",
"LookupKey": "MAIL-001",
"IssuerName": "Sender Corp.",
"From": "sender@example.com",
"ReplyTo": "reply@example.com",
"DisableSenderHeader": false,
"Recipient": {
"LegalName": "Recipient Corp.",
"EmailAddress": "recipient@example.com"
},
"CarbonCopy": [
{
"Name": "Legal Team",
"EmailAddress": "legal@example.com"
}
],
"Attachments": [
{
"DisplayName": "Contract",
"Filename": "contract.txt",
"MimeType": "text/plain",
"Data": "Q29udHJhY3QgZXhhbXBsZQo="
}
],
"Options": {
"CertificationLevel": "Advanced_EU",
"TimeToLive": 1440,
"Language": "en",
"AffidavitLanguage": "en",
"AffidavitKinds": [
"Submitted",
"DeliveryResult",
"Read",
"Closed"
],
"PushNotificationFilter": [
"Sent",
"Delivered",
"Read",
"Failed"
],
"PushNotificationUrl": "https://example-callback.invalid/",
"EvidenceAccessControlMethod": "Public",
"OnlineRetentionPeriod": 1
}
}'Response
{ "eviId": "string" }