Skip to main content
POST
/
v2
/
hc-articles
/
{id}
/
publish
/
public
Publish article draft
curl --request POST \
  --url https://api-prod.usefini.com/v2/hc-articles/{id}/publish/public \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>'
Use this route to publish a draft article into the live knowledge graph.

Headers

Authorization
string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
Content-Type
string
required
application/json

Path parameters

id
string
required
Draft article ID to publish.

Body parameters

This route uses the same required content fields as Create article. active, public, and origin are also accepted here.

Response

Returns the live article that remains after publish. See Manage knowledge for the shared article fields.
If the draft was created from an existing live article, the response is that updated original live article. Otherwise, the response is a newly created live article.

Errors

The request body is malformed or one of the required arrays is empty.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope.
The draft article does not exist in the workspace.