List API keys

Lists active keys. Tokens are never returned again.

GET/api-keys

The API key object

A key for the API and SMTP relay. Its token is only shown when it’s created.

  • idstring

    Unique ID of the API key.

  • namestring

    The name you gave it.

  • permissionstring

    full (every endpoint) or sending_access (only sending email).

  • created_atstring

    When it was created (ISO 8601, UTC).

  • last_used_atstring | null

    When it was last used, to the minute.

  • tokenstring

    Only in the create response: the secret key, starting with mv_.

Request

curl -X GET 'https://api.mailvina.com/api-keys' \
  -H 'Authorization: Bearer mv_xxxxxxxxx'

Response

{
  "object": "list",
  "data": [
    {
      "id": "b6d24b8e-af0b-4c3c-be0c-359bbd97381e",
      "name": "Production",
      "permission": "sending_access",
      "created_at": "2026-11-14T10:00:00.000Z",
      "last_used_at": "2026-11-14T10:00:00.000Z"
    }
  ]
}