Skip to main content

Welcome to the Flexprice API

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

Base URL

All API requests must use one of the following base URLs:
  • US Region: https://us.api.flexprice.io/v1
  • India Region: https://api.cloud.flexprice.io/v1
Select your preferred region using the server selector in the API playground:
Region Selector

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 Flexprice Dashboard. If you need help, email us at [email protected].

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?