Skip to main content
POST
/
v1
/
workspaces
/
{workspace_id}
/
agent-keys
Issue an agent key for a zombie
curl --request POST \
  --url https://api.usezombie.com/v1/workspaces/{workspace_id}/agent-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "zombie_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>"
}
'
{
  "agent_id": "<string>",
  "key": "<string>",
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "zombie_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "created_at": 123,
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.usezombie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string<uuid>
required

UUIDv7 of the workspace.

Body

application/json
zombie_id
string<uuid>
required
name
string
required
Maximum string length: 64
description
string
Maximum string length: 256

Response

Created

agent_id
string
required
key
string
required

Raw zmb_ API key. Shown once — store securely.

workspace_id
string<uuid>
zombie_id
string<uuid>
name
string
created_at
integer<int64>
message
string