Account and API
API keys and the REST API
Automate CloudPilot from scripts and CI with per-user API keys.
Everything in the dashboard is available over the CloudPilot REST API (Business plan) and through the CloudPilot MCP server (Pro and Business).
Create an API key
- Go to Settings → API keys → Create API key.
- Give it a Name that says what uses it, for example "GitHub Actions deploy".
- Choose when it Expires (30 days, 90 days, 1 year or never), and whether it is Read-only.
- Copy the key. It is shown only once.
Use the key
Send the key as a bearer token in the Authorization header to
https://api.cloudpilot.app:
curl -H "Authorization: Bearer $CLOUDPILOT_API_KEY" https://api.cloudpilot.app/…
The full endpoint reference is in the API documentation. You can revoke a key at any time from the same settings page.
Still stuck? Email hello@cloudpilot.app and we'll help.