# Get all DeviceTokens

{% hint style="danger" %}
The method is supported only by our old architecture which works with SubscriptionToken till the end of 2020.

If you are 1st time integrating the SDK and already use InstanceID and InstanceKEY, **don't use this method!**
{% endhint %}

## GetAll

<mark style="color:blue;">`GET`</mark> `https://mobilesdk.raxeltelematic.com/mobilesdk/manage/virtual_device/get_all/v1`

#### Headers

| Name              | Type   | Description                    |
| ----------------- | ------ | ------------------------------ |
| SubscriptionToken | string | Your Company subscriptionToken |

{% tabs %}
{% tab title="200 " %}

```
{
  "Result": {
     "VirtualDevices": [
          {
              "DeviceToken": "194df5b4-5322-43f5-bea7-16d85debfd00", // a device token value
              "CreateDt": "2019-01-01T00:00:00+00:00", // creation date
              "Enabled": true, // true if device is enabled
              "EnableTracking": true // true if tracking enabled for this device
          },
    "Code": 200 // response code
  }
}
```

{% endtab %}

{% tab title="400 " %}

```
{
  "Error": {
    "Code": 400 // error code
  }
}
```

{% endtab %}
{% endtabs %}

**REQUEST BODY:** empty<br>
