api-keys

Creates 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"
post/v0/api-keys

Request

  • Base URL
    https://api.agentmail.to
  • URL
    https://api.agentmail.to/v0/api-keys
  • Auth
    HTTP bearer

Request body

OR

Response

Response with status 200

OR

Changes

    • breaking

      the request's body type changed from object to no type

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to 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 Bearer was added to the API

    • info

      the endpoint scheme security BearerAuth was removed from the API

    • info

      api tag api-keys added

    • info

      api tag ApiKeys removed

    • info

      request body became optional

    • info

      added to the request body oneOf list

    • info

      added the non-success 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

      added the optional property to the response with the status