---
title: "To obtain session details for fetching reports and dashboards"
method: POST
path: "/v1/Insights/Session"
tags: ["FlexV1InsightsSession"]
---

# To obtain session details for fetching reports and dashboards

`POST /v1/Insights/Session`

To obtain session details for fetching reports and dashboards

## Headers

- `Authorization` string

## Response `201`

Created

- FlexV1InsightsSession
  - `workspace_id` string, nullable — Unique ID to identify the user's workspace
  - `session_expiry` string, nullable — The session expiry date and time, given in ISO 8601 format.
  - `session_id` string, nullable — The unique ID for the session
  - `base_url` string, nullable — The base URL to fetch reports and dashboards
  - `url` string, uri, nullable — The URL of this resource.

## Changes

- **2023-08-10** (v1) `c37c20a0a1cb` — 1 info
  - api tag `FlexV1InsightsSession` added

[Change history](https://skmtc.dev/twilio/apis/twilio-flex/changes/v1/Insights/Session/post.md)

---

[API](https://skmtc.dev/twilio/apis/twilio-flex.md) · [All operations](https://skmtc.dev/twilio/apis/twilio-flex/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/twilio/twilio-flex/revisions/ea1db919b6cc/schema)
