SmoothDeploy Docs
API Reference

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.com

Every 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:

ParameterTypeDefaultNotes
pageinteger0Zero-based page index
limitinteger50 (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" }
StatusMeaning
400Invalid 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
401Missing or invalid API key
403Insufficient 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
404Resource not found in your organization
405Wrong HTTP method for the action (for example GET on a POST action)
409Conflict, for example a run for this test is already active or an edit conflict
429Rate limit exceeded; see the Retry-After header
500Unexpected 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