Skip to main content
POST
https://api.thehyperstack.com
/
v1
/
credential
/
{document_id}
/
publish
Publish Credential
curl --request POST \
  --url https://api.thehyperstack.com/v1/credential/{document_id}/publish
{
  "success": true,
  "message": "Credential published successfully"
}

Description

This endpoint allows you to publish a credential that is currently in draft state. This is used in conjunction with the Generate Credential endpoint, which creates credentials without immediately publishing them.

Headers

Authorization
string
required
Bearer YOUR_API_TOKEN — obtainable from Hyperstack Dashboard → Settings → API Access

Path Parameters

document_id
string
required
The unique ID (key) of the draft credential to publish.

Success Response Fields

success
boolean
Indicates whether the credential was successfully queued for publishing.
message
string
A confirmation message. Value: "Credential published successfully".

Responses

{
  "success": true,
  "message": "Credential published successfully"
}
curl -X POST "https://api.thehyperstack.com/v1/credential/j4nDvaxF6ehodPXI84p4X1yhQe7lrYgx/publish" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Last modified on February 22, 2026