---
title: "AttachmentMetadataById (JIRA Cloud)"
description: "Attachment Metadata by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/jira/JIRA.Core.AttachmentMetadataById
original: https://documentation.invantive.eu/en/datamodels/jira/JIRA.Core.AttachmentMetadataById
updated: 2026-11-24T11:19:23Z
license: https://documentation.invantive.eu/en/
---

# AttachmentMetadataById: JIRA Cloud Attachment Metadata by ID

`read only` `REST`

- Catalog: `JIRA`
- Schema: `Core`
- Primary Keys: `id`
- Label: Attachment Metadata by ID

Can only retrieve data.

## API Source

- Endpoint: `/attachment/{id}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `id` | `varchar2` | [x] |  |  |

## Table Columns

The columns of the table `AttachmentMetadataById` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `author_accountId` | `varchar2` |  | [ ] |  | The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests. An account ID with value unknown is returned when there is missing data for a user, which only happens for deleted users. We recommend you treat this value as an error case if you need to access more information about the user. |
| `author_accountType` | `varchar2` |  | [ ] |  | The user account type. Can take the following values: atlassian regular Atlassian user account, app system account used for Connect applications and OAuth to represent external systems, customer Jira Service Desk account representing an external service desk |
| `author_active` | `char` |  | [ ] |  | Indicates whether the user is active. |
| `author_displayName` | `varchar2` |  | [ ] |  | The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. |
| `author_emailAddress` | `varchar2` |  | [ ] |  | The email address of the user. Depending on the user’s privacy setting, this may be returned as null. |
| `author_key` | `varchar2` |  | [ ] |  | This property is no longer available and will be removed from the documentation soon |
| `author_locale` | `varchar2` |  | [ ] |  | The locale of the user. Depending on the user’s privacy setting, this may be returned as null. |
| `author_name` | `varchar2` |  | [ ] |  | This property is no longer available and will be removed from the documentation soon. |
| `author_timeZone` | `varchar2` |  | [ ] |  | The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null. |
| `content` | `varchar2` |  | [ ] |  | The URL of the attachment. |
| `created` | `datetime` |  | [ ] |  | The datetime the attachment was created. |
| `filename` | `varchar2` |  | [ ] |  | The name of the attachment file. |
| `id` | `int64` |  | [ ] |  | The ID of the attachment. |
| `mimeType` | `varchar2` |  | [ ] |  | The MIME type of the attachment. |
| `self` | `varchar2` |  | [ ] |  | The URL of the attachment metadata details. |
| `size` | `int64` |  | [ ] |  | The size of the attachment. |
| `thumbnail` | `varchar2` |  | [ ] |  | The URL of a thumbnail representing the attachment. |

