> For the complete documentation index, see [llms.txt](https://create.cloud4wi.ai/dev-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://create.cloud4wi.ai/dev-hub/myapps/myapps-apis-and-sdk/rest-apis-in-myapp.md).

# REST APIs in MyApp

### REST APIs in MyApps

MyApps Context APIs and Access Journey SDK provide you all the Context info that allows you to personalize and localize the content and the experience.

However, you might need additional flexibility of using all the endpoints of the Cloud4Wi REST APIs. Instead of hardcoding the API Key and Secret in your app, you can retrieve a new set of API credentials directly usign the **sessionkey** and the App Secret associated with your app.

The API endpoint is:

```
https://volare.cloud4wi.com/controlpanel/1.0/bridge/sessions/{SESSION_KEY}/{App_Secret}
```

#### Response on success

```
{
  "status":"success",
  "data":{
    "key":"MYAPPS_5b9cc0fa3bb2_444251015466",
    "secret":"f3f4232dd24f0a7ad30c677c9ad4e04d"
  }
}
```

#### Response on error

```
{
  "status":"error",
  "code":404,"message":"Session token not found"
}
```

#### Workflow

![](https://uploads-ssl.webflow.com/5eb42691bf103600ee3afc30/5eb9cf84945ba66bd71d165a_apiworkflow.jpeg)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://create.cloud4wi.ai/dev-hub/myapps/myapps-apis-and-sdk/rest-apis-in-myapp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
