Create changelog
Create a changelog. Pass language to create a translation row instead of populating the base row. Requires the changelogs:write scope.
curl -X POST "https://productlane.com/api/v2/changelogs" \
-H "Authorization: Bearer $PRODUCTLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "string",
"content": "string"
}'Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <token>, where<token>is your auth token.
Body
titlestringrequiredcontentstringrequiredMarkdown body. House shape: one
##per section, a---divider above each one that has content above it,>for a callout, and backticks for a navigation path.datestring<date-time>publishedbooleanimage_urlstring<uri> | nullportal_instance_idstring | nullPortal instance id to assign, from GET /portal/instances. Omit to follow the group or parent the item belongs to;
nulltargets the Main (Root) portal. A value that disagrees with the group's portal is rejected.portal_instance_idsstring[]Every portal the entry is on. Use "__main__" for the Main portal. Takes precedence over portal_instance_id.
languagestringBCP-47 language code. When set, the changelog is created with the body on a translation row and the base row stays empty. Requires the Pro plan and the language enabled in workspace settings.
tag_idsstring[]
Response
Successful response
idstringrequiredcreated_atstringrequiredupdated_atstringrequireddatestring | nullrequiredpublishedbooleanrequiredarchivedbooleanrequiredtitlestringrequiredslugstring | nullrequiredcontentstringrequiredimage_urlstring | nullrequiredportal_instance_idstring | nullrequiredportal_instance_idsstring[]requiredtagsobject[]required
{
"id": "string",
"created_at": "string",
"updated_at": "string",
"date": "string",
"published": true,
"archived": true,
"title": "string",
"slug": "string",
"content": "string",
"image_url": "string",
"portal_instance_id": "string",
"portal_instance_ids": [
"string"
],
"tags": [
{
"id": "string",
"name": "string",
"color": "string",
"icon": "string"
}
]
}