Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HTML/CSS to Image Templates API

The Templates API from HTML/CSS to Image — 4 operation(s) for templates.

HTML/CSS to Image Templates API is one of 3 APIs that HTML/CSS to Image publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Templates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 6 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against a single base URL, https://hcti.io/v1.

6 operations 4 paths 4 schemas 2 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://hcti.io/v1
Authentication
HTTP Basic
Terms of Service
Resource Areas
1

Authentication & Security 1

HTML/CSS to Image Templates API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — HTTP Basic authentication using your User ID as the username and your API Key as the password, both from the HTML/CSS to Image dashboard.

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 2 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Templates 6
GET
/template
List all templates.
listTemplates → 200401
POST
/template
Create a template.
createTemplate body → 200401
GET
/template/{template_id}
List versions of a template.
listTemplateVersions 1 param → 200404
POST
/template/{template_id}
Edit a template.
editTemplate 1 param body → 200401
POST
/image/{template_id}
Generate an image from a template.
createTemplatedImage 1 param body → 200401
POST
/image/{template_id}/{template_version}
Generate an image from a specific template version.
createTemplatedImageVersion 2 params body → 200401

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are CreateTemplateRequest (4 properties), Template (4 properties), Image (2 properties), CreateTemplatedImageRequest (1 property). Each schema is shown below with its type and property counts.

Template
object
4 properties
CreateTemplatedImageRequest
object
1 property 1 required
Image
object
2 properties
CreateTemplateRequest
object
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

htmlcsstoimage-templates-api-openapi.yml Raw ↑

Other APIs HTML/CSS to Image publishes across the network.

HTML/CSS to Image Image Generation API
HTML/CSS to Image Signed URLs API