---
title: "Retrieve the given device attach resources associated with the owner."
method: GET
path: "/device-attach/v0/attachments"
tags: ["Slice Device Attach v1.0.0"]
---

# Retrieve the given device attach resources associated with the owner.

`GET /device-attach/v0/attachments`

Retrieve the given device attach resources associated with the owner.

## Headers

- `x-rapidapi-host` string, required

## Response `200`

- object[]
  - `nac_resource_id` string, required — Resource identifier of the attachment data.
  - `resource` object, required
    - `device` object, required
      - `phoneNumber` string, nullable — Phone number of the subscription, if any. Optional.
      - `networkAccessIdentifier` string, nullable — Email address-like external identifier of the subscription registered at the operator. If both networkAccessIdentifier and phoneNumber are included, phoneNumber may be dropped and networkAccessIdentifier may be retained.
      - `ipv4Address` object — IPv4 address of the device. IP address is needed for some flow-oriented services, such as QoD.
        - `publicAddress` string, nullable — Public IPv4 address of the device. Either of the device or the NAT the device is behind.
        - `privateAddress` string, nullable — Private IPv4 address of the device, if it is behind a NAT.
        - `publicPort` integer, nullable — Public port used by the device. Port is necessary, as private address ranges overlap, and public port is used to extend the range for CGNAT.
      - `ipv6Address` string, nullable — IPv6 address of the device. IP address is needed for some flow-oriented services, such as QoD.
      - `imsi` integer, nullable — International mobile subscriber identity
    - `customer` object — Customer who orders the device attach operations.
      - `name` string, required
      - `description` string, nullable — Description of the slice, e.g. "B2B_5G_eMBB_Slice"
      - `address` string, nullable — Address of the customer ordering slice creation.
      - `contact` string, nullable — Contact of the customer ordering slice creation.
    - `sliceId` string, required — Slice resource identifier, simple name or UUID.
    - `mobile_services` string[] — List of services allowed for the device.
    - `traffic_categories` object — Denotes the operating system id and the applications' identifiers
      - `apps` object, required
        - `os` string, required — Operating system identifier, UUID
        - `apps` string[], required — List of application identifiers
    - `webhook` object — Callback settings for the requester application.
      - `notificationUrl` string, required — Notification URL for session-related events.
      - `notificationAuthToken` string, nullable — Authorization token for notification sending.
  - `deviceStatus` 'ATTACHED' | 'DETACHED' — Status of the device in relation to the given slice e.g. ATTACHED or DETACHED.
  - `deviceAttachState` 'Completed' | 'Accepted' | 'Rejected' | 'Acknowledged' — Progress/state of the device attach order, e.g. Completed, Accepted, Rejected.
  - `applicationAttachSuccessful` boolean, nullable — Denotes whether successful application attach subscription was subsequently sent.

---

[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)
