API Reference
Complete REST API documentation for URI Social SDK. All endpoints use JSON for requests and responses.
https://api.urisocial.comThis is the SDK's default base URL — all requests must be made over HTTPS. You can override it via the baseUrl (JS) / base_url (Python) client option if needed.
curl https://api.urisocial.com/api/v1/content \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json"
Content Endpoints
The core content-generation endpoints, shown here as the SDK's client.content resource calls them.
/api/v1/content/generate/api/v1/content/{id}/api/v1/content/api/v1/content/{id}Video Editing Endpoints
The production, Submagic, and ZapCap endpoints below are shown here as the SDK's client.video resource calls them. Uploads are sent as multipart/form-data, not JSON.
Billing: produce-video, submagic-produce, and zapcap-produce are charged ceil(duration_seconds / 60) × credits_per_minute — charged before the job is submitted for processing, and refunded automatically if the job later fails (not for bad uploads). The rate is admin-configurable, not a fixed constant — always read it from GET /social-media/video-editing/pricing rather than hard-coding it. Every produce response includes a billing object with the exact charge.
/social-media/video-editing/pricing/social-media/produce-video/social-media/produce-video-job/{job_id}/social-media/produce-video-job/{job_id}/start-render/social-media/submagic-produce/social-media/submagic-job/{job_id}/social-media/zapcap-produce/social-media/zapcap-job/{job_id}SDK Resources
Beyond content generation, the SDK exposes these resources as client.<resource> (JS/TS) or client.<resource> (Python, snake_case) — each maps to its own set of REST endpoints under the hood.
client.contentGenerate, fetch, list, and delete AI-generated social content (shown above)
client.draftsManage saved content drafts before publishing
client.imagesGenerate standalone images
client.connectionsConnect and manage linked social media accounts
client.publishingPublish drafts to connected platforms, scheduled or immediate
client.brandProfileManage brand voice/profile settings used during generation
client.analyticsRetrieve performance analytics for published content
client.calendarContent planning and scheduling calendar
client.videoProduce, caption (Submagic/ZapCap), edit, and polish video, plus the AI storyboard/Veo generation pipeline and video drafts — see Video Editing Endpoints below
client.blogLong-form blog content generation
client.autoGenerateAutomated recurring content generation
client.workspacesMulti-tenant workspace management (since v2.0.0)
client.clientsMulti-tenant client/organization management (since v2.0.0)
client.agencyMulti-brand agency management (since v3.0.0)
client.customGuidesVisual brand guide management (since v3.0.0)
client.canvasEditorLayered document/canvas editing (since v3.0.0)
client.utilsMiscellaneous helper operations
Requests are throttled hourly and daily by plan, and AI-generation actions also draw down a monthly credit quota. See the Rate Limiting page for the full breakdown by tier.
Rate limit information is included in response headers: X-RateLimit-Limit and X-RateLimit-Remaining
200OK - Request succeeded201Created - Resource created successfully400Bad Request - Invalid parameters401Unauthorized - Invalid or missing API key403Forbidden - Insufficient permissions404Not Found - Resource not found429Too Many Requests - Rate limit exceeded500Internal Server Error - Something went wrong