> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Admin API Quick Start

> Get started with the Mighty Networks Admin API in under 5 minutes

## Prerequisites

To use the Mighty Networks Admin API, you'll need:

1. A Mighty Networks account with a Network on the Scale, Growth or Mighty Pro plan
2. An API access token from your Network's admin panel

## Call the API

Here's a simple example that retrieves information about your authenticated access token:

<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.mn.co/admin/v1/networks/{network_id}/me \
    -H "Authorization: Bearer YOUR_API_TOKEN"
  ```

  ```javascript Node.js theme={null}
  const fetch = require('node-fetch');

  const NETWORK_ID = 'your_network_id';
  const API_TOKEN = 'your_api_token';

  fetch(`https://api.mn.co/admin/v1/networks/${NETWORK_ID}/me`, {
    headers: {
      'Authorization': `Bearer ${API_TOKEN}`
    }
  })
    .then(response => response.json())
    .then(data => console.log(data));
  ```

  ```python Python theme={null}
  import requests

  NETWORK_ID = "your_network_id"
  API_TOKEN = "your_api_token"

  response = requests.get(
      f"https://api.mn.co/admin/v1/networks/{NETWORK_ID}/me",
      headers={"Authorization": f"Bearer {API_TOKEN}"}
  )

  print(response.json())
  ```
</CodeGroup>

Replace `{network_id}` with your network ID and `YOUR_API_TOKEN` with your actual API token.

### Example Response

```json theme={null}
{
  "id": "12345",
  "name": "John Doe",
  "email": "john@example.com",
  "network_id": "67890",
  "role": "admin",
  "created_at": "2024-01-15T10:30:00Z"
}
```

## Next steps

<CardGroup cols={2}>
  <Card title="Admin API Reference" icon="code" href="/admin-api">
    Explore all available endpoints and their parameters.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Learn about authentication and API token management.
  </Card>

  <Card title="Key Concepts" icon="lightbulb" href="/networks">
    Understand networks, spaces, members, and core concepts.
  </Card>

  <Card title="Rate Limits" icon="gauge" href="/admin-api#rate-limits">
    Understand API rate limits and best practices.
  </Card>
</CardGroup>
