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

# Introduction

> Official API documentation for UGC Inc - Automate TikTok and Instagram content creation

## Welcome to UGC Inc API

The UGC Inc API allows you to programmatically manage social media accounts, create and schedule posts, track statistics, and automate account warming tasks for TikTok and Instagram.

## Base URL

All API requests should be made to:

```
https://api.ugc.inc
```

## Authentication

All API endpoints require authentication using an API key. Include your API key in the request headers:

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

### Getting Your API Key

To access accounts and receive an API key:

1. Visit [ugc.inc](https://ugc.inc)
2. **Schedule a call** with our team
3. After your call, you'll receive access to accounts and your API key

<Warning>
  **Keep your API key secure!** Never commit it to version control or expose it in client-side code.
</Warning>

## Installation

### NPM Package (Recommended)

We provide an official TypeScript/JavaScript client with full type safety:

```bash theme={null}
npm install ugcinc
```

```typescript theme={null}
import { UGCClient } from 'ugcinc';

const client = new UGCClient({
  apiKey: 'your-api-key-here'
});
```

### Direct API Calls

You can also make direct HTTP requests to the API endpoints using any HTTP client.

## Next Steps

Explore the documentation to learn more:

* **Response** - Learn about the consistent response format and error handling
* **Data Structures** - Understand the core data models (Account, Post, Task, Stats)
* **Posts** - Create and schedule content
* **Accounts** - Manage social media accounts
* **Render** - Generate videos and images programmatically
* **Statistics** - Track performance metrics
* **Tasks** - Automate account activities
