Authentication

The credentials of each surface, how to create and protect an API key, and how a client connects with OAuth.

Each request to Netzo carries a credential. The credential says who acts and in which organization. Its permissions decide what that person or program can do: see Access.

Credentials

CredentialWho uses itSurfacesHow it is sent
SessionA signed-in personApp, WebMCP, CLIThe app keeps it. In the CLI: netzo login
API keyA program, an agent or a scriptAPI, MCP, CLIHeader x-api-key: <key>. In the CLI: variable NETZO_API_KEY
OAuthA client that acts for a personAPI, MCPHeader Authorization: Bearer <token>. The client gets it itself
Signing secretYour service, to check a webhookWebhooksNetzo signs; you check. See Webhooks
LinkSomeone outside your organizationPublic linksThe link itself, and a code if one is asked

A credential belongs to one organization only. Netzo takes the organization from the credential, never from the request.

API keys

Create a key in Administration → Integrations → API keys.

  • One role per key. Give each key a role with only what its program or agent needs. A key without a permission does not see that table or that action.
  • Shown once. Copy the key when you create it. Netzo keeps only its hash and cannot show it again.
  • Always expires. A key expires after 90 days if you choose no other date, and after 365 days at most. Create the new key before the old one expires.
  • Revoke at once. Delete a key you no longer use or that leaked: the next request with it fails.
  • Recorded. Each change made with a key goes in the activity log under its name. See Events.
Keep the key in a secrets manager or an environment variable, never in code or in a file of the repository.

OAuth

A client that supports OAuth, such as an AI assistant with MCP, connects with the server address alone (https://app.netzo.ai/mcp). It finds how to authenticate, opens the Netzo sign-in, and the person approves the access. From then on, the client acts with the permissions of that person. See MCP.

UseWhen
OAuthThe agent works for a person and must see only what that person sees
API keyThe agent or program works on its own, with its own role, for example an integration or a nightly job

CLI

netzo login opens the browser so you sign in as yourself. With no browser, as in CI, set NETZO_API_KEY. See CLI.