---
title: "Signing in to Ateliq as an agent"
description: "Which Ateliq surfaces need no key, and how an agent signs in to a brand's workspace with OAuth."
canonical: https://ateliq.co/auth.md
last-updated: 2026-12-04
---

# Signing in to Ateliq as an agent

Ateliq has two surfaces. Pick the one your task needs.

## Discover

| Surface | Address | Sign-in |
| --- | --- | --- |
| Public site API and MCP server | https://ateliq.co/api/v1 and https://ateliq.co/api/mcp | None. No key, no account. |
| A brand's workspace API and MCP server | https://app.ateliq.co/api/v1 and https://app.ateliq.co/api/mcp/workspace | OAuth 2.1 with PKCE, or an API key |

- Protected resource metadata (RFC 9728): https://ateliq.co/.well-known/oauth-protected-resource
- Authorization server metadata (RFC 8414): https://ateliq.co/.well-known/oauth-authorization-server (the issuer is https://app.ateliq.co)
- A request to the workspace MCP server without a token answers 401 with `WWW-Authenticate: Bearer resource_metadata="..."`, which names the same metadata.

## Pick a method

- **Nothing**, for the public surface: searching and reading ateliq.co, products, prices, the gold price and a demo request.
- **OAuth 2.1 authorization code with PKCE (S256)**, when a person who belongs to a workspace is present to approve. This is the usual path for an MCP client.
- **An API key**, for a server or a scheduled job: an admin of the workspace makes one in Settings, API & MCP at https://app.ateliq.co, and it is sent as `Authorization: Bearer <key>`.

Ateliq does not offer anonymous agent accounts, identity_assertion or service_auth (ID-JAG) sign-in, and publishes no agent_auth block yet. An agent acts for a person in a workspace, through OAuth, with that person's consent.

## Register

Register a client with dynamic client registration (RFC 7591) at https://app.ateliq.co/api/oauth/register. Public clients use token endpoint auth method `none` with PKCE.

## Claim

There is no separate claim step. The person signs in at https://app.ateliq.co/oauth/authorize, picks the workspace and the scopes, and approves.

## Exchange

Exchange the code at https://app.ateliq.co/api/oauth/token with the PKCE verifier. Grants: authorization_code and refresh_token.

Scopes: agents:read, agents:run, runs:read, approvals:read, approvals:decide, webhooks:manage, knowledge:read, knowledge:write, ops:triggers, tools:write, assist:run, collections:field, conversions:write, convexa:manage, convexa:sessions. Ask only for what the task needs; agents:read, agents:run and runs:read cover running an agent and reading its result.

## Use the access_token

Send `Authorization: Bearer <access_token>` to https://app.ateliq.co/api/v1 or https://app.ateliq.co/api/mcp/workspace. Every run is governed as it is inside Ateliq: the same knowledge, tools, autonomy level and approvals.

## Errors

- 401 with WWW-Authenticate: the token is missing, expired or revoked. Refresh it, or start again from Discover.
- 403: the token lacks the scope, or the person may not do this in the workspace. Ask for the scope named in the answer.
- 429: slow down and honour Retry-After.

## Revocation

Revoke a token at https://app.ateliq.co/api/oauth/revoke (RFC 7009). A workspace admin can also remove a connected app or an API key in Settings, API & MCP.

Questions: pb@ateliq.co
