Cards

Check whether card content fits at a given font

post/cards/preview_fit

Request

  • Base URL: https://api.echtpost.de/v2
  • URL: https://api.echtpost.de/v2/cards/preview_fit
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://my.echtpost.de/oauth/authorize, token URL https://my.echtpost.de/oauth/token, scopes: mcp)
    • API key in header X-Api-Key
    • HTTP bearer

Request body

contentstring required

Plain text in the same shape as POST /v2/cards content; use JSON line breaks (\n) between paragraphs.

sample_greetingstring

Optional greeting prefix to prepend for fit-check.

Response

OK

fitsboolean
lines_usedinteger
max_linesinteger
overflow_lineinteger nullable
suggested_font_sizeinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.