Skip to main content

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.
x-api-key: <your_api_key>
Create API keys in the Tirdad Dashboard. If you need help, email us at 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 documentation.

Need Help?