Skip to main content

Before you start

You need two things from your Zivio administrator (or support@zivio.com):
  • An OAuth client — a client ID and client secret. Tell them which scopes your integration needs.
  • Your organisation identifier, sent as the zivio-tenant-id header on every request. The regional API endpoints serve every Zivio organisation, so each request has to say which one it is for. See Identifying your organisation.
The client secret is shown once when the client is created. Store it somewhere secure; it cannot be retrieved again.
1

Exchange your credentials for an access token

Post your credentials to the token endpoint, listing the scopes you want as a space-separated string.
The response carries the token and its lifetime:
A 404 Tenant Unknown here means the zivio-tenant-id header is missing or wrong — it is checked before your credentials are.
Check the scope field in the response. You are granted the intersection of what you asked for and what your client is allowed — asking for more than you hold does not fail, it just returns less.
2

Confirm the token works

GET /welcome is the whoami endpoint. It tells you which user the token acts as and which scopes were granted, which makes it the right first call in any integration.
3

Make a real request

Send the token as a bearer token on every subsequent call.
This needs the projects:read scope. If you left it out of your token request you will get a 403 with error: insufficient_scope naming the scope you need.
4

Discover what you can filter

Every resource has a /help endpoint listing its filterable attributes, operators and enum values — no guesswork required.
See Filtering and pagination for the query syntax.

Next steps

Scopes

Pick the narrowest set your integration needs.

API Reference

Every endpoint, with a request playground.