Skip to main content
POST
/
api
/
email
/
messages
/
sync
Sync email messages from provider
curl --request POST \
  --url https://your-instance.example.com/api/email/messages/sync \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountId": "<string>",
  "maxResults": 123,
  "lookbackDays": 123
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accountId
string
required
maxResults
number
lookbackDays
number | null

Response

Sync started or status returned

Generic response envelope. Endpoint-specific fields are intentionally open.