Skip to main content
GET
/
forms
/
templates
Get template options
curl --request GET \
  --url https://api.anycheck.ai/forms/templates \
  --header 'Authorization: Bearer <token>'
{
  "custom": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "Custom KTP Template"
    },
    {
      "id": "b2c3d4e5-f6g7-8901-bcde-f23456789012",
      "name": "Custom Invoice Template"
    },
    {
      "id": "c3d4e5f6-g7h8-9012-cdef-345678901234",
      "name": "Custom Bank Statement Template"
    }
  ],
  "prebuilt": [
    {
      "id": "d4e5f6g7-h8i9-0123-defg-456789012345",
      "name": "KTP"
    },
    {
      "id": "g7h8i9j0-k1l2-3456-ghij-789012345678",
      "name": "Bank Statement"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login endpoint.

Example:

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Query Parameters

page_offset
integer
default:0

Number of records to skip for pagination

Required range: x >= 0
page_size
integer
default:10

Number of records per page

Required range: 1 <= x <= 100

Search term to filter templates by name

Response

Template options grouped by type

custom
object[]
required

List of custom template options

prebuilt
object[]
required

List of prebuilt template options