Get Device Profile Data

To get device profile data:

URL: /api/partners/v1/device

Method: GET

URL Params Required: partnerTenantId=[PARTNER_TENANT_ID>, macAddress=[MAC_ADDRESS_OF_DEVICE] OR deviceId=[DEVICE_ID]

Success Response

Code: 200 – Success

Sample Response:
{
	"deviceId": "",
	"userId": "",
	"tags": [],
	"mobile": "",
	"email": "",
	"gender": "",
	"firstName": "",
	"lastName": "",
	"postalCode": "",
	"optIns": [],
	"otherFields": [],
	"macAddress": "",
	"manufacturer": "",
	"os": "",
	"osVersion": "",
	"type": "NOT_AVAILABLE",
	"socialNetworkInfo": []
}
Error Response
  • Code: 401 UNAUTHORIZED – [API Key/Partner Tenant Id is not authorized].

  • Code: 404 NOT FOUND – [Device not found for given macAddress or deviceId].