Skip to main content

API Reference

Base URL: https://app.zupertry.com All /v1/* endpoints are authenticated with an API key:
Use a test key (zt_test_sk_...) for development — jobs are processed with a mock output and no credits are consumed.

POST /v1/tryon

Submit a virtual try-on job. Returns immediately with a job ID. The job is processed asynchronously. Request body Response 202
Errors Example

GET /v1/jobs/

Get a single job by ID. Path parameters Response 200
Errors Example

GET /v1/jobs

List jobs for your account, newest first. Query parameters Response 200
Example

DELETE /v1/jobs/

Cancel a pending job and refund the reserved credit. Only jobs with status: pending can be cancelled. Once a job moves to processing, it cannot be stopped. Path parameters Response 200
Errors Example

GET /v1/workspaces

List all active workspaces for your account. Response 200
Example

GET /v1/account

Return account info: org name, plan, credit balance, and region. Response 200
Example

Authentication

All /v1/* endpoints use API key authentication:
Manage your API keys in the console under Settings → API Keys.

Rate limits

Default rate limit: 60 requests per minute per organisation. If exceeded, the API returns:
Check the Retry-After response header for the number of seconds to wait. Contact sales for higher limits.

Pagination

List endpoints use cursor-based pagination. The cursor is opaque — do not decode or construct it manually.