List API keys
List the organization's API keys for the current environment, newest first. Each key is masked to prefix and last4; the plaintext and hash are never returned.
List the organization's API keys for the current environment, newest first. Each key is masked to prefix and last4; the plaintext and hash are never returned. revoked_at may be future-dated during a rotation grace window. Requires the manage:keys scope, which is a dashboard-session scope (owner or admin only) and cannot be granted to API keys today: every mf_ API key receives 403. Call this endpoint with a dashboard session token.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
The organization's API keys.
dataarray<object>requireddata.object"api_key"required"api_key"data.idstringrequireddata.namestringrequireddata.prefixstringrequiredFirst 12 characters of the plaintext.
data.last4stringrequiredLast 4 characters of the plaintext.
data.scopesarray<"send" | "read:emails" | "read:analytics" | "read:suppressions">requireddata.environment"live" | "test"required"live" | "test"data.domain_idstringrequireddata.last_used_atstring<date-time>requireddata.created_atstring<date-time>requireddata.revoked_atstring<date-time>requiredMay be future-dated during a rotation grace window.