Start

Getting started

Create a credential, verify access, create a draft, schedule it, and inspect delivery.

Reviewed November 3, 2026·AI-readable

Before you begin

  • Connect at least one social account in Trovv.
  • Open Settings → Developer API and create a credential.
  • Grant workspace:read, accounts:read, posts:read, posts:write, and posts:schedule.
  • Save the credential when it is shown. Trovv stores only a hash and cannot reveal it again.

1. Find a delivery target

bash
curl https://app.trovv.io/api/v1/accounts \
  -H "Authorization: Bearer $TROVV_API_KEY"

2. Create a draft

bash
curl -X POST https://app.trovv.io/api/v1/posts \
  -H "Authorization: Bearer $TROVV_API_KEY" \
  -H "Idempotency-Key: launch-draft-001" \
  -H "Content-Type: application/json" \
  -d '{"text":"Launch day","delivery":"draft","targets":[{"accountId":"ACCOUNT_ID"}]}'

3. Schedule the draft

bash
curl -X POST https://app.trovv.io/api/v1/posts/POST_ID/schedule \
  -H "Authorization: Bearer $TROVV_API_KEY" \
  -H "Idempotency-Key: launch-schedule-001" \
  -H "Content-Type: application/json" \
  -d '{"scheduledAt":"2026-11-05T14:00:00Z","scheduleTimezone":"UTC"}'

4. Verify delivery

Read the post and its attempts after the scheduled instant. A successful HTTP request means Trovv accepted the command; provider delivery is represented by each target and attempt.

bash
curl https://app.trovv.io/api/v1/posts/POST_ID/attempts -H "Authorization: Bearer $TROVV_API_KEY"

Next steps

  • Upload media and use its ID in post.media.
  • Register a webhook for post.published and post.failed.
  • Use OAuth instead of API keys for a multi-user application.
  • Connect an MCP client for tool-based access.

Was this page helpful?