NeedFontDocumentation
API Reference

Fonts API

Endpoints for managing fonts.

List Fonts

GET/api/fonts

Returns a paginated list of fonts.

Query Parameters
  • page - Page number (default: 1)
  • limit - Items per page (default: 20, max: 100)
  • search - Search by name or family
  • format - Filter by format (otf, ttf, woff, woff2)

Get Font

GET/api/fonts/:id

Returns a single font with full metadata.

Upload Font

POST/api/fonts/upload

Uploads and processes a new font file.

Request Body

Multipart form with file field containing the font.

Delete Font

DELETE/api/fonts/:id

Permanently deletes a font and its stored file.