# REST JSON

**GoAffPro** provides you with the option to allow the app to call functions on your API.

To call functions on your API, go to the **SDK Settings** section in the **Settings** tab of the GoAffPro admin panel.

<figure><img src="/files/cNVJCjIOKnS5YFJJWMWx" alt=""><figcaption><p>Settings > SDK Settings</p></figcaption></figure>

Here, go to the REST JSON section.

<figure><img src="/files/XaOUZCKhPeOn7uCOWfyY" alt=""><figcaption><p>REST JSON</p></figcaption></figure>

Now, click on **Edit JSON Spec**.

<figure><img src="/files/n1yg1h30i5Un5W6zMOKm" alt=""><figcaption><p>Click on Edit JSON Spec</p></figcaption></figure>

You can edit the REST JSON Spec to call functions of your API.

<figure><img src="/files/sVrK9GG5lNdIi5s4BTO7" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.goaffpro.com/how-tos/manual-integration/custom-sdk-integration/sdk-settings/rest-json.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
