Skip to main content
POST
/
v2
/
custom-table-templates
Create Template
curl --request POST \
  --url https://api.example.com/v2/custom-table-templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "entity_type": "<string>",
  "columns": [
    {}
  ],
  "include_totals": false
}
'
{
  "created_at": "2023-11-07T05:31:56Z",
  "modified_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "name": "<string>",
  "entity_type": "<string>",
  "columns": [
    {}
  ],
  "include_totals": true,
  "object": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.api.stuut.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Maximum string length: 256
entity_type
string
required
Maximum string length: 64
columns
object[]
required
Minimum array length: 1
include_totals
boolean
default:false

Response

Successful Response

created_at
string<date-time>
required
modified_at
string<date-time> | null
required
id
string
required
name
string
required

User-facing display name for this table template.

entity_type
string
required

Which data list to iterate, e.g. 'overdue_invoices', 'open_invoices'.

columns
object[]
required

Ordered array of {key, header} dicts defining the table columns.

include_totals
boolean
required

Whether to append a totals row summing amount/balance columns.

object
string
required
read-only

String representing the object's type. Objects of the same type share the same value.