---
title: "Get Instance Auth"
method: GET
path: "/mcp-server/instance/{instanceId}/auth"
tags: ["mcp-server"]
---

# Get Instance Auth

`GET /mcp-server/instance/{instanceId}/auth`

Retrieves the auth data for a specific integration instance that the API key owner controls.
Includes access token, refresh token, and other authentication data.

This endpoint includes proper ownership verification to ensure users can only access
authentication data for integration instances they own. It also handles token refresh if needed.

## Path parameters

- `instanceId` string, uuid, required — The ID of the connection integration instance to get auth data for.

## Response `200`

Successful Response

- GetAuthDataResponse
  - `success` boolean, required — Whether the request was successful
  - `authData` object, nullable — Complete authentication data including access token, refresh token, scope, expiration, and platform-specific data
  - `error` string, nullable — Error message if the request failed

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/weatherpal-ai/apis/mcp-handle-https-www-mcp-handle-dev.md) · [All operations](https://skmtc.net/weatherpal-ai/apis/mcp-handle-https-www-mcp-handle-dev/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/weatherpal-ai/mcp-handle-https-www-mcp-handle-dev/versions/58fc8af3b578/schema)
