# Discourse API - Unable to query certain endpoints

**URL:** https://meta.discourse.org/t/discourse-api-unable-to-query-certain-endpoints/129863
**Category:** Support
**Created:** [September 30, 2019, 2:34pm UTC](https://meta.discourse.org/t/discourse-api-unable-to-query-certain-endpoints/129863 "2019-09-30T14:34:04Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Ryan\_NR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_nr/32/133654_2.png) [@Ryan\_NR](https://meta.discourse.org/u/Ryan_NR)
#### Post date: [October 1, 2019, 1:14pm UTC](https://meta.discourse.org/t/discourse-api-unable-to-query-certain-endpoints/129863/4 "2019-10-01T13:14:49Z")

</div>

Could be - I’m not sure - The set up I have is just the Postman collection downloaded from here:

> [@Discourse REST API Documentation](https://meta.discourse.org/t/discourse-api-documentation/22706):
>
> Discourse API Please view the Discourse API Documentation site for detailed info: [https://docs.discourse.org](https://docs.discourse.org)information_source Authentication API requests must use HTTP header based authentication. Pass your Api-Key and Api-Username as HTTP headers. Authentication via query parameters or request body is not supported (this was removed in April 2020). Please see the example cURL request below. The only API endpoints that continue to support credentials in query parameters are requests to…

I just changed out the API Key, Username, and Base URL.

Is this collection no longer valid?

---

_[View the full topic](https://meta.discourse.org/t/discourse-api-unable-to-query-certain-endpoints/129863)._
