https://api.us.nylas.com/v3/admin/applications/{application_id}/api-keysCreate API keyBeta
Creates an API key for the specified Nylas application.
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.
Header parameters
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.
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.
nameA short, descriptive name for the API key. Nylas trims leading and trailing spaces, and the
trimmed name must be 1 to 256 characters long. The name must be unique within the
application. If you omit name or send an empty string, Nylas generates a name in the
format APIKey <application_id> <UTC date and time>.