Skip to content

Get phone model list

Request

Return the mobile device models available for Android and iOS browser profiles.

  • Effect: none. Read-only. Safe to retry with bounded backoff.
  • Contents: the intersection of the MoreLogin device table and the fingerprint base-data service. Models present in only one of the two are omitted, and the returned id belongs to the fingerprint service, not the device table.
Security
OpenApiBearer
curl -i -X POST \
  https://api.morelogin.com/env/base/mobile/devices \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success. Returns an empty array when no models are available.

Bodyapplication/json
codeintegerrequired

Return result code. 0 means success; other codes indicate exceptions.

Example:0
msgstring or nullrequired

Error message. Usually null on success.

Example:null
requestIdstring

Operation request ID. This field may be present when the request passes through the API gateway.

Example:"1d4f3ea968664593860b94b35d4ebf5e"
dataArray of objects(MobileDevice)required
Response
{ "code": 0, "msg": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d", "data": [ { … } ] }