KintsugiKintsugi

Get an attachment by id

GET/attachments/{attachment_id}

Fetch a single attachment's metadata by id. Searched across every organization your credential owns, so no selector is needed for a known id. Returns 404 if the attachment does not exist or belongs to an organization your credential cannot access, so the API never confirms an id exists.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Organization-Idstring

Narrow the request to one organization (Organization-Id selector).

Connection-Idstring

Narrow the request to a connection's organization.

Entity-Idstring

Narrow the request to a platform entity's organization.

Entity-Sourcestring

Optional source to disambiguate an Entity-Id.

Path parameters

attachment_idstringRequired

The unique identifier of the attachment.

Response

idstringRequired

Kintsugi's unique identifier for the attachment.

fileNamestringRequired

Name the file was uploaded under.

contentTypestringRequired

Media type of the file.

sizeintegerRequired

Size of the file in bytes.

relatedEntityRelatedEntityRefRequired

The entity this attachment is held against.

uploadedAtstringRequired

When the attachment was uploaded, as an RFC-3339 UTC timestamp.

200

Successful Response

400

The request was invalid.

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

409

The request conflicts with existing state.

422

The request failed validation.

cURL
GET /attachments/{attachment_id}
-H "Api-Key: ***"
-H "Api-Version: 2026-07-21"
Example request
https://api.trykintsugi.com/attachments/{attachment_id}
Response
{
"id": "atch_2mNpQr7Ls8f3k",
"fileName": "resale-certificate.pdf",
"contentType": "application/pdf",
"size": 20481,
"relatedEntity": {
"id": "exmp_2mNpQr7Ls8f3k",
"type": "EXEMPTION"
},
"uploadedAt": "2026-07-28T12:00:00Z"
}
Get an attachment by id (2026-07-21) | Kintsugi API Reference