Skip to main content

v1 API, full write coverage

NewAPI

The trackagoat API now supports writes across every resource, not just payouts and annotations.

New write endpoints (all require Authorization: Bearer tga_<key> with the write scope):

  • Creators. Add (single or bulk up to 50), update, soft-delete, trigger scrape, bulk re-enable/remove
  • Videos. Add (single or bulk up to 50), update, hard-delete, trigger scrape, toggle tracking, bulk tracking operations
  • Campaigns: create, update, delete, add/remove items
  • Projects: create, update, inbox approve/exclude
  • Goals: create, update, delete
  • Organizations: create org, manage members and invitations, issue/revoke API keys
  • Payouts: receipt upload URL (structure/method/payment/accrual CRUD was already available)
  • Admin: platform-admin endpoints for creator management, limit overrides, plan tiers, user bans, scrape jobs (require admin scope)

New safeguards on all write calls:

  • Scopes, keys now have explicit read, write, and admin scopes (existing keys grandfathered to read + write)
  • Idempotency. Send Idempotency-Key on POSTs; replays return the cached response for 24 h
  • Audit log: every write is recorded in api_audit_log. There is no in-app view of the log.

OpenAPI spec: GET /api/v1/openapi.json: import into Postman, Insomnia, or any OpenAPI-compatible tool. (v1 was retired on 2026-07-16; see API v2.)