Skip to content

List domain keys

Request

List all domain keys for your domain, including active/inactive and valid/invalid ones.

Security
basicAuth
Path
authority_namestringrequired

The domain authority name you want to list the domain keys for. Must be a valid domain

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v4/domains/{authority_name}/keys'

Responses

A 200 response

Bodyapplication/json
itemsArray of anyrequired
Response
{ "items": [ {}, {} ] }