GET ​/api​/v3​/account​/me​/mobile_devices

Retrieve the mobile devices for this account.

Request

Example Request

{
  "auth_token": "abc1245920feab98ca"
}

Example Parameters

  • auth_token: The user's auth_token obtained by calling the auth API. If provided, the response will indicate follow status for elements in the followers array.
    • Required: yes
    • Type: string
    • Example: abc1245920feab98ca

Response

Example Response

{
  "mobile_devices": [
    {
      "id": 81,
      "name": "abc",
      "device_type": "abc",
      "device_id": 123,
      "push_enabled": true,
      "push_token": "abc"
    }
  ]
}

Response Parameters

  • mobile_devices: The list of mobile_devices.

    • Required: yes
    • Type: array
    • Items

      • Required: no
      • id: The id of the mobile device
        • Required: yes
        • Type: integer
        • Example: 81
      • name: The name of the mobile device.
        • Required: yes
        • Type: string
        • Example: abc
      • device_type: The mobile device type.
        • Required: yes
        • Type: string
        • Example: abc
      • device_id: The mobile device id.
        • Required: yes
        • Type: string
        • Example: 123
      • push_enabled: The mobile device's push enabled flag.
        • Required: yes
        • Type: boolean
        • Example: true
      • push_token: The mobile device's push token.
        • Required: yes
        • Type: string
        • Example: abc

Response Codes

Successful Response Codes

  • 200: A successful request.

Failure Response Codes

  • 404: Indicates the account was not found.

  • 401: Unauthorized request. Indicates a missing or invalid auth_token.