cURL
curl --request POST \ --url https://api.lithoblocks.com/templates/{id}/versions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "message": {}, "status": "draft", "sampleData": {}, "entityId": "<string>", "requestFormat": {} } '
{ "id": "<string>", "templateId": "<string>", "versionNumber": 123, "message": {}, "status": "<string>", "isCurrent": true, "createdAt": "<string>", "createdBy": "<string>", "sampleData": {}, "entityId": "<string>", "requestFormat": {} }
Create a new version of a template
LithoBlocks API key obtained from your organization dashboard
Version creation data
Show child attributes
Created version