v8

OpenAPI 3.1.02026-08-02613251.5 KB
hubspot

Get App

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

get/router/v1/hubspot/iframe

Headers

user-agentstring
x-forwarded-forstring
x-hubspot-signaturestring
x-hubspot-signature-versionstring
x-hubspot-signature-timestampstring

Response

Successful Response

{"stackTrail":"paths:/router/v1/hubspot/iframe:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}