API Reference

The Apistaq management API lets you automate project creation, trigger spec syncs, and retrieve SDK build status programmatically.

Authentication

All API requests require a Bearer token from your Settings → API Keys page.

Authentication header
Authorization: Bearer atq_live_xxxxxxxxxxxx

Base URL

Base URL
https://api.apistaq.com/v1

Endpoints

GET /projects

List all projects in your account. Returns an array of project objects.

POST /projects

Create a new project. Supply name, source_type, and source_url in the JSON body.

POST /projects/{id}/sync

Trigger a manual spec sync for the given project. Returns a sync_id you can poll for status.

GET /projects/{id}/syncs/{sync_id}

Get the status of a sync operation. Status values: queued, running, success, failed.

GET /projects/{id}/sdks

List SDK releases for a project. Each entry includes language, version, publish status, and registry URL.