Create API Key
Changed onCreates a bearer key, or registers a public key when the body carries public_key. The route selects the scope. Bearer secrets are returned once.
CLI:
agentmail api-keys create --name "My Key"
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/api-keys
- AuthHTTP bearer
Request body
Response
Response with status 200
Changes
- breaking
the request's body type changed from
objectto no type - breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the request property
- warning
removed the request property
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
api-keysadded - info
api tag
ApiKeysremoved - info
request body became optional
- info
added to the request body
oneOflist - info
added the non-success response with the status
- breaking
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info