Produktly docs
ChangelogsChangelogid

Switch a changelog's public page on or off

PATCH
/changelogs/{changelogId}

The public page shows every published post and ignores targeting rules. The response's publicUrl is the link to share. Changing isPublicPageEnabled needs the publish scope; without it the change is ignored and the response carries a note. Custom domains are set up in the dashboard.

Authorization

BearerAuth
AuthorizationBearer <token>

Use an API key from the Produktly dashboard → Settings → API keys.

In: header

Path Parameters

changelogId*integer
Range0 < value

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/changelogs/1" \  -H "Content-Type: application/json" \  -d '{    "isPublicPageEnabled": true  }'
{  "id": 0,  "name": "string",  "active": true,  "createdAt": "2019-08-24T14:15:22Z",  "isPublicPageEnabled": true,  "publicUrl": "http://example.com",  "customDomain": "string",  "customDomainVerified": true,  "note": "string"}