# Access deleted topics from the API

**URL:** <https://meta.discourse.org/t/access-deleted-topics-from-the-api/93920>\
**Category:** Support\
**Created:** [August 4, 2018, 2:40pm UTC](https://meta.discourse.org/t/access-deleted-topics-from-the-api/93920 "2018-08-04T14:40:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![felixoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/felixoi/32/331959_2.png) [@felixoi](https://meta.discourse.org/u/felixoi)\
**Post date:** [August 4, 2018, 2:40pm UTC](https://meta.discourse.org/t/access-deleted-topics-from-the-api/93920/1 "2018-08-04T14:40:57Z")

</div>

Hello,

I’m trying to access a deleted topic which I can access trough the webinterface with the admin account using the api. I’m using a api token of the admin account, so the account should have the right permissions. Anyway, trying to access to the topic with the api gives back an 404 error.

Is there anyway to access the topic using the api?

Thanks.

---

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [August 6, 2018, 7:33am UTC](https://meta.discourse.org/t/access-deleted-topics-from-the-api/93920/2 "2018-08-06T07:33:36Z")

</div>

> [@felixoi](#):
>
> I’m using a api token of the admin account

Are you also passing the username of the admin account?

---

<div class="post-metadata">

**Author:** ![felixoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/felixoi/32/331959_2.png) [@felixoi](https://meta.discourse.org/u/felixoi)\
**Post date:** [August 6, 2018, 7:45am UTC](https://meta.discourse.org/t/access-deleted-topics-from-the-api/93920/3 "2018-08-06T07:45:14Z")

</div>

> [@fefrei](#):
>
> Are you also passing the username of the admin account?

Yes, I am. That’s what’s irritating me.

---

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [August 6, 2018, 8:02am UTC](https://meta.discourse.org/t/access-deleted-topics-from-the-api/93920/4 "2018-08-06T08:02:20Z")

</div>

I’d recommend that you inspect both the request you send and the one your browser sends (I use [Fiddler](https://www.telerik.com/fiddler) for that) and carefully look for differences.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [March 10, 2021, 1:01am UTC](https://meta.discourse.org/t/access-deleted-topics-from-the-api/93920/5 "2021-03-10T01:01:43Z")

</div>


