Pular para o conteúdo

Listar anexos da tarefa

GET
/api/seller/external/v1/task/{id}/attachment
curl --request GET \
--get "https://api.spelt.com.br/api/seller/external/v1/task/architecto/attachment" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

Só os dados de cada anexo. O conteúdo vem em GET /task/{id}/attachment/{attachmentId}.

id
required
string

ULID da tarefa.

Media typeapplication/json
object
data
Array<object>
object
object
string
id
string
task_id
string
name
string
size
integer
mime_type
string
created_at
string
Example
{
"data": [
{
"object": "task_attachment",
"id": "01JA0000000000000000000050",
"task_id": "01JA0000000000000000000010",
"name": "briefing.md",
"size": 1840,
"mime_type": "text/plain",
"created_at": "2026-11-28T10:00:00-03:00"
}
]
}
Media typeapplication/json
object
error
string
Example
{
"error": "Recurso não encontrado"
}