# Demo API for Proof of Concept OAuth Logic App

**URL:** <https://community.auth0.com/t/demo-api-for-proof-of-concept-oauth-logic-app/102223>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [March 10, 2023, 3:15am UTC](https://community.auth0.com/t/demo-api-for-proof-of-concept-oauth-logic-app/102223 "2023-03-10T03:15:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![leftblank](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/leftblank/32/45307_2.png) [@leftblank](https://community.auth0.com/u/leftblank)\
**Post date:** [March 10, 2023, 3:15am UTC](https://community.auth0.com/t/demo-api-for-proof-of-concept-oauth-logic-app/102223/1 "2023-03-10T03:15:19Z")

</div>

Good afternoon,

I have been put onto a project to create a new Azure Logic App that will connect to an API, download data and put it into a flat file or database.  
The company that is going to be creating the API has not finished it yet so at the moment I am trying out some things to see how hard stuff is going to be to set up. I’ve been told that the API will be using OAuth (ClientID & Secret) and my assumption is that it will use Server to Server auth.

For the proof of concept I have set up an Auth0 server and am really pleased I was able to get an access token earlier today!

However the second part I am a bit stuck on.

The instructions I have been given from auth0 are to put in a path to my API

Can I can create a mock API using auth0 for this step?

curl --request GET   
–url http://path\_to\_your\_api/   
–header ‘authorization: Bearer **redacted** ’

Thank you in advance

LeftBlank

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 13, 2023, 1:16pm UTC](https://community.auth0.com/t/demo-api-for-proof-of-concept-oauth-logic-app/102223/3 "2023-03-13T13:16:22Z")

</div>

Hi @leftblank,

Welcome to the Auth0 Community!

I think you may be referring to the `API Identifier` (aka `audience`). This is simply an ID for your API. It doesn’t need to be a working URI – it acts more like an ID than an endpoint. Auth0 will never call this URI, and your Auth0 auth server simply uses it to set the audience parameter in the Access Token. [Helpful doc](https://auth0.com/docs/get-started/apis/api-settings#general-settings:~:text=Identifier%3A%20A%20unique%20identifier%20for%20your%20API.%20This%20value%20is%20set%20upon%20API%20creation%20and%20cannot%20be%20modified%20afterward.%20We%20recommend%20using%20a%20URL%2C%20but%20this%20doesn%27t%20have%20to%20be%20a%20publicly%20available%20URL%3B%20Auth0%20will%20not%20call%20your%20API%20at%20all)

> [@leftblank](#):
>
> Can I can create a mock API using auth0 for this step?

You cannot create a mock API using Auth0.

If that didn’t answer your question, please let me know!

---

<div class="post-metadata">

**Author:** ![leftblank](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/leftblank/32/45307_2.png) [@leftblank](https://community.auth0.com/u/leftblank)\
**Post date:** [March 13, 2023, 8:40pm UTC](https://community.auth0.com/t/demo-api-for-proof-of-concept-oauth-logic-app/102223/4 "2023-03-13T20:40:42Z")

</div>

Thanks Dan! That helps me. It also helps my understanding about how OAuth works etc. Thanks again.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 24, 2023, 1:49pm UTC](https://community.auth0.com/t/demo-api-for-proof-of-concept-oauth-logic-app/102223/5 "2023-04-24T13:49:51Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
