---
title: "GET /applications/{applicationId}/sessions/{sessionId}/endpoint"
method: GET
path: "/applications/{applicationId}/sessions/{sessionId}/endpoint"
---

# GET /applications/{applicationId}/sessions/{sessionId}/endpoint

`GET /applications/{applicationId}/sessions/{sessionId}/endpoint`

Returns the session endpoint URL and a time-limited authentication token for the specified session. Use the endpoint and token to connect a client to the session. Call this operation again when the authentication token expires to obtain a new token.

## Path parameters

- `applicationId` string, required
- `sessionId` string, required

## Response `200`

Success

- GetSessionEndpointResponse
  - `applicationId` string, required — The output contains the ID of the application.
  - `sessionId` string, required — The output contains the ID of the session.
  - `endpoint` string, required — The endpoint URL for connecting to the session.
  - `authToken` string, password, required — The authentication token for connecting to the session endpoint. Call <code>GetSessionEndpoint</code> again to obtain a new token before it expires.
  - `authTokenExpiresAt` string, date-time, required — The expiration time of the authentication token.

## Other responses

- `480` — ValidationException
- `481` — ResourceNotFoundException
- `482` — InternalServerException

---

[API](https://skmtc.net/aws/apis/emr-serverless.md) · [All operations](https://skmtc.net/aws/apis/emr-serverless/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/emr-serverless/versions/d7a4ce0af1b7/schema)
