curl -X PUT https://api.truthlocks.com/v1/platform/blog/posts/bp_660e8400-e29b-41d4-a716-446655440000 \
-H "X-API-Key: tl_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated title",
"excerpt": "Revised summary for the post."
}'
{
"id": "bp_660e8400-e29b-41d4-a716-446655440000",
"title": "Updated title",
"slug": "introducing-attestation-batching",
"category": "product",
"status": "published",
"tags": ["attestations", "batch"],
"excerpt": "Revised summary for the post.",
"cover_image_url": "https://api.truthlocks.com/v1/assets/ast_cover123",
"content": "# Attestation batching\n\nYou can now mint attestations in bulk...",
"published_at": "2027-01-20T12:00:00Z",
"created_at": "2027-01-19T10:00:00Z",
"updated_at": "2027-01-21T09:30:00Z"
}
Update one or more fields on an existing blog post.
curl -X PUT https://api.truthlocks.com/v1/platform/blog/posts/bp_660e8400-e29b-41d4-a716-446655440000 \
-H "X-API-Key: tl_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated title",
"excerpt": "Revised summary for the post."
}'
{
"id": "bp_660e8400-e29b-41d4-a716-446655440000",
"title": "Updated title",
"slug": "introducing-attestation-batching",
"category": "product",
"status": "published",
"tags": ["attestations", "batch"],
"excerpt": "Revised summary for the post.",
"cover_image_url": "https://api.truthlocks.com/v1/assets/ast_cover123",
"content": "# Attestation batching\n\nYou can now mint attestations in bulk...",
"published_at": "2027-01-20T12:00:00Z",
"created_at": "2027-01-19T10:00:00Z",
"updated_at": "2027-01-21T09:30:00Z"
}
slug of a published post updates its public URL. If the post has been shared or indexed, keep the original slug to avoid broken links.engineering, product, security, company, or industry.{
"id": "bp_660e8400-e29b-41d4-a716-446655440000",
"title": "Updated title",
"slug": "introducing-attestation-batching",
"category": "product",
"status": "published",
"tags": ["attestations", "batch"],
"excerpt": "Revised summary for the post.",
"cover_image_url": "https://api.truthlocks.com/v1/assets/ast_cover123",
"content": "# Attestation batching\n\nYou can now mint attestations in bulk...",
"published_at": "2027-01-20T12:00:00Z",
"created_at": "2027-01-19T10:00:00Z",
"updated_at": "2027-01-21T09:30:00Z"
}
curl -X PUT https://api.truthlocks.com/v1/platform/blog/posts/bp_660e8400-e29b-41d4-a716-446655440000 \
-H "X-API-Key: tl_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated title",
"excerpt": "Revised summary for the post."
}'