Skip to content
Get started

Deviceswap

Device Swap

Get last device swap date
POST/deviceswap/retrieve-date
Check last device swap date
POST/deviceswap/check
ModelsExpand Collapse
DeviceswapRetrieveDateResponse object { latestDeviceChange, monitoredPeriod }
latestDeviceChange: string

Timestamp of latest device swap performed. It must follow RFC 3339 and must have time zone.

formatdate-time
monitoredPeriod: optional number

Timeframe in days for device change supervision for the phone number. It could be valued in the response if the latest Device swap occurred before this monitored period.

DeviceswapCheckResponse object { swapped }
swapped: boolean

Indicates whether the device has been swapped during the period within the provided age.