> For the complete documentation index, see [llms.txt](https://docs.mogoplus.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mogoplus.ai/mogoplus/api-management.md).

# API Management

Helps you with the steps involved in getting the required credentials to invoke Authentication api

If you are an Admin, 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="https://2770769604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHww7AqoydMJJa34LxkC%2Fuploads%2Fzty8YuS6Ee2yDfW5sGGK%2Fimage.png?alt=media&amp;token=609ca672-e5e8-4528-aacb-6dc7b23145f6" 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" link and then entering the API Client Name.

<figure><img src="https://2770769604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHww7AqoydMJJa34LxkC%2Fuploads%2FsrQNhBxiGIcGIIU3Ve8R%2Fimage.png?alt=media&amp;token=8fc1d7f9-0b06-42d9-a560-fab8344437ae" 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:$warning;">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="https://2770769604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHww7AqoydMJJa34LxkC%2Fuploads%2FxW18kEjUoRPePLH4vqDW%2Fimage.png?alt=media&amp;token=00ebf7df-ff90-4c34-b5f3-9257c232479e" 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="https://2770769604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHww7AqoydMJJa34LxkC%2Fuploads%2FbZ3E3XIoCWx6ab97Urbs%2Fimage.png?alt=media&amp;token=6dd6a8a9-4172-4dd5-9ce0-356bc6bc3b8a" alt=""><figcaption><p>Client credentials-download option</p></figcaption></figure>

<figure><img src="https://2770769604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHww7AqoydMJJa34LxkC%2Fuploads%2FdtEN6A379nlo5yp856oD%2Fimage.png?alt=media&amp;token=a65b2eeb-dbed-478d-9171-654b6991f76f" 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](/mogoplus/api-reference/authentication.md#how-to-authenticate) to obtain an access token, which should then be included when submitting data and fetching the report


---

# 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://docs.mogoplus.ai/mogoplus/api-management.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.
