Skip to main content
GET
/
format
/
v1
/
templates
/
{id}
Get format template
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"
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

The unique identifier of the format template

Response

Format template retrieved successfully

id
string

Unique template identifier

name
string

Template name

description
string

Template description

content
object

Template formatting rules and structure

organizationId
string

Organization ID that owns the template

createdAt
string<date-time>

Template creation timestamp

updatedAt
string<date-time>

Template last modification timestamp