REST API endpoints for integrating Amemis into your workflow.
All API requests require a Bearer token in the Authorization header. Generate tokens from the Amemis dashboard under API Keys.
Authorization: Bearer amemis_sk_xxxxxxxxxxxxxxxxManage your services programmatically.
List all services in your account. Returns an array of service objects with id, name, type, status, and URL.
Create a new service. Requires name, type (static_site | web_service | worker), and repo fields.
Delete a service by ID. This will remove all associated deployments and domains.
Trigger and monitor deployments.
Trigger a new deployment for a service. Optionally specify a branch or commit SHA.
Get the status of a deployment. Returns status (building | ready | failed), timestamps, and logs URL.
Manage custom domains for your services.
Add a custom domain. Provide domain (e.g. example.com) and Amemis will provision a TLS certificate.
Remove a custom domain. TLS certificates are revoked automatically.
API requests are rate-limited to ensure fair usage across all customers.
Rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset) are included in every response. Exceeding the limit returns a 429 Too Many Requests response.