Skip to content
Skip to main contentWhere does your team stand on AI adoption?
CONTACT SALESSTART BUILDING

Content API model-specific details

With the Content API, you can make requests to retrieve data about any of your models within Builder. This page details special exceptions for particular models, or any other details to be aware of when working with the Content API.

figma-imports model

Requesting data for figma-import models differs depending on whether you are requesting a single or multiple entries.

Fetch one entry

To fetch a single figma-import entry, make a request to the following URL, replacing <IMPORT_ID> and <PUBLIC_API_KEY> as is appropriate.

http://cdn.builder.io/api/v3/content/figma-imports/<IMPORT_ID>?apiKey=<PUBLIC_API_KEY>

Fetch multiple entries

To fetch multiple figma-import entries, you must also add your Private API key to the request. Make the request to the following URL, replacing <PUBLIC_API_KEY> with your key.

http://cdn.builder.io/api/v3/content/figma-imports?apiKey=<PUBLIC_API_KEY>

As part of the request, include your Private API key within the Authorization header.

Authorization: Bearer <PRIVATE_API_KEY>

What's next

Read more about how Builder users Cookies, or about the GDPR and US compliance.

Was this article helpful?