---
title: "Get hosted pages"
method: POST
path: "/workspaces/{workspace_id}/subscription_v1/hosted-page"
tags: ["Subscription"]
---

# Get hosted pages

`POST /workspaces/{workspace_id}/subscription_v1/hosted-page`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/workspaces/{workspace_id}/subscription_v1/hosted-page`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Get hosted pages of the subscription for the requested properties

## Path parameters

- `workspace_id` integer, required: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

## Request body

- HostedPageSchema: Details of the hosted page
  - `object_type` string, required: Type of the hosted page
  - `plan_id` string, nullable: ID of the plan

## Response `200`

Hosted page details

- object

## Other responses

- `201`: Document created, URL follows
- `400`: Bad Request
- `401`: Authorization error
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
