# API Management

After logging, you will be able to see "ADMIN" button on MOGOPLUS homepage. Upon clicking "ADMIN" button, an Admin will be able to view the "API Management" link.&#x20;

<figure><img src="/files/2TLxsUABnlduEdDVKP8J" alt=""><figcaption><p>API Management link</p></figcaption></figure>

Upon clicking "API Management" link, an Admin will be able to add client by clicking "ADD CLIENT" and then enter the API Client Name.

<figure><img src="/files/ai6Xb5K8e8ZLRGse7kR7" alt=""><figcaption><p>Add a client name </p></figcaption></figure>

On clicking save button, client\_id and client\_secret (which are required to use the api's) will be generated.

{% hint style="info" %}
**Important Note:**

<mark style="color:$tint;">Once you leave this screen, the generated credentials will no longer be available. Please download them before navigating away from this page</mark>
{% endhint %}

<figure><img src="/files/XdPcvQ0HNDpxH5IV4bVS" alt=""><figcaption><p>Success message confirming generation of client credentials</p></figcaption></figure>

On clicking the key icon, the client id and secret will be downloaded in the form of a JSON file to your machine.&#x20;

<figure><img src="/files/9a1z00HLv0Ukb5HeJPun" alt=""><figcaption><p>Client credentials-download option</p></figcaption></figure>

<figure><img src="/files/FVfsGAUIz1ywZa4XWOJB" alt=""><figcaption><p>Downloaded file</p></figcaption></figure>

The contents of the file will look like below:

`{`\
`"clientName": "Mogoplus_testaccount",`\
`"clientId": "782e12aa-23d3-11c0-8452-111114a14e13",`\
`"clientSecret": "aaaaaaaa-8b36-471f-c818-d1d2e46b20d4"`\
`}`

The above credentials (Client ID and Client Secret) must be used to invoke the Authentication API to obtain an access token, which should then be included when submitting data and fetching the report


---

# 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.mogoplus.ai/sandbox/instructions/api-management.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.
