# Attachments retrieval not working

**URL:** <https://community.servicem8.com/t/attachments-retrieval-not-working/591>\
**Category:** API & SDK\
**Created:** [July 11, 2022, 10:50am UTC](https://community.servicem8.com/t/attachments-retrieval-not-working/591 "2022-07-11T10:50:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [July 11, 2022, 10:50am UTC](https://community.servicem8.com/t/attachments-retrieval-not-working/591/1 "2022-07-11T10:50:14Z")

</div>

**Originally posted by Kingsley Holdaway**

Hi, I am trying to setup an attachment retrieval API code.

I am getting a result 401 Authorization required.

I cant find the Auth code anywhere??
