---
title: "Get details for a deployment"
method: GET
path: "/deployments/{deployment-id}"
tags: ["deployments"]
---

# Get details for a deployment

`GET /deployments/{deployment-id}`

## Request

- Base URL: `https://api.mopinion.com`
- URL: `https://api.mopinion.com/deployments/{deployment-id}`
- Auth: none declared

## Path parameters

- `deployment_id` string, required

## Response `200`

OK

- object
  - `code` integer: Return code
  - `response` boolean
  - `global` object[]: Global data
    - `service` string
    - `version` string
    - `stats` boolean
  - `deployment` object[]: Deployment data
    - `domain` string: Domain
    - `id` string: Deployment id
    - `org_id` integer: Organisation id
    - `version` string: API version
    - `type` string: Deployment type
    - `name` string: Deployment name
    - `published` boolean: Published
    - `rules` object[]: Rules
      - `then` object[]: Then condition
        - `webview` boolean: Webview
        - `args` unknown[]
          - unknown
        - `service` string
      - `id` string
      - `if` object[]: If condition
        - `session` integer
        - `clock` object[]
          - `operator` string
          - `time2` string
          - `time` string
        - `mobile` object[]
          - `events` unknown[]
            - unknown
          - `target` object[]
            - `version` unknown[]: Version
              - …
            - `os` string: OS
        - `trigger` string
        - `time` integer
        - `date` object[]
          - `operator` unknown[]
            - unknown
          - `date` string
          - `date2` string
        - `percentage` integer

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/mopinion/apis/mopinion-data-api.md) · [All operations](https://skmtc.dev/mopinion/apis/mopinion-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mopinion/apis/mopinion-data-api/revisions/82d3a0e3a454?raw)
