Developer API
The same operations, over HTTP.
What the app and the assistant do, your own code can do through a versioned REST API, under the same permissions, plan limits and publication states.
API reference(opens in a new tab)Contact the team
API documentation is published for reference. Public account registration and API key issuance are not available in Release A.
Requests
Publish, schedule, then read the state.
A publication is a post frozen for one channel. Scheduling returns one per channel, each with its own state.
curl -X POST \
"https://api.viralsync.io/v1/organizations/{organization}/brands/{brandId}/posts/{postId}/publications" \
-H "Authorization: Bearer vsk_…" \
-H "Idempotency-Key: autumn-teaser-schedule" \
-H "Content-Type: application/json" \
-d '{ "mode": "schedule", "scheduledAt": "2026-10-16T16:00:00Z" }'curl -X POST \
"https://api.viralsync.io/v1/organizations/{organization}/brands/{brandId}/posts/{postId}/publications" \
-H "Authorization: Bearer vsk_…" \
-H "Content-Type: application/json" \
-d '{ "mode": "now", "channelIds": ["ch_…"] }'curl "https://api.viralsync.io/v1/organizations/{organization}/brands/{brandId}/publications/{publicationId}" \
-H "Authorization: Bearer vsk_…"Keys and scopes
A key does what its scopes say, and nothing else.
- brands.read
- channels.read
- assets.read
- assets.write
- posts.read
- posts.write
- publications.read
- publications.write
- analytics.read
- usage.read
- Keys belong to the organization
- An owner or admin creates a key, picks its scopes and can limit it to one brand. The secret is shown once and starts with vsk_.
- A write scope also reads
- A key with posts.write may read posts. A key never reaches members, billing or settings.
- Writes are safe to repeat
- Send an Idempotency-Key with a publish or schedule request. The same key returns the stored result instead of acting twice.
- Plans set the budget
- The number of keys and the monthly requests come from the organization's plan. Past the limit, the API answers with a named error.
- One reference
- Routes are declared with their schemas, and the OpenAPI 3.1 document is built from them.