Skip to main content
POST
/
v1.EmailService
/
AckEvents
Acknowledge events as processed. Call this after successfully processing events to prevent replay.
const options = {
  method: 'POST',
  headers: {
    'Connect-Protocol-Version': '<connect-protocol-version>',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({eventIds: ['<string>']})
};

fetch('https://api.simpleemailapi.dev/v1.EmailService/AckEvents', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "ackedCount": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.simpleemailapi.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the SimpleEmailAPI dashboard and include it in the Authorization header as: Bearer sea_live_xxxxx

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json

Request to acknowledge events as processed.

eventIds
string[]

Event IDs to acknowledge as processed.

Response

Success

Response after acknowledging events.

ackedCount
integer<int32>

Number of events successfully acknowledged.