curl -X POST https://api.truthlocks.com/v1/platform/blog/posts/bp_660e8400-e29b-41d4-a716-446655440000/publish \
-H "X-API-Key: tl_live_your_api_key"
{
"id": "bp_660e8400-e29b-41d4-a716-446655440000",
"title": "Introducing attestation batching",
"slug": "introducing-attestation-batching",
"category": "product",
"status": "published",
"tags": ["attestations", "batch"],
"excerpt": "Mint up to 100 attestations in a single API call.",
"published_at": "2027-01-20T12:00:00Z",
"created_at": "2027-01-19T10:00:00Z",
"updated_at": "2027-01-20T12:00:00Z"
}
Publish a draft blog post to the public blog.
curl -X POST https://api.truthlocks.com/v1/platform/blog/posts/bp_660e8400-e29b-41d4-a716-446655440000/publish \
-H "X-API-Key: tl_live_your_api_key"
{
"id": "bp_660e8400-e29b-41d4-a716-446655440000",
"title": "Introducing attestation batching",
"slug": "introducing-attestation-batching",
"category": "product",
"status": "published",
"tags": ["attestations", "batch"],
"excerpt": "Mint up to 100 attestations in a single API call.",
"published_at": "2027-01-20T12:00:00Z",
"created_at": "2027-01-19T10:00:00Z",
"updated_at": "2027-01-20T12:00:00Z"
}
published_at timestamp is set automatically. Published posts include Open Graph tags, Twitter Cards, and JSON-LD structured data for search engine visibility.
draft status.{
"id": "bp_660e8400-e29b-41d4-a716-446655440000",
"title": "Introducing attestation batching",
"slug": "introducing-attestation-batching",
"category": "product",
"status": "published",
"tags": ["attestations", "batch"],
"excerpt": "Mint up to 100 attestations in a single API call.",
"published_at": "2027-01-20T12:00:00Z",
"created_at": "2027-01-19T10:00:00Z",
"updated_at": "2027-01-20T12:00:00Z"
}
curl -X POST https://api.truthlocks.com/v1/platform/blog/posts/bp_660e8400-e29b-41d4-a716-446655440000/publish \
-H "X-API-Key: tl_live_your_api_key"