# Quick Start

## API Integration

### API Documentation and Sample Code

{% embed url="<https://github.com/Playma-Co-Ltd/maiagent-api-examples/>" %}

## Base API Endpoint

```
https://api.maiagent.ai/api/v1/
```

## Authentication

All API requests require authentication using an API key. Please include the API key in the request header:

To obtain your "API Key", log in to the MaiAgent system backend and follow these steps:

1. Click on your "Username" in the top right corner.
2. Click on "Account".
3. You can then view your "API Key".

```
Authorization: Api-Key <Your API Key>
```

<figure><img src="https://3415477754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNBTi475lqozGpB7xObpE%2Fuploads%2Fgit-blob-80dd2f4698ec1ee60b09c97be27b5e97fda5cc58%2F%E6%88%AA%E5%9C%96%202024-12-02%20%E6%99%9A%E4%B8%8A10.25.06.png?alt=media" alt=""><figcaption><p>API Key</p></figcaption></figure>
