---
title: "Obter por ID"
method: GET
path: "/v2/session/{id}"
tags: ["Conversas"]
---

# Obter por ID

`GET /v2/session/{id}`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `includeDetails` string[]

## Response `200`

Success

- PublicSessionDTOV2
  - `id` string, uuid
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `startAt` string, date-time
  - `endAt` string, date-time, nullable
  - `status` 'UNDEFINED' | 'STARTED' | 'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'HIDDEN'
  - `companyId` string, uuid
  - `contactId` string, uuid, nullable
  - `channelId` string, uuid
  - `departmentId` string, uuid, nullable
  - `userId` string, uuid, nullable
  - `previewUrl` string, nullable
  - `title` string, nullable
  - `number` string, nullable
  - `utm` PublicUtmDTO
    - `sourceId` string, nullable
    - `source` string, nullable
    - `clid` string, nullable
    - `medium` string, nullable
    - `campaign` string, nullable
    - `content` string, nullable
    - `headline` string, nullable
    - `term` string, nullable
    - `referralUrl` string, nullable
  - `origin` string, nullable
  - `contactDetails` PublicContactDataDTO
    - `id` string, uuid, nullable
    - `name` string, nullable
    - `pictureUrl` string, nullable
    - `phonenumber` string, nullable
    - `instagram` string, nullable
    - `phonenumberFormatted` string, nullable
    - `tagsId` string[], nullable
    - `tagsName` string[], nullable
    - `status` 'ACTIVE' | 'ARCHIVED' | 'BLOCKED' | 'UNDEFINED'
  - `agentDetails` PublicAgentDataDTO
    - `id` string, uuid
    - `userId` string, uuid
    - `name` string, nullable
    - `shortName` string, nullable
    - `phoneNumber` string, nullable
    - `email` string, nullable
    - `pictureFileId` string, uuid, nullable
    - `pictureUrl` string, nullable
  - `channelDetails` PublicChannelIdentityDTO
    - `humanId` string, nullable
    - `platform` string, nullable
    - `provider` string, nullable
    - `providerVariable` string, nullable
    - `pictureUrl` string, nullable
    - `displayName` string, nullable
  - `departmentDetails` PublicDepartmentDataDTO
    - `id` string, uuid
    - `companyId` string, uuid
    - `name` string, nullable
    - `description` string, nullable
    - `isDefault` boolean
    - `isSupervisor` boolean
  - `classification` PublicSessionClassificationDTO
    - `id` string, uuid
    - `category` 'UNDEFINED' | 'WON' | 'LOST' | 'INFO' | 'OTHER'
    - `categoryDescription` string, nullable
    - `amount` number, double
    - `categoryName` string, nullable
  - `statusDescription` string, nullable
  - `timeService` string, nullable
  - `timeWait` string, nullable
  - `firstResponseAt` string, date-time, nullable
  - `botId` string, uuid, nullable
  - `unreadCount` integer
  - `lastMessageText` string, nullable
  - `lastInteractionDate` string, date-time, nullable
  - `lastMessageOut` string, date-time, nullable
  - `lastMessageIn` string, date-time, nullable
  - `windowStatus` 'ACTIVE' | 'EXPIRED' | 'NOT_STARTED'
  - `metadata` object, nullable
  - `channelType` 'GUPSHUP_WHATSAPP' | 'DIALOG360_WHATSAPP' | 'CLOUDAPI_WHATSAPP' | 'ZAPI_WHATSAPP' | 'EVOLUTIONAPI_WHATSAPP' | 'INSTAGRAM' | 'MESSENGER', nullable
  - `type` 'INDIVIDUAL' | 'GROUP', nullable

## Other responses

- `500` — Server Error

---

[API](https://skmtc.net/helena/apis/core.md) · [All operations](https://skmtc.net/helena/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helena/core/versions/811b2cdd2ec2/schema)
