Attach a file
attachments
Attach a file
Attach a file
Authorizations
Builder authentication and authorization
A unique identifier for the API Client making a request
Path Parameters
Body
application/json
Sutro supports a wide range of attachments that can be used to help design and generate an application:
- Figma project (via file key or URL)
- LLM Prompts
- OpenAPI documents
- Other files
- Figma (URL)
- Figma (File key)
- OpenAPI Document
- LLM Prompt
A URL pointing to a Figma project
Example:
"https://figma.example.com/12345"
A Personal Access Token that has permission to access the given Figma project.
This will require the following scopes:
file_content:readfile_variables:readfile_metadata:read
Example:
"b08631ad-a4ec-4c27-9995-01287e83d565"
Allowed value:
"FIGMA"Response
The ID of the generated attachment
Example:
"b08631ad-a4ec-4c27-9995-01287e83d565"