Fonts
Create a new font
Upload a custom TTF or OTF font (Pro plan and above). Send either a multipart 'file' or a JSON body with a public 'url'. The font is validated and security-checked before it is stored.
post/api/v1/fonts
Request
- Base URL: https://api.sudomock.com
- URL: https://api.sudomock.com/api/v1/fonts
- Auth: API key in header x-api-key
Request body
Example request
{
"license_confirmed": true,
"url": "https://example.com/fonts/MyBrand-Bold.ttf"
}Response
Successful Response
Example response
{
"category": "sans-serif",
"created_at": "2026-07-13T00:00:00+00:00",
"family": "Open Sans",
"file_url": "https://cdn.sudomock.com/mockup-assets/fonts/web/9f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f.woff2",
"is_premium": false,
"is_system": true,
"license": "OFL",
"postscript_name": "OpenSans-Regular",
"subfamily": "Regular",
"uuid": "9f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"preview_url": null
}Changes
No recorded changes to this operation across all 1 revision of this API.