Creates a new API key for the current account. The full key is returned
only once in the response and is never stored or retrievable again.
The key creator can only grant scopes (permissions) that they themselves hold.
Requires api_keys:manage permission.
Bearer token using an API key (format nl_live_* or nl_test_*)
Human-readable name for the key
"Production CRM sync"
RBAC permissions to grant to this key. Must be a subset of the creator's own permissions.
[
"leads:view",
"leads:import",
"conversations:view"
]
Key environment (affects key prefix nl_live_ or nl_test_)
live, test Optional expiration date (must be in the future)