---
title: "Grab the hosted URL"
method: GET
path: "/landingPage/getHostedURL"
tags: ["landingPages"]
---

# Grab the hosted URL

`GET /landingPage/getHostedURL`

This will grab the permanent URL for a given Landing Page.

## Query parameters

- `id` integer, required

## Response `200`

Successfully got URL

- Response
  - `code` integer, required
  - `data` object, required
  - `account_id` integer, required

## Other responses

- `400` — Error Processing Request
- `403` — No permissions
- `404` — Object not found

---

[API](https://skmtc.net/ontraport/apis/ontraport-api.md) · [All operations](https://skmtc.net/ontraport/apis/ontraport-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ontraport/ontraport-api/revisions/edcd035d71f5/schema)
