latestOpenAPI 3.1.02026-08-0823354.5 KB
7e9372f17040
Project
Upload project assets
Upload OpenType or TrueType fonts through a project and make them available to Lottie translation workflows across its organization. Each font is keyed by a normalized identity derived from its family, weight, and italic style (from the supplied family and style, or from the font metadata and file name). Re-uploading the same identity overwrites the existing asset, so complete retries after a 500 response are safe.
post/v2/project/assets
Headers
gt-api-version'2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1'
API version. Defaults to the earliest supported version. Latest is 2026-03-06.v1.
gt-project-idstring
Target project ID. Required when authenticating with an organization API key.
Request body
Example request
{
"assets": [
{
"fileName": "BrandSans.ttf",
"family": "Brand Sans",
"style": "Bold"
}
]
}Response
Uploaded font assets.
Example response
{
"assets": [
{
"id": "asset_abc123",
"assetKey": "brandsans-700",
"fileName": "BrandSans.ttf"
}
],
"count": 1
}