GET
/
api-keys
TypeScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: 'My API Key',
});

// Automatically fetches more pages as needed.
for await (const apiKeyListResponse of client.apiKeys.list()) {
  console.log(apiKeyListResponse.id);
}
{
  "data": [
    {
      "id": "apk_01jnx372zj49s3zqnn7ew8hzpk",
      "org_id": "org_01jh6jk82zjq9deye73h0mzcaq",
      "apikey_truncated": "GGvLoL",
      "name": "My API key",
      "status": "enabled",
      "user_id": "user_01jh6jk831bzen14edngw38we9",
      "created_at": "2025-03-09T09:19:13.394Z",
      "modified_at": "2025-03-09T09:19:13.394Z",
      "region": "eu-west-1",
      "kind": "api-key"
    }
  ],
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>

Query Parameters

limit
number
default:10

The number of emails to return

Required range: 1 <= x <= 30
cursor
string

The cursor to use for pagination

Response

200
application/json

A successful response

The response is of type object.