v34

latestOpenAPI 3.0.1raw.githubusercontent.com2026-07-21119235265.2 KB
PodsApiKeys

Create API Key

CLI:

agentmail pods:api-keys create --pod-id <pod_id> --name "My Key"
post/v0/pods/{pod_id}/api-keys

Path parameters

pod_idstring required

ID of pod.

Request body

namestring

Name of api key.

Response

api_key_idstring required

ID of api key.

api_keystring required

API key.

prefixstring required

Prefix of api key.

namestring required

Name of api key.

pod_idstring nullable

Pod ID the api key is scoped to.

inbox_idstring nullable

Inbox ID the api key is scoped to.

created_atstring date-time required

Time at which api key was created.