Trivian / docsAPI v1
DOCS / GETTING STARTED

Build something dependable.

Clear primitives, predictable responses, and practical guides for taking an idea from first request to production.

From zero to first request

Connect to Trivian in three small steps. The same request model works across every supported resource.

01

Create a workspace

Choose a clear environment for your integration.

02

Issue a token

Keep credentials scoped and outside source control.

03

Send a request

Use one consistent endpoint and inspect the result.

Your first request

Send structured input and receive a stable JSON response with an explicit identifier and state.

TerminalCopy
curl frged.trivian.pw/v1/tasks \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"first-task","mode":"safe"}'

Predictable by default

Successful calls return a resource, timestamps, and a state you can safely use in your application.

Errors use stable codes and actionable messages. Retrying is only recommended when a response explicitly marks the request as retryable.

Use the tools you know

Reference patterns are portable across shells and common server-side environments.

Limits are reported with each response so your integration can adjust before capacity is exhausted.