API referenceEndpointsApi keys
List API keys
Lists the team's active API keys, never their tokens.
Authorization
apiKey AuthorizationBearer <token>
An API key from the dashboard (ms_…), sent as Authorization: Bearer. A sending-only key reaches the /emails routes only.
In: header
Query Parameters
limit?integer
Page size, 1-100 (default 20)
Range
1 <= value <= 100after?string
Cursor: id of the last item of the previous page. Must be an id this list returned; there is no sentinel value.
Format
uuidbefore?string
Cursor: id of the first item of the next page (page backwards); same rule as after.
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api-keys"{ "object": "list", "data": [ { "id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c", "name": "Order updates", "created_at": "2026-10-19T12:00:00.000Z", "last_used_at": "2026-10-19T12:00:00.000Z" } ], "has_more": false}