Skip to content

API Reference

The Acme Platform API is a RESTful interface for managing projects, deployments, configurations, and users programmatically. All endpoints return JSON and require authentication via API key or OAuth 2.0 bearer token.

https://api.acme-platform.com/v1

Include your API key in the Authorization header with every request:

Terminal window
Authorization: Bearer acme_sk_live_abc123

See the Authentication guide for details on obtaining and managing keys.

HeaderRequiredDescription
AuthorizationYesBearer token (API key or OAuth access token)
Content-TypeFor POST/PUTapplication/json
AcceptNoapplication/json (default)
GET /v1/projects

Returns a paginated list of projects in the authenticated account.

Response:

{
"data": [
{
"id": "proj_abc123",
"name": "my-project",
"created_at": "2026-01-15T10:30:00Z",
"status": "active"
}
],
"pagination": {
"page": 1,
"per_page": 20,
"total": 1
}
}
POST /v1/projects

Request body:

{
"name": "my-new-project",
"deploy_target": "cloudflare-workers"
}
POST /v1/projects/:project_id/deployments

Request body:

{
"environment": "production",
"branch": "main"
}
GET /v1/projects/:project_id/deployments

All errors follow a consistent structure:

{
"error": {
"code": "not_found",
"message": "The requested resource does not exist.",
"status": 404
}
}

Official client libraries are available for popular languages:

  • JavaScript/TypeScript: npm install @acme/sdk
  • Python: pip install acme-sdk
  • Go: go get github.com/acme-platform/sdk-go