{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/v1/devices/search?device_id=myDeviceId&ad_id=myAdId&push_token=myPushToken","auth":"required","examples":{"codes":[{"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\"","language":"curl"}]},"method":"get","params":[{"name":"device_id","type":"string","default":"","desc":"device identifier, mutually exclusive with push_token and ad_id","required":false,"in":"query","ref":"","_id":"56eb2b3c9b984b290021368b"},{"name":"push_token","type":"string","default":"","desc":"platform push token, mutually exclusive with device_id and ad_id","required":false,"in":"query","ref":"","_id":"56eb2b3c9b984b290021368a"},{"name":"ad_id","type":"string","default":"","desc":"advertising id, mutually exclusive with device_id and push_token","required":false,"in":"query","ref":"","_id":"5878be0f735d5c2d004fd4bc"}],"results":{"codes":[{"status":200,"name":"","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}","language":"json"},{"name":"","code":"{\n  \"success\": false,\n  \"message\": \"Wrong parameters\"\n}","language":"json","status":400}]},"settings":""},"next":{"description":"","pages":[]},"title":"/devices/search - get device","type":"endpoint","slug":"devicessearch-get-device","excerpt":"","body":"","updates":[],"order":10,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5878be0f735d5c2d004fd4bb","createdAt":"2017-01-13T11:46:23.888Z","user":"56cecbb2e50c9c1b008303eb","githubsync":"","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["56cecbdc44c5700b0095c03e","56d1d2c05ad7ad0b00b7e809","56d1d2fa5ad7ad0b00b7e80a","56d369331660770b00081159","56d3693d1660770b0008115a","56e5361e7990160e002e3fbc","56e5362775eb791700a9c4d2","57a9030947f2f419009188d4","57b4705ee9e4c60e00f6f4c3","5828f5b04774ab0f005179a2"],"_id":"56cecbdc44c5700b0095c03d","project":"56cecbdb44c5700b0095c03a","__v":10,"createdAt":"2016-02-25T09:39:40.121Z","releaseDate":"2016-02-25T09:39:40.121Z"},"category":{"sync":{"isSync":false,"url":""},"pages":["56e590ae69d7890e000ec286","56e590fa3c29b117008dae50","56e6f058d66be417007d2364","56e7eaa8f0fafd36008faf59","56ea8db9ed3ad20e004e5a02","56ea8f3e0252fb17008804ac"],"title":"Server API","slug":"remote-api","order":7,"from_sync":false,"reference":false,"_id":"56e5362775eb791700a9c4d2","__v":6,"createdAt":"2016-03-13T09:43:03.596Z","project":"56cecbdb44c5700b0095c03a","version":"56cecbdc44c5700b0095c03d"},"parentDoc":null,"project":"56cecbdb44c5700b0095c03a","__v":0}

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