iOS SDK Clean API

Engage Clean API

The Engage SDK has an API for forcing engage contact cleanup. It can be done in the following 2 ways:

  • Manual clean via SDK
  • Engage Platform Clean API

Manual Clean Via SDK

Engage SDK has a public method for manually cleaning engage content. To do this you need to call the following function

Engage.shared.cleanContact(aNumber: String)

📘

Note:

The phone number that is passed in to the cleanContact() function should be in e164 format


Engage Platform Clean API

Engage platform has Clean API calls that can be used to clean content on device. To learn how to use these APIs please refer to (this page).