Skip to main content
Glama
generate-a-workspace-api-token.md940 B
--- outline: level: [2, 3, 4] --- # Create an API token for your workspace Click the Cog icon in the top right corner of the workspace, then select `Manage Workspace Tokens`. ![Manage Workspace Tokens](./generate-a-workspace-api-token/manage-workspace-tokens.png) Enter a `Token Name` and a value in the `Expiration` field, and click `Generate API Token`. The Expiration values should be provided like `1d`, `1w`, `1m`, `1y` or `24h`, `48h`, `72h` for example. ![Generate API Token](./generate-a-workspace-api-token/generate-api-token.png) Copy the generated token and save it somewhere safe. You will not be able to see it again. ![Copy API Token](./generate-a-workspace-api-token/api-token-generated.png) ## Get your Workspace ID To get your `Workspace Id`, view the URL in the browser address bar. The `Workspace Id` is the string of characters after `/w/`. ![Workspace ID](./generate-a-workspace-api-token/workspace-id.png)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server