---
title: "Retrieve a list of device status event subscription"
method: GET
path: "/device-status/v0/subscriptions"
tags: ["Device Status v0.5.1"]
---

# Retrieve a list of device status event subscription

`GET /device-status/v0/subscriptions`

Retrieve a list of device status event subscription(s)

## Headers

- `x-rapidapi-host` string, required

## Response `200`

- object[]
  - `subscriptionDetail` object, required — The detail of the requested event subscription
    - `device` object, required — End-user equipment able to connect to a mobile network. Examples of devices include smartphones or IoT sensors/actuators. The developer can choose to provide the below specified device identifiers: * `ipv4Address` * `ipv6Address` * `phoneNumber` * `networkAccessIdentifier` NOTE: the MNO might support only a subset of these options. The API invoker can provide multiple identifiers to be compatible across different MNOs. In this case the identifiers MUST belong to the same device.
      - `phoneNumber` string — A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, optionally prefixed with '+'.
      - `networkAccessIdentifier` string — A public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.
      - `ipv4Address` union — The device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers). If the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress. If NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object) In all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.
        - object
          - `publicAddress` string, ipv4, required — A single IPv4 address with no subnet mask
          - `privateAddress` string, ipv4, required — A single IPv4 address with no subnet mask
          - `publicPort` integer — TCP or UDP port number
        - object
          - `publicAddress` string, ipv4, required — A single IPv4 address with no subnet mask
          - `privateAddress` string, ipv4 — A single IPv4 address with no subnet mask
          - `publicPort` integer, required — TCP or UDP port number
      - `ipv6Address` string, ipv6 — The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).
    - `type` 'org.camaraproject.device-status.v0.roaming-status' | 'org.camaraproject.device-status.v0.roaming-on' | 'org.camaraproject.device-status.v0.roaming-off' | 'org.camaraproject.device-status.v0.roaming-change-country' | 'org.camaraproject.device-status.v0.connectivity-data' | 'org.camaraproject.device-status.v0.connectivity-sms' | 'org.camaraproject.device-status.v0.connectivity-disconnected', required — roaming-status - Event triggered when the device switch from roaming ON to roaming OFF and conversely roaming-on - Event triggered when the device switch from roaming OFF to roaming ON roaming-off - Event triggered when the device switch from roaming ON to roaming OFF roaming-change-country - Event triggered when the device in roaming change country code connectivity-data - Event triggered when the device is connected to the network for Data usage. connectivity-sms - Event triggered when the device is connected to the network for SMS usage connectivity-disconnected - Event triggered when the device is not connected.
  - `subscriptionExpireTime` string, date-time — The subscription expiration time in date-time format.
  - `webhook` object, required — Webhook information for event channel
    - `notificationUrl` string, required — https callback address where the event notification must be POST-ed
    - `notificationAuthToken` string — OAuth2 token to be used by the callback API endpoint. It MUST be indicated within HTTP Authorization header e.g. Authorization: Bearer $notificationAuthToken
  - `subscriptionId` string, required — The event subscription identifier.
  - `startsAt` string, date-time — date time when subscription started
  - `expiresAt` string, date-time — date time when subscription will expire or expired

## Other responses

- `400`
- `401`
- `403`
- `500`
- `503`

---

[API](https://skmtc.dev/nokia/apis/network-as-code.md) · [All operations](https://skmtc.dev/nokia/apis/network-as-code/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nokia/network-as-code/revisions/fdd5f5a56b88/schema)
