Generate API Key Node icon

Generate API Key Node

Generates a new API key for the authenticated user

Overview

This node generates a new API key for the authenticated user. It is useful in scenarios where users need to programmatically obtain an API key to access various services or perform automated tasks securely. For example, it can be used to generate keys for accessing applicant data, job offers, agents, analytics, and other system functionalities.

Use Case Examples

  1. Automating the generation of API keys for new users in a system.
  2. Creating API keys with specific permissions for integration with third-party applications.

Output

JSON

  • apiKey - The newly generated API key for the authenticated user.

Dependencies

  • Requires an API key credential for user authentication to generate the API key.

Troubleshooting

  • Ensure the user credentials provided are valid and have the necessary permissions to generate an API key.
  • Check network connectivity to the API endpoint https://api.mona-ai.cloud/auth/generateApiKey.
  • Verify that the request body parameters match the expected permissions and user ID format.

Links

Discussion