---
title: "GET /api/v1/app-connections/smb/connection-name/{connectionName}"
method: GET
path: "/api/v1/app-connections/smb/connection-name/{connectionName}"
tags: ["App Connections"]
---

# GET /api/v1/app-connections/smb/connection-name/{connectionName}

`GET /api/v1/app-connections/smb/connection-name/{connectionName}`

## Request

- Base URL: `https://us.infisical.com`
- URL: `https://us.infisical.com/api/v1/app-connections/smb/connection-name/{connectionName}`
- Auth: none declared

Get the specified Windows (SMB) Connection by name.

## Path parameters

- `connectionName` string, required

## Query parameters

- `projectId` string

## Response `200`

Default Response

- object
  - `appConnection` object, required
    - `id` string, uuid, required
    - `name` string, required
    - `description` string, nullable
    - `version` number
    - `orgId` string, uuid, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `isPlatformManagedCredentials` boolean, nullable
    - `gatewayId` string, uuid, nullable
    - `projectId` string, nullable
    - `isAutoRotationEnabled` boolean
    - `gatewayPoolId` string, uuid, nullable
    - `rotation` object: The credential rotation configuration, if configured.
      - `lastRotationMessage` string, nullable: The message from the last rotation attempt.
      - `rotationInterval` number, required: The interval in days between credential rotations.
      - `nextRotationAt` string, date-time, nullable: The next scheduled rotation time.
      - `rotationStatus` 'success' | 'failed', required: The status of the last rotation attempt.
      - `rotateAtUtc` object, required: The UTC time of day at which rotation should occur.
        - `hours` number, required: The hour (0-23) at which to rotate.
        - `minutes` number, required: The minute (0-59) at which to rotate.
    - `credentialsHash` string
    - `project` object, nullable
      - `name` string, required
      - `id` string, required
      - `type` string, required
      - `slug` string, required
    - `app` 'smb', required
    - `method` 'credentials', required
    - `credentials` object, required
      - `host` string, required
      - `port` number, required
      - `domain` string
      - `username` string, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `422`: Default Response
- `500`: Default Response

## Changes

- **2026-07-21** `5dbb77aad0f5`: 2 info
  - added `subschema #1: Windows (SMB)` to the `appConnection` response property `anyOf` list for the response status `200`
  - removed `subschema #1: SMB` from the `appConnection` response property `anyOf` list for the response status `200`

[Operation history](https://skmtc.dev/infisical/apis/infisical-api/changes/api/v1/app-connections/smb/connection-name/:connectionName/get.md)

---

[API](https://skmtc.dev/infisical/apis/infisical-api.md) - [All operations](https://skmtc.dev/infisical/apis/infisical-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infisical/apis/infisical-api/revisions/7f940199c899?raw)
