---
title: "Load ApiKey"
method: GET
path: "/security/apikeys/{name}"
tags: ["Security"]
---

# Load ApiKey

`GET /security/apikeys/{name}`

Load your existing ApiKey info. Required Access Level: ViewAccessTokens

## Path parameters

- `name` string, string, required — string

## Query parameters

- `subaccount` string, string — string

## Response `200`

OK

- ApiKey — ApiKey info
  - `AccessLevel` AccessLevel[] — Access level or permission to be assigned to this ApiKey.
  - `Name` string, string — Name of the ApiKey.
  - `DateCreated` string, date-time — Date this ApiKey was created.
  - `LastUse` string, date-time, nullable — Date this ApiKey was last used.
  - `Expires` string, date-time, nullable — Date this ApiKey expires.
  - `RestrictAccessToIPRange` string[] — Which IPs can use this ApiKey

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
