Skip to main content
Every request acts for one workspace: it spends that workspace’s API credits and sees that workspace’s saved research and connected shops. Scripts use an API key, and AI assistants sign in with your Alura account.

API keys

Workspace owners and admins create keys in platform.alura.io, under Settings and then API keys. Send the key as a bearer token:
GET /v1/me is free. It returns the user, workspace, plan and scopes the key carries, which makes it a good first call to check a key. Keys start with alura_sk_ and end with a checksum, so secret scanners can spot one committed by mistake.

How keys behave

  • A key is bound to one workspace. You choose the workspace when you create the key, and it never changes. POST /v1/me/workspace with a key answers 403 workspace_locked. To work in another workspace, create a key there.
  • A key acts as the person who created it. It sees their private saved lists. It stops working when they leave the workspace or stop being an owner or admin.
  • Keys stay on the server. Never put a key in a browser, a web page or a URL. A request that sends a key from a browser is refused with 403 browser_refused. A key in a URL is refused too, because URLs end up in logs. Rotate any key that was exposed this way.
  • Rotating gives you a new key with the same name and scopes, acting as the person who rotated it. The old key keeps working for 24 hours so you can deploy the new one first. A key can be rotated once.
  • Revoking stops a key within a second.
  • 25 active keys is the most a workspace can have.
These docs never send requests, so there is nowhere on this site to paste a key.

MCP connections

AI assistants connect with OAuth. You sign in with your Alura account, see what the assistant asks for, and approve it. There is no key to copy. Connect an AI assistant has the steps for each client. A connection covers every workspace you belong to, with one current workspace at a time:
  • When you approve the connection, the current workspace is your active workspace in the app. If you are in more than one workspace, the approval screen lets you pick another.
  • Every call the assistant makes uses the current workspace. Switching workspaces in the Alura app does not change it.
  • If you are in more than one workspace, the assistant also gets two free tools. list_workspaces shows your workspaces and marks the current one. switch_workspace changes it, from the next call on, for every conversation that uses the connection. Users in a single workspace don’t see these tools.
  • The first time a connection switches into a workspace, Alura emails that workspace’s owners.
  • If you are removed from the current workspace, calls answer 403 workspace_required until the assistant switches to another one.
OAuth access tokens work only on the MCP endpoint. REST takes API keys. Over REST, GET /v1/me/workspaces lists the key’s one workspace.

Scopes

A new key gets full access unless you name scopes: every scope above, and any scope added later. Name scopes ("scopes": ["research:read", "usage:read"]) to limit a key; it then keeps exactly that list. listings:write, shop:write, orders:write, ads:write, messages:write and reviews:write change your live Etsy shop, so give them only to keys that need them. A call without the scope it needs answers 403 insufficient_scope. An AI assistant sees only the tools its connection’s scopes allow.