Platform as a Service
Bearer Token
Heroku REST API
Cloud platform API for deploying and managing applications
Heroku is a cloud platform that enables developers to build, run, and operate applications entirely in the cloud. The Heroku Platform API allows programmatic access to manage apps, dynos, add-ons, builds, releases, and other platform resources. Developers use this API to automate deployments, scale applications, manage configurations, and integrate Heroku into their CI/CD pipelines.
Base URL
https://api.heroku.com
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /apps | List all applications accessible to the authenticated user |
| POST | /apps | Create a new application with specified configuration |
| GET | /apps/{app_id_or_name} | Retrieve details about a specific application |
| PATCH | /apps/{app_id_or_name} | Update application configuration and settings |
| DELETE | /apps/{app_id_or_name} | Delete an application and all associated resources |
| GET | /apps/{app_id_or_name}/dynos | List all dynos (containers) running for an application |
| POST | /apps/{app_id_or_name}/dynos | Create a new one-off dyno to run a command |
| POST | /apps/{app_id_or_name}/formation | Scale application dynos by changing formation |
| GET | /apps/{app_id_or_name}/config-vars | Retrieve all environment variables for an application |
| PATCH | /apps/{app_id_or_name}/config-vars | Update environment variables for an application |
| GET | /apps/{app_id_or_name}/releases | List all releases for an application |
| POST | /apps/{app_id_or_name}/builds | Create a new build from source code URL |
| GET | /apps/{app_id_or_name}/addons | List all add-ons provisioned for an application |
| POST | /apps/{app_id_or_name}/addons | Provision a new add-on for an application |
| GET | /apps/{app_id_or_name}/logs | Stream application logs in real-time |
Code Examples
curl -X GET https://api.heroku.com/apps \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/vnd.heroku+json; version=3"
Connect Heroku to AI
Deploy a Heroku MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Heroku through these tools:
deploy_application
Deploy a new version of an application from a Git repository or source tarball URL
scale_dynos
Scale application dynos up or down by modifying the formation (web, worker, etc.)
manage_config_vars
Read, update, or delete environment variables for applications
provision_addon
Provision and configure add-ons like databases, caching, monitoring, and logging services
query_logs
Retrieve and search application logs for debugging and monitoring purposes
Deploy in 60 seconds
Describe what you need, AI generates the code, and IOX deploys it globally.
Deploy Heroku MCP Server →