APIHub
Back to Explore

Heroku

Provides endpoints to retrieve and modify account information and to fetch the API schema.

Development
bearer
HTTPS
CORS: Yes
Description enriched
Visit official documentation

Latency

2189ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/account

Info for account.

  • Authorization (header, required) — Bearer token for authentication
  • Accept (header, required) — API version header, e.g. application/vnd.heroku+json; version=3
PATCH

/account

Update account.

  • Authorization (header, required) — Bearer token for authentication
  • Accept (header, required) — API version header, e.g. application/vnd.heroku+json; version=3
  • Content-Type (header, required) — Content type of request body, must be application/json
GET

/schema

Retrieve the API schema.

  • Authorization (header) — Bearer token for authentication
  • Accept (header, required) — API version header, e.g. application/vnd.heroku+json; version=3

3 endpoints auto-detected

Authentication

This API uses Bearer token authentication — pass your token in the Authorization header.

curl -X GET \
  "https://devcenter.heroku.com/articles/platform-api-reference//account" \
  -H "Authorization: Bearer YOUR_TOKEN"

devcenter.heroku.com · HTTPS only