---
title: "Get App"
method: GET
path: "/router/v1/hubspot/iframe"
tags: ["hubspot"]
---

# Get App

`GET /router/v1/hubspot/iframe`

Handle HubSpot iframe requests for embedded applications and redirections.

This endpoint processes HubSpot iframe requests, handling both direct application
rendering and redirects to contract pages. It extracts credentials and payload
from query parameters, verifies the request signature, and either redirects to
a contract page or renders the frontend HTML.

Args:
    request: The incoming HTTP request
    user_agent: User agent header from the client browser
    x_forwarded_for: Client IP address forwarded by proxies
    x_hubspot_signature: HubSpot signature for request verification
    x_hubspot_signature_version: Version of the signature algorithm used
    x_hubspot_signature_timestamp: Timestamp header required for v3 signature verification
    http_client_session: HTTP client session for making external requests
    db_session: Database session for data operations

Returns:
    Either a redirect response to a contract page or HTML content for the iframe

## Headers

- `user-agent` string
- `x-forwarded-for` string
- `x-hubspot-signature` string
- `x-hubspot-signature-version` string
- `x-hubspot-signature-timestamp` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/spotdraft/apis/oogway-be-router.md) · [All operations](https://skmtc.net/spotdraft/apis/oogway-be-router/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotdraft/oogway-be-router/revisions/6463e4cc09e1/schema)
