# Fetch attachment file content

**URL:** <https://community.hubspot.com/t/fetch-attachment-file-content/119092>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [October 24, 2024, 12:25pm UTC](https://community.hubspot.com/t/fetch-attachment-file-content/119092 "2024-10-24T12:25:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 24, 2024, 6:09pm UTC](https://community.hubspot.com/t/fetch-attachment-file-content/119092/2 "2024-10-24T18:09:08Z")

</div>

Hey, @dipeshpatel👋 Quick question — will it work when you test from the [**endpoint page**](https://developers.hubspot.com/docs/api/files/files) or using Postman?

I ran a quick test using a Contact who has an image saved as an attachment on their record and received a signed URL as expected.

Contact with attachment:

 ![CleanShot 2024-10-24 at 12.06.52@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/3/32c1e45dbc6b37e1c8b3aaf6424f35e724ae44af.png)

Request:

```lia-code-sample
curl --request GET \
 --url https://api.hubapi.com/files/v3/files/100185404582/signed-url \
 --header 'authorization: Bearer YOUR_ACCESS_TOKEN'

```

Response:

```lia-code-sample
HTTP 200

{
 "url": "https://22245342.cdnp1.hubspotusercontent-na1.net/hubfs/22245342/ABC123.png?Expires=1729879308&Signature=A_VERY_LONG_RESPONSE",
 "expiresAt": "2024-10-25T18:01:48.857Z",
 "name": "ABC123",
 "extension": "png",
 "type": "IMG",
 "size": 32528,
 "height": 597,
 "width": 497
}

```

Talk soon! — Jaycee

---

_[View the full topic](https://community.hubspot.com/t/fetch-attachment-file-content/119092)._
