WayloAIWaylo Docs
API

Scopes

Give each API key only the access it needs.

A key's Access is Standard or Scoped. You choose it when you create the key, and it can't be changed later: create a new key instead. A rotation keeps it.

  • Standard holds every scope, including scopes added to Waylo later.
  • Scoped holds only the access you set per resource: None, Read or Write. Write includes Read.

Each operation in the reference names the scope it needs on its Access line, for example API key sessions:write. A key without it gets 403 FORBIDDEN.

The same scopes decide which tools a key gets on the MCP server.

Resources

Workspace resources belong to one workspace:

ResourceScopesCovers
Agentsagents:read, agents:writeAgents, drafts and versions. Listing an agent's tools or documents also needs tools:read or documents:read.
Sessionssessions:read, sessions:writeCalls, their events, items and deliveries. sessions:write starts web calls.
Transcriptstranscripts:readWhat was said on each call.
Ordersorders:readOrders captured on calls.
Catalogscatalogs:read, catalogs:writeCatalogs and their items.
Documentsdocuments:read, documents:writeKnowledge base documents.
Toolstools:read, tools:writeTools agents can call.
Credentialscredentials:read, credentials:writeSecrets that tools and destinations send.
Destinationsdestinations:read, destinations:writeWhere call results are sent.
Phone numbersphone_numbers:read, phone_numbers:writeNumbers and the agent each answers with.

Organization resources belong to the whole organization:

ResourceScopesCovers
Telephonytelephony:read, telephony:writeCarrier connections.
Provider keysprovider_keys:read, provider_keys:writeYour keys for AI providers.
Workspacesworkspaces:read, workspaces:writeWorkspaces in the organization.
Statsstats:readOrganization counts.

A workspace key can't hold organization resources, Standard or not.

Credentials

A credential's secret is sent wherever its tool or destination points. So a key needs credentials:write, besides the operation's own scope, to:

  • attach a credential to a tool or a destination;
  • change the configuration of a tool, or the URL of a destination, that has a credential;
  • discover an MCP tool's operations with a credential.

Removing a credential needs nothing extra.

Operations with no scope

GET /presets and GET /provider-catalog take any key: they list what agents can run on, not your data.

Dashboard only

No key reaches these, whatever its scopes:

  • members and their workspace access;
  • API keys;
  • the organization profile;
  • the activity log;
  • signing in and a person's own account.

Examples

ServerKey
A session endpoint for web callsWorkspace key, Scoped, Sessions: Write.
A job that exports ordersWorkspace key, Scoped, Orders: Read.
A reporting job across workspacesOrganization key, Scoped, Sessions: Read, Transcripts: Read, Stats: Read.
A deploy script that publishes agentsWorkspace key, Scoped, Agents: Write.

On this page