# API Returning Cloudflare Challenge

**URL:** <https://www.patreondevelopers.com/t/api-returning-cloudflare-challenge/2025>\
**Category:** API Feedback\
**Created:** [July 9, 2019, 3:13am UTC](https://www.patreondevelopers.com/t/api-returning-cloudflare-challenge/2025 "2019-07-09T03:13:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cynicaloptimist](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/cynicaloptimist/32/440_2.png) [@cynicaloptimist](https://www.patreondevelopers.com/u/cynicaloptimist)\
**Post date:** [July 9, 2019, 3:13am UTC](https://www.patreondevelopers.com/t/api-returning-cloudflare-challenge/2025/1 "2019-07-09T03:13:56Z")

</div>

I just started getting a Cloudflare Challenge when requesting my campaign info at this route:  
[https://api.patreon.com/campaigns/716070/posts](https://api.patreon.com/campaigns/716070/posts)

The response I get is this:

```auto
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta name="captcha-bypass" id="captcha-bypass" />
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>

<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script><!--<![endif]-->
<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script><!--<![endif]-->

```

My app makes a request to this url to provide a link to my latest post. Is this normal? Do I now need to include an API key with the request?

---

<div class="post-metadata">

**Author:** ![phildini](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/phildini/32/112_2.png) [@phildini](https://www.patreondevelopers.com/u/phildini)\
**Post date:** [July 9, 2019, 5:46pm UTC](https://www.patreondevelopers.com/t/api-returning-cloudflare-challenge/2025/2 "2019-07-09T17:46:09Z")

</div>

Hi! Unfortunately, that’s not a valid Patreon API endpoint. That endpoint is part is part of our internal API and we make no guarantees about it’s availability to the public.

Our official API endpoints are documented here: [https://docs.patreon.com/#introduction](https://docs.patreon.com/#introduction)

---

<div class="post-metadata">

**Author:** ![cynicaloptimist](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/cynicaloptimist/32/440_2.png) [@cynicaloptimist](https://www.patreondevelopers.com/u/cynicaloptimist)\
**Post date:** [July 10, 2019, 6:35am UTC](https://www.patreondevelopers.com/t/api-returning-cloudflare-challenge/2025/3 "2019-07-10T06:35:20Z")

</div>

Ok, thanks, that helps. I’ll update my app to use the correct endpoint. This did cause some downtime for my app this morning until I could deploy a workaround. The issue was mostly my fault, because the app couldn’t tolerate repeated failed requests against that endpoint.

---

<div class="post-metadata">

**Author:** ![cynicaloptimist](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/cynicaloptimist/32/440_2.png) [@cynicaloptimist](https://www.patreondevelopers.com/u/cynicaloptimist)\
**Post date:** [July 12, 2019, 4:35am UTC](https://www.patreondevelopers.com/t/api-returning-cloudflare-challenge/2025/4 "2019-07-12T04:35:55Z")

</div>

Hi @phildini,

I’ve been looking at the API documentation and scratching my head, because there doesn’t seem to be any way for me to retrieve campaign post info. This is a huge problem for me if it’s not currently supported, because being able to display the title of my latest post is an extremely important part of my Patron acquisition strategy. The endpoint I described was working until now. Am I missing some supported way to retrieve post data?

Thanks!
