Skip to content
Skip to main content
GET
https://api.us.nylas.com/v3/admin/applications/{application_id}/api-keys

Get all API keysBeta

⚠️ Before you can use the Manage API Keys endpoints, you need to create a Nylas Service Account.

Returns a list of API keys associated with the specified Nylas application. The response includes up to 100 keys and isn't paginated. It never includes the secret key value, which Nylas only returns when you create a key.

Authenticate with the X-Nylas-Signature, X-Nylas-Kid, X-Nylas-Nonce, and X-Nylas-Timestamp headers only. Don't send an Authorization header.

No authentication needed.

Parameters

Path parameters

application_id*string

ID of the Nylas application to access.

Header parameters

X-Nylas-Signature*string

A Base64-encoded signature using your private key's RSA with a 2048-bit key and an SHA-256 hashed string of the path, method, timestamp, nonce, and payload.

X-Nylas-Kid*string

The private_key_id from your Service Account JSON file.

X-Nylas-Nonce*string

A randomly generated nonce. Each request needs to have a unique nonce. If you try to reuse a nonce, Nylas rejects the request. For Create API key requests, the nonce must be 16 to 20 characters long.

X-Nylas-Timestamp*integer

The time when you submit your request, in seconds using the Unix timestamp format. This timestamp should fall within a 5-minute window of your real request time. The value must be a whole number.

Responses

request_idstring

The request ID.

dataarray<object>
GEThttps://api.us.nylas.com/v3/admin/applications/{application_id}/api-keys
application_idrequiredstring

ID of the Nylas application to access.