---
title: "Publish listing to a website"
method: POST
path: "/api/listings/{listing_id}/website-export"
tags: ["Listings - Admin"]
---

# Publish listing to a website

`POST /api/listings/{listing_id}/website-export`

Publish a listing to a website (create Z_WebsiteExports record).

Args:
    listing_id: ViaturasEasyDataGreen.ID
    website_id: Websites.id to publish to

## Path parameters

- `listing_id` integer, required

## Query parameters

- `website_id` integer, required — Websites.id to publish to

## Headers

- `x-api-token` string, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
