Skip to main content
GET
/
applications
/
{applicationId}
/
attachments
List Application's Attachments
curl --request GET \
  --url https://local.withsutro.com/applications/{applicationId}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'x-sutro-api-client: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "FILE",
    "metadata": {},
    "storedObjectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

applicationId
string
required

Response

200 - application/json

List of attachments for the application

id
string<uuid>

Unique identifier for the Attachment

type
enum<string>
Available options:
FILE,
FIGMA_GENERATED_CODE,
OPENAPI,
PROMPT
metadata
object
storedObjectId
string<uuid>
projectId
string<uuid>

The id of the Project this Attachment belongs to