v1

latestOpenAPI 3.0.1raw.githubusercontent.com2026-04-2099201202.6 KB
APIKeys

Create API Key

CLI:

agentmail api-keys create --name "My Key"
post/v0/api-keys

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.