Protected Devices π±
This page details all the endpoints to fetch devices protected by or linked to a plan.
Fetch Protected Devices
Link Device (To Be Protected) to Plan
POST
https://api.getgamp.com/v1/protected-device/link
This allows the linking of a device to be protected to a plan.
Request Body
Name | Type | Description |
---|---|---|
planId* | String | The planId of the plan the protected device is to be linked to. |
deviceType* | String | 'phone', 'tablet' or 'laptop' |
deviceBrand* | String | The brand of the device e.g 'samsung', 'iphone', 'oppo' etc. |
deviceModel* | String | The model of the device e.g 13 Pro, A52, C300 etc. |
uniqueDeviceNumber* | String | The unique device number of the device issued by the manufacturer e.g IMEI etc. |
deviceId | String | Your desired unique ID linked to the device. It is auto-generated if not provided. Not to be confused with IMEI |
Upload Device Verification Video
POST
https://api.getgamp.com/v1/protected-device/verification/upload
This allows the upload of a device verification video to aid approval of the linked device to the plan.
Request Body
Name | Type | Description |
---|---|---|
video* | File | The recorded verification video |
deviceId* | String | The unique deviceId linked to the device during link |
Fetch Protected Devices
GET
https://api.getgamp.com/v1/protected-device/:deviceId
Fetch a plan
Path Parameters
Name | Type | Description |
---|---|---|
deviceId* | String | The deviceId assigned by Gamp to the protected device |
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Set value to |
List Protected Devices
GET
https://api.getgamp.com/v1/protected-device
Fetch a list of plans
Query Parameters
Name | Type | Description |
---|---|---|
reference | String | The reference you specified or we assigned to the plan linked to this protected device |
planType | String | "device_protection_plan" or "screen_protection_plan" |
product | String | "device_protection_plan" or "screen_protection_plan" |
cuid | String | The unique ID you specified for or we assigned to the customer's profile |
String | The user's email address | |
planId | String | The ID we assigned to the plan. |
deviceId | String | The activationId we assigned to the protected device |
activationId | String | The activationId we assigned to the protected device |
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Set value to |
Last updated