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 contract version. Defaults to the oldest supported version.

API contract version. Defaults to the oldest supported version.

gt-project-idstring

Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).

Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).

Request body

Response

Uploaded assets

countinteger required

Changes

Changed in 1 of the 3 revisions of this API.219

  • 367cd605d090219See the full diff
    • the assets/items/content request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • added the pattern \.([tT][tT][fF]|[oO][tT][fF])$ to the request property assets/items/fileName

      request-property-pattern-added

    • api operation id uploadProjectAssets removed and replaced with uploadAssets

      api-operation-id-removed

    • the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • added the media type text/html for the response with the status 400

      response-media-type-added

    • added the media type text/html for the response with the status 401

      response-media-type-added

    • added the media type text/html for the response with the status 403

      response-media-type-added

    • added the media type text/html for the response with the status 404

      response-media-type-added

    • added the media type text/html for the response with the status 413

      response-media-type-added

    • added the media type text/html for the response with the status 429

      response-media-type-added

    • added the media type text/html for the response with the status 500

      response-media-type-added

    • the response property assets/items/assetKey became required for the status 201

      response-property-became-required

    • the response property assets/items/fileName became required for the status 201

      response-property-became-required

    • the response property assets/items/id became required for the status 201

      response-property-became-required

    • the response property error became required for the status 400

      response-property-became-required

    • the response property error became required for the status 401

      response-property-became-required

    • the response property error became required for the status 403

      response-property-became-required

    • the response property error became required for the status 404

      response-property-became-required

    • the response property error became required for the status 413

      response-property-became-required

    • the response property error became required for the status 429

      response-property-became-required

    • the response property error became required for the status 500

      response-property-became-required

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog