history-v2

Clear historical data for the account

Only clears records where imported=true (for sends).

delete/v2/history/clear

Request

  • Base URL: https://api.tracklysms.com/api
  • URL: https://api.tracklysms.com/api/v2/history/clear
  • Auth: API key in header X-Api-Key

Request body

before_datestring date-time

Only clear records before this date

confirmboolean required

Safety confirmation (must be true)

entitiesstring[] required

Entities to clear: sends, clicks, revenue

Response

History cleared

clearedobject

Counts of cleared records by entity

successboolean

Operation success

Changes

No recorded changes to this operation across all 1 revision of this API.