{"_id":"5878be0f735d5c2d004fd4bb","user":"56cecbb2e50c9c1b008303eb","githubsync":"","version":{"_id":"56cecbdc44c5700b0095c03d","project":"56cecbdb44c5700b0095c03a","__v":10,"createdAt":"2016-02-25T09:39:40.121Z","releaseDate":"2016-02-25T09:39:40.121Z","categories":["56cecbdc44c5700b0095c03e","56d1d2c05ad7ad0b00b7e809","56d1d2fa5ad7ad0b00b7e80a","56d369331660770b00081159","56d3693d1660770b0008115a","56e5361e7990160e002e3fbc","56e5362775eb791700a9c4d2","57a9030947f2f419009188d4","57b4705ee9e4c60e00f6f4c3","5828f5b04774ab0f005179a2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"56e5362775eb791700a9c4d2","__v":6,"project":"56cecbdb44c5700b0095c03a","pages":["56e590ae69d7890e000ec286","56e590fa3c29b117008dae50","56e6f058d66be417007d2364","56e7eaa8f0fafd36008faf59","56ea8db9ed3ad20e004e5a02","56ea8f3e0252fb17008804ac"],"version":"56cecbdc44c5700b0095c03d","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-13T09:43:03.596Z","from_sync":false,"order":7,"slug":"remote-api","title":"Server API"},"parentDoc":null,"project":"56cecbdb44c5700b0095c03a","__v":0,"metadata":{"title":"","description":"","image":[]},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-01-13T11:46:23.888Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"curl","code":"curl -X GET -H \"X-Api-Key: YOUR_API_KEY\" \"https://api.pushapps.mobi/v1/devices/search?device_id=myDeviceId&ad_id=myAdId&push_token=myPushToken\""}]},"method":"get","results":{"codes":[{"language":"json","code":"{\n  \"device_id\": \"myDeviceId\",\n  \"android_id\": \"myAndroidId\",\n  \"ad_id\": \"myAdId\",\n  \"imei\": \"myImei\",\n  \"sdk_version\": \"1.6.9\",\n  \"app_version\": \"1.0\",\n  \"os_version\": \"14\",\n  \"store_identifier\": \"mobi.pushapps.demo\",\n  \"timezone\": \"IST (Israel)\",\n  \"country\": \"US\",\n  \"utc_offset\": \"120\",\n  \"language\": \"en\",\n  \"ip\": \"8.8.8.8\",\n  \"device_description\": \"unknown generic\",\n  \"platform\": \"android\",\n  \"sdk_type\": \"android_push\",\n  \"created_at\": \"2016-11-21T12:00:05.775+02:00\",\n  \"updated_at\": \"2016-11-21T12:00:05.775+02:00\",\n  \"tags\": [\n    {\n      \"name\": \"Sports\",\n      \"type\": \"bool\",\n      \"value\": true\n    }\n  ],\n  \"push_token\": \"myPushToken\",\n  \"push_disabled\": false,\n  \"source\": \"sdk\"\n}","name":"","status":200},{"status":400,"language":"json","code":"{\n  \"success\": false,\n  \"message\": \"Wrong parameters\"\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"56eb2b3c9b984b290021368b","ref":"","in":"query","required":false,"desc":"device identifier, mutually exclusive with push_token and ad_id","default":"","type":"string","name":"device_id"},{"_id":"56eb2b3c9b984b290021368a","ref":"","in":"query","required":false,"desc":"platform push token, mutually exclusive with device_id and ad_id","default":"","type":"string","name":"push_token"},{"_id":"5878be0f735d5c2d004fd4bc","ref":"","in":"query","required":false,"desc":"advertising id, mutually exclusive with device_id and push_token","default":"","type":"string","name":"ad_id"}],"url":"/v1/devices/search?device_id=myDeviceId&ad_id=myAdId&push_token=myPushToken"},"isReference":false,"order":10,"body":"","excerpt":"","slug":"devicessearch-get-device","type":"endpoint","title":"/devices/search - get device"}

get/devices/search - get device


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

device_id:
string
device identifier, mutually exclusive with push_token and ad_id
push_token:
string
platform push token, mutually exclusive with device_id and ad_id
ad_id:
string
advertising id, mutually exclusive with device_id and push_token

Examples


Result Format