Error
API Keys
Create API Key
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.
POST
Error
Documentation Index
Fetch the complete documentation index at: https://docs.naturalead.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer token using an API key (format nl_live_* or nl_test_*)
Body
application/json
Human-readable name for the key
Example:
"Production CRM sync"
RBAC permissions to grant to this key. Must be a subset of the creator's own permissions.
Example:
[
"leads:view",
"leads:import",
"conversations:view"
]
Key environment (affects key prefix nl_live_ or nl_test_)
Available options:
live, test Optional expiration date (must be in the future)