Me

Generate a new API Key

Changed on

Returns the generated API Key for the account. Callers can create API keys with permissions as a subset of their current permissions.

post/v1/me/api-keys

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

account_idstring uuid nullable

Owning account ID.

Account-scoped endpoints populate this with the authenticated account.

descriptionstring nullable

API key description

expiryinteger nullable

Expiration time in seconds

namestring required

API key name

permissionsPermission[] required

List of permissions for this API key

Response

API Key Created

account_idstring uuid required

Owning account ID

created_atstring date-time required

Date of creation in database

descriptionstring nullable

API key description

expires_atstring date-time nullable

Date of expiration

idstring uuid required

Internal ID

keystring nullable

API key (only returned once on creation, save it securely as it cannot be retrieved)

namestring required

API key name

permissionsPermission[] required

List of permissions for this API key

Changes

    • info

      api operation id create_wallet_api_key removed and replaced with create_account_api_key

    • warning

      added the new read:account enum value to the / response property for the response status

    • warning

      added the new write:account enum value to the / response property for the response status

    • info

      added the new read:account enum value to the request property /

    • info

      added the new write:account enum value to the request property /