> 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
