/API reference//
- Submit a certified email
Query certified emails (GET)
Request an on-demand affidavit
Create an email batch
Query email batches (HTTP QUERY method)
Get an email batch
Update an email batch
Delete an email batch
Set the batch body
Add batch recipients (CSV)
Query batch recipients (HTTP QUERY method)
Delete all batch recipients
Add a batch attachment
List batch attachments
Delete all batch attachments
Download a batch attachment
Delete a batch attachment
Submit a certified email
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" }