Retrieve a specific document format template by ID. Format templates define how documents should be structured and formatted for specific legal use cases such as contracts, briefs, or pleadings.
curl --request GET \
--url https://api.case.dev/format/v1/templates/{id} \
--header 'Authorization: Bearer <token>'{
"id": "tmpl_abc123",
"name": "Motion to Dismiss Template",
"description": "Standard formatting template for motion to dismiss pleadings",
"content": {
"margins": {
"top": "1in",
"bottom": "1in",
"left": "1in",
"right": "1in"
},
"font": {
"family": "Times New Roman",
"size": "12pt"
},
"spacing": "double",
"sections": [
"caption",
"introduction",
"statement_of_facts",
"argument",
"conclusion"
]
},
"organizationId": "org_xyz789",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}API key starting with sk_case_
The unique identifier of the format template
Format template retrieved successfully
Unique template identifier
Template name
Template description
Template formatting rules and structure
Organization ID that owns the template
Template creation timestamp
Template last modification timestamp
Was this page helpful?
curl --request GET \
--url https://api.case.dev/format/v1/templates/{id} \
--header 'Authorization: Bearer <token>'{
"id": "tmpl_abc123",
"name": "Motion to Dismiss Template",
"description": "Standard formatting template for motion to dismiss pleadings",
"content": {
"margins": {
"top": "1in",
"bottom": "1in",
"left": "1in",
"right": "1in"
},
"font": {
"family": "Times New Roman",
"size": "12pt"
},
"spacing": "double",
"sections": [
"caption",
"introduction",
"statement_of_facts",
"argument",
"conclusion"
]
},
"organizationId": "org_xyz789",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}