Update Attachment

PUT /attachments/{attachment_ref}

Updates canonical attachment metadata identified by attachment reference.


Conventions

Authentication

All endpoints require a Bearer token. Pass it in the Authorization header as Bearer <token>. Tokens are issued from the API settings page in your workspace.

Base URL

All paths are relative to https://api.allsign.app. The spec includes full paths; strip the base when constructing requests.

Versioning

The current version is 0.1.0. Breaking changes are documented in the Changelog and announced before taking effect.

Specification

The API follows OpenAPI Specification 3.x. All documentation on this page is generated directly from the spec.


Example

Bash
curl "https://api.allsign.app/attachments/{attachment_ref}" \
-X PUT \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
--data-raw '{
"name": ""
}'

Request

Request Path
attachment_ref

Public attachment reference.

stringrequired
Request Body
{
  "description": "",
  "kind": "file",
  "name": "",
  "url": ""
}
description

stringnulloptional
kind

file | urloptional
name

stringrequired
url

stringnulloptional

Responses

200 OK

Updated attachment representation.

{
  "data": {
    "attachment": {
      "checksum": "",
      "checksum_algorithm": "",
      "description": "",
      "kind": "file",
      "name": "",
      "ref": "00000000-0000-4000-8000-000000000000",
      "url": ""
    }
  }
}
data

objectrequired
data.attachment

Canonical attachment resource.

objectrequired
data.attachment.checksum

stringnullrequired
data.attachment.checksum_algorithm

stringnullrequired
data.attachment.description

stringnullrequired
data.attachment.kind

file | urlrequired
data.attachment.name

stringrequired
data.attachment.ref

Public stable resource reference.

string (uuid)required
data.attachment.url

stringnullrequired
400 Bad Request

{
  "error": {
    "code": "",
    "message": "",
    "request_id": "",
    "status": 1
  }
}
error

objectrequired
error.code

stringrequired
error.message

stringrequired
error.request_id

stringrequired
error.status

integerrequired
error.fields

object[]optional
401 Unauthorized

{
  "error": {
    "code": "",
    "message": "",
    "request_id": "",
    "status": 1
  }
}
error

objectrequired
error.code

stringrequired
error.message

stringrequired
error.request_id

stringrequired
error.status

integerrequired
error.fields

object[]optional
404 Not Found

{
  "error": {
    "code": "",
    "message": "",
    "request_id": "",
    "status": 1
  }
}
error

objectrequired
error.code

stringrequired
error.message

stringrequired
error.request_id

stringrequired
error.status

integerrequired
error.fields

object[]optional
422 Unprocessable Entity

{
  "error": {
    "code": "",
    "message": "",
    "request_id": "",
    "status": 1
  }
}
error

objectrequired
error.code

stringrequired
error.message

stringrequired
error.request_id

stringrequired
error.status

integerrequired
error.fields

object[]optional

© 2026 AllSign. All rights reserved.