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

# Introduction

# Welcome to the Tirdad API

The Tirdad API lets you programmatically manage pricing, subscriptions, and billing for your SaaS application.

## Base URL

All API requests use the following base URL:

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

## Authentication

All API endpoints require authentication using an API key. Include your API key in the `x-api-key` header with every request.

```bash theme={null}
x-api-key: <your_api_key>
```

Create API keys in the Tirdad Dashboard. If you need help, email us at [support@tirdad.ai](mailto:support@tirdad.ai).

## Response Format

Successful API responses return JSON data directly. The response structure varies by endpoint—see individual endpoint documentation for details.

## Error Handling

The API uses standard HTTP status codes:

* `200` - Success
* `201` - Created
* `400` - Bad Request
* `401` - Unauthorized
* `404` - Not Found
* `409` - Conflict
* `429` - Too Many Requests
* `500` - Internal Server Error

For detailed error response formats and error codes, see the [Error Responses](/api-reference/error-responses) documentation.

## Need Help?

* Email: [support@tirdad.ai](mailto:support@tirdad.ai)
* Documentation Updates: [tech@tirdad.ai](mailto:tech@tirdad.ai)
