Overview
Tented’s public API lets you manage the full lifecycle of tents from your own systems without using the app UI. The current public surface supports:- Creating a tent from a prompt
- Creating a tent from an approved template
- Uploading files before generation
- Editing an existing tent
- Publishing and unpublishing tents
- Creating bulk tent jobs from one approved template
- Polling tent and bulk-job status
- Reading tent and workspace analytics
- Deleting tents by ID or alias
- Creating, updating, and deleting contacts in batches
Public generation endpoints are asynchronous. Create, edit, and bulk-create requests return immediately after admission, and you then poll status endpoints to track progress.
Base URL
Use the production base URL:/v1 prefix:
POST /v1/tentsPOST /v1/tents/{tentId}/assetsPOST /v1/tents/{tentId}/editPOST /v1/tents/{tentId}/publishPOST /v1/tents/{tentId}/unpublishDELETE /v1/tents/{identifier}POST /v1/tents/bulkGET /v1/bulk-jobs/{bulkJobId}GET /v1/tents/{tentId}GET /v1/analytics/tentGET /v1/analytics/orgPOST /v1/contactsPOST /v1/contacts/updatePOST /v1/contacts/deleteDELETE /v1/contacts
Authentication
Authenticate every request with a bearer API key:Set up Authentication
Learn how API keys work, where to create them, and which headers to send.
Common Workflows
1. Single-tent flow
- Optionally upload files with
POST /v1/tents/new/assetsorPOST /v1/tents/{tentId}/assets - Create the first version with
POST /v1/tents - Poll progress with
GET /v1/tents/{tentId} - Iterate later with
POST /v1/tents/{tentId}/edit - Publish or unpublish manually with
POST /v1/tents/{tentId}/publishandPOST /v1/tents/{tentId}/unpublish
2. Bulk template flow
- Start a bulk job with
POST /v1/tents/bulk - Poll aggregate progress with
GET /v1/bulk-jobs/{bulkJobId}
3. Measurement and cleanup
- Read tent-level analytics with
GET /v1/analytics/tent - Read workspace-wide analytics with
GET /v1/analytics/org - Delete a tent with
DELETE /v1/tents/{identifier}
4. Contact sync
- Create up to 25 contacts with
POST /v1/contacts - Update up to 25 contacts with
POST /v1/contacts/update - Delete up to 25 contacts with
POST /v1/contacts/deleteorDELETE /v1/contacts
Quickstart
Minimal create flow
Next Steps
Create Tents
Start a single tent from a prompt, template, or uploaded files.
Edit Tents
Queue a new generation for an existing tent.
Create Bulk Tents
Fan out one approved template across up to 25 items.
Read Analytics
Fetch tent-level or workspace-wide analytics.
Manage Contacts
Create, update, and delete contacts in batches.