REST docs for scoped creative-pack keys.

Connect a server integration with scoped keys, the Swagger-compatible OpenAPI schema, and the paid creative-pack request loop.

Runtime contract

Originhttps://formatry.cc

OpenAPI/api/v1/openapi.json

Version2026-06-18

AuthAuthorization: Bearer <api-key> or X-API-Key: <api-key>

Designer handoff

CreateCreate a scoped server key from account access or with an existing management key.

StoreKeep the secret in a password manager or server secret store; never commit it or paste it into client code.

LimitGive the designer only the scopes needed for balance, uploads, jobs, artifacts, and usage checks.

RotateRevoke and create a new key when the integration owner changes.

Open account keys

Swagger and REST

Import the schema, then test with a balance request.

Swagger/OpenAPI URL
https://formatry.cc/api/v1/openapi.json

Import this URL into Swagger UI, Postman, Insomnia, or OpenAPI codegen.
FORMATRY_CC_ORIGIN=https://formatry.cc
FORMATRY_CC_API_KEY=<secret key shown once on creation>

curl "$FORMATRY_CC_ORIGIN/api/v1/balance" \
  -H "Authorization: Bearer $FORMATRY_CC_API_KEY"

REST surface covered by the current OpenAPI schema.

POST/api/v1/codex/trial-key

Retired anonymous trial-key endpoint.

Schema
GET/api/v1/ads/accounts

List saved advertising accounts in the authenticated workspace (private beta).

Scoped key
GET/api/v1/social/projects/{projectId}/drafts

Read project planning drafts for a civil-date range.

Scoped key
POST/api/v1/social/projects/{projectId}/drafts

Create a planning draft (Stage only).

Scoped key
GET/api/v1/social/projects/{projectId}/drafts/{draftId}

Read a complete planning draft (Stage only).

Scoped key
PATCH/api/v1/social/projects/{projectId}/drafts/{draftId}

Save a draft at its expected revision (Stage only).

Scoped key
DELETE/api/v1/social/projects/{projectId}/drafts/{draftId}

Delete a draft at its expected revision (Stage only).

Scoped key
GET/api/v1/social/projects/{projectId}/deliveries

Read the shared project calendar.

Scoped key
POST/api/v1/social/projects/{projectId}/deliveries

Schedule a draft for a connected Telegram destination.

Scoped key
POST/api/v1/social/projects/{projectId}/deliveries/{intentId}/cancel

Request cancellation at an expected revision.

Scoped key
POST/api/v1/social/projects/{projectId}/deliveries/{intentId}/retry

Explicitly retry a confirmed non-delivery.

Scoped key
POST/api/v1/social/projects/{projectId}/history/import

Import non-dispatchable source history.

Scoped key
GET/api/v1/social/accounts

List connected social accounts for the authenticated workspace.

Scoped key
GET/api/v1/balance

Read the workspace credit balance for the API key.

Scoped key
GET/api/v1/usage

List recent workspace usage ledger events.

Scoped key
GET/api/v1/api-keys

List workspace API keys without exposing secrets.

Scoped key
POST/api/v1/api-keys

Create a workspace API key and return its secret once.

Scoped key
DELETE/api/v1/api-keys/{apiKeyId}

Revoke one workspace API key.

Scoped key
GET/api/v1/assets

List workspace assets visible to new generation jobs.

Scoped key
GET/api/v1/assets/{assetId}

Read one workspace asset by id.

Scoped key
DELETE/api/v1/assets/{assetId}

Soft-delete one workspace asset.

Scoped key
POST/api/v1/assets/uploads

Create an upload intent for a workspace asset.

Scoped key
POST/api/v1/assets/uploads/transfer

Prepare a checksum-bound native asset upload.

Scoped key
POST/api/v1/assets/uploads/{uploadId}/complete

Verify a previously uploaded object and mark the asset ready.

Scoped key
PUT/api/v1/assets/uploads/{uploadId}/object

Upload bytes for a pending workspace asset.

Scoped key
PUT/api/v1/assets/upload-object

Upload bytes through the proxy URL returned by an upload intent.

Scoped key
GET/api/v1/previews/quota

Read the effective protected-preview allowance and policy.

Scoped key
POST/api/v1/previews

Create one bounded protected PNG preview.

Scoped key
POST/api/v1/studio/projects/start

Create a named project and its first blank raster creative.

Scoped key
GET/api/v1/studio/projects

List Studio projects for the authenticated workspace.

Scoped key
GET/api/v1/studio/projects/{projectId}

Read one Studio project and its workspace-owned creatives.

Scoped key
POST/api/v1/studio/projects/{projectId}/creatives

Add an independent blank raster creative to an active project.

Scoped key
GET/api/v1/studio/projects/{projectId}/creatives/{creativeId}

Read one exact Studio creative revision.

Scoped key
GET/api/v1/studio/projects/{projectId}/creatives/{creativeId}/variants

List a creative's primary and named variants.

Scoped key
GET/api/v1/studio/projects/{projectId}/creatives/{creativeId}/variants/{variantId}

Read one named creative variant.

Scoped key
GET/api/v1/studio/projects/{projectId}/bloop-scenes

List the Bloop scenes in a project.

Scoped key
GET/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}

Read a saved Bloop scene and media metadata.

Scoped key
PUT/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}

Save one Bloop scene revision.

Scoped key
PATCH/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}

Rename a saved Bloop scene.

Scoped key
DELETE/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}

Delete a saved Bloop scene.

Scoped key
POST/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}/save-intent

Register an exact Bloop scene save before sending it.

Scoped key
POST/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}/save-resolution

Resolve an uncertain Bloop scene save.

Scoped key
GET/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}/media/{mediaId}

Read one saved scene media file.

Scoped key
POST/api/v1/bloop/uploads

Start or recover a scene media upload.

Scoped key
POST/api/v1/bloop/uploads/{stageId}/parts/{partNumber}

Authorize a checksum-bound upload part.

Scoped key
POST/api/v1/bloop/uploads/{stageId}/complete

Complete and verify a staged media upload.

Scoped key
DELETE/api/v1/bloop/uploads/{stageId}

Cancel an unpublished scene media upload.

Scoped key
POST/api/v1/studio/projects/{projectId}/creatives/{creativeId}/agent-instance

Create an ephemeral identity for this API agent's action visualizations.

Scoped key
POST/api/v1/studio/projects/{projectId}/creatives/{creativeId}/commands

Apply one atomic typed command to an exact creative revision.

Scoped key
POST/api/v1/studio/projects/{projectId}/creatives/{creativeId}/preview

Create a protected preview from one exact saved Studio revision.

Scoped key
POST/api/v1/studio/projects/{projectId}/creatives/{creativeId}/animation-preview

Create a protected moving WebP from the saved Animation revision.

Scoped key
POST/api/v1/studio/projects/{projectId}/creatives/{creativeId}/export-quotes

Quote a paid export from one exact saved Studio revision.

Scoped key
GET/api/v1/studio/projects/{projectId}/creatives/{creativeId}/export-quotes/{quoteId}

Read the status of an export confirmation.

Scoped key
POST/api/v1/studio/projects/{projectId}/creatives/{creativeId}/export-quotes/{quoteId}/confirm

Confirm one server-issued saved-revision export quote.

Scoped key
POST/api/v1/studio/projects/{projectId}/creatives/{creativeId}/export-quotes/{quoteId}/confirm-included

Confirm a quoted Images or Animation export against existing account funds.

Scoped key
GET/api/v1/studio/presets

Read the effective Studio preset library without changing it.

Scoped key
GET/api/v1/studio/brand-kit

Read the workspace Brand Kit.

Scoped key
GET/api/v1/jobs

List workspace-owned generation jobs.

Scoped key
POST/api/v1/jobs

Create a paid pack request and reserve workspace balance once.

Scoped key
GET/api/v1/jobs/{jobId}

Read workspace-owned generation job status.

Scoped key
POST/api/v1/jobs/{jobId}/cancel

Cancel a queued generation job and release reserved balance.

Scoped key
GET/api/v1/artifacts/{artifactId}

Read the artifact family for a workspace-owned generation job.

Scoped key
GET/api/v1/artifacts/{artifactId}/download

Get short-lived signed artifact download information.

Scoped key
POST/api/v1/artifacts/{artifactId}/files/{fileId}/transfer

Prepare a native download capability for one ready artifact file.

Scoped key
GET/api/v1/artifacts/{artifactId}/files/{fileId}/download

Download one ready artifact file through scoped API authentication.

Scoped key