---
title: "Rotate Token"
method: POST
path: "/companies/{company_id}/output-feeds/{output_feed_id}/rotate-token"
tags: ["output feeds"]
---

# Rotate Token

`POST /companies/{company_id}/output-feeds/{output_feed_id}/rotate-token`

## Request

- Base URL: `https://app.zalster.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zalster.com/companies/{company_id}/output-feeds/{output_feed_id}/rotate-token`
- Auth: none declared

Issue a new public URL and revoke the old one.

A feed registered on Meta is registered again with the new URL (decision
216): Meta kept fetching the revoked one and got nothing, and the catalog
went stale without a word. If Meta cannot be told, the rotation stands —
it is usually why someone rotated — and ``settings.meta_republish_error``
says so until the feed is published to Meta again.

## Path parameters

- `company_id` string, uuid, required: Company id
- `output_feed_id` string, uuid, required: Output feed id

## Response `200`

Successful Response

- OutputFeedOut
  - `id` string, uuid, required
  - `name` string, required
  - `channel` string, required
  - `format` string, required
  - `status` string, required
  - `filter_document` object, nullable, required
  - `product_set_id` string, uuid, nullable
  - `product_set_name` string, nullable
  - `active_mapping_version_id` string, uuid, nullable, required
  - `schedule_minutes` integer, nullable, required
  - `refresh_after_import` boolean, required
  - `public_token` string, nullable, required
  - `public_url` string, nullable
  - `settings` object, required
  - `last_export_id` string, uuid, nullable, required
  - `template_id` string, uuid, nullable
  - `creative_format` string
  - `experiment_id` string, uuid, nullable
  - `creative_profile` string
  - `lifestyle_format` string, nullable
  - `all_formats` boolean
  - `all_sources` boolean
  - `source_ids` string[]
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zalster/apis/zalster-feed-processor.md) - [All operations](https://skmtc.dev/zalster/apis/zalster-feed-processor/llms.txt) - [OpenAPI document](https://skmtc.dev/zalster/apis/zalster-feed-processor/revisions/d0b9dc66ad36?raw)
