API Reference
SmoothDeploy HTTP API overview: base URL, auth headers, and request format. Use API keys to trigger runs, read results, and manage email inboxes.
The SmoothDeploy API lets you trigger test runs, read results, and work with email inboxes from any HTTP client. Every request is authenticated with an API key you create in the console. To use SmoothDeploy from an AI agent or IDE, connect via MCP instead — see Connect an MCP Client.
Base URL
https://api.smoothdeploy.comEvery operation is an action at /v1/actions/<resource.verb>, for example POST /v1/actions/tests.run-many. The HTTP method is fixed per action and shown in each reference entry.
Authentication
Send your API key in the x-api-key header on every request. Most actions also require x-project-id when the operation is project-scoped. See Authentication for the full header reference.
Request and Response Format
GET actions take their inputs as query parameters. All other actions, including DELETE, take a JSON body; set Content-Type: application/json. Step files are uploaded separately, see step-files.upload-urls.
Most actions wrap their payload in a data field:
{ "data": { ... } }List actions that do not paginate return an array under data:
{ "data": [ ... ] }Operations that produce no payload (e.g. delete) return:
{ "data": null }Pagination
List actions paginate with page and limit; projects.list and branches.list accept them but return no pagination object. Defaults:
| Parameter | Type | Default | Notes |
|---|---|---|---|
page | integer | 0 | Zero-based page index |
limit | integer | 50 (tests.list, shared-steps.list), 20 (test-runs.list, schedules.list), 100 (projects.list, branches.list), 200 (tags.list, api-keys.list, webhooks.list, email-inboxes.list, test-revisions.list) | Items per page. Maximum 500 for test-runs.list, 100 for schedules.list, 1000 for the others, including all 200-default lists |
The paginated actions return a pagination object alongside the result set:
{
"pagination": {
"page": 0,
"limit": 20,
"total": 143,
"totalPages": 8,
"hasMore": true
}
}projects.list and branches.list return the requested page without a pagination object.
Error Responses
All errors follow the same shape:
{ "error": "Human-readable description of the error" }| Status | Meaning |
|---|---|
400 | Invalid request — missing field, failed validation, or a business rule violation (e.g. inbox limit reached). Also Invalid x-project-id or x-branch-id when a header names a project or branch outside the key's organization, and x-project-id header required on project-scoped actions |
401 | Missing or invalid API key |
403 | Insufficient scope, an action outside the public API, LICENSE_REQUIRED, a request from an IP outside the key's allowlist, or a step that references a secret |
404 | Resource not found in your organization |
405 | Wrong HTTP method for the action (for example GET on a POST action) |
409 | Conflict, for example a run for this test is already active or an edit conflict |
429 | Rate limit exceeded; see the Retry-After header |
500 | Unexpected server error |
Scopes
Each API key carries a set of scopes that control which actions it can reach. See Scopes for the full reference.
API Reference Pages
- Quickstart — create, run, poll, and export in one script
- Authentication — headers, key format, security guidance
- Scopes — every scope and the actions each unlocks
- OpenAPI and Schemas — machine-readable spec and JSON Schema
- Projects and Branches — list projects and branches
- Tests — create, read, update, run, and export tests
- Steps — read and rearrange test steps
- Shared Steps — read, update and delete shared steps
- Schedules — read, trigger, enable and disable schedules
- Test Runs — list runs, read results, rerun, cancel
- Email Inboxes — list inboxes and read messages
- Webhooks — receive signed HTTP callbacks when runs finish