List all custom fonts
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Responses
200
OK
application/json
countnumberOptional
Total count of objects in the list
404
Not Found
application/json
get/orgs/{organizationId}/fonts
GET /v1/orgs/{organizationId}/fonts HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"id": "text",
"custom": true,
"fontFamily": "text",
"fontFaces": [
{
"weight": 1,
"sources": [
{
"url": "https://example.com",
"format": "woff2"
}
]
}
],
"permissions": {
"edit": true
}
}
]
}Last updated
Was this helpful?