List API keys
The API keys of the workspace, with what each may do and when it was last used.
/v1/api-keysQuery parameters
qstringText to search for. Only items that contain it are returned. Up to 40 characters.
limitintegerHow many items to return, from 1 to 100. Without it you get 25.
offsetintegerHow many items to skip. Use it with
limitto read the next page. Default:0.afterstringThe id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
beforestringThe id of the first item you have. The answer ends with the item just before it. Give this or
after, not both. Up to 64 characters.accessstringOnly keys with this access:
fullorsending.One of
fullsendingmodestringOnly keys in this mode:
liveortest.One of
livetest
Returns
object"list"Always
list.dataobject[]The items on this page.
data[].object"api_key"Always
api_key.data[].idstringThe id of the key.
data[].namestringThe name you gave the key.
data[].accessstringWhat the key may do:
fullfor everything,sendingfor sending email and nothing else.One of
fullsendingdata[].modestringlivefor a key that sends real email,testfor a key whose emails are simulated and reach nobody.One of
livetestdata[].previewstringThe start of the key, enough to recognise it.
data[].domainIdstring | nullThe id of the one domain a sending key may send from, or
nullwhen it may send from any.data[].domainstring | nullThe name of that domain, or
null.data[].lastUsedAtstring | nullWhen the key last made a request, or
nullif it never has.data[].createdAtstringWhen the key was made.
totalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.