curl --request POST \
--url https://sapi.withsutro.com/projects/{projectId}/file \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-sutro-api-client: <api-key>' \
--data '
{
"storedObjectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"originalFileName": "<string>",
"description": "<string>"
}
'{
"attachmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}curl --request POST \
--url https://sapi.withsutro.com/projects/{projectId}/file \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-sutro-api-client: <api-key>' \
--data '
{
"storedObjectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"originalFileName": "<string>",
"description": "<string>"
}
'{
"attachmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Documentation Index
Fetch the complete documentation index at: https://docs.withsutro.com/llms.txt
Use this file to discover all available pages before exploring further.
Builder authentication and authorization
A unique identifier for the API Client making a request
The ID of the generated attachment
"b08631ad-a4ec-4c27-9995-01287e83d565"
Was this page helpful?