List all fonts
Lists all available fonts, including both Google Fonts and user-uploaded custom fonts.
Sample Request
Here’s a sample request to list all available fonts:
GET /v1/fonts
fetch('https://api.templated.io/v1/fonts', { method: 'GET', headers: { 'Authorization': `Bearer ${API_KEY}` }})
Response
The response will be an array of font objects. Each object will follow either the Google Font or user-uploaded font structure.
[ { "name": "Roboto", "isGoogleFont": true, "isUploadedFont": false, }, { "name": "My Custom Font", "isGoogleFont": false, "isUploadedFont": true, } // ... more fonts]