Generating API Credentials
To use our API, you must first generate API credentials. These credentials (your API Key and Customer ID) are required for authentication and must be included in the headers of every API request to ensure security.
Generate API Credentials
- 
      
Log In
Access your account on the magicplan Cloud. Ensure you have the necessary permissions to manage API credentials*. - 
      
Navigate to the API & Integrations Page
- 
          
Once logged in, locate the menu on the left-hand side.
 - 
          
Click on API & Integrations Page
 
 - 
          
 - 
      
Generate API Credentials
- 
          
Follow the instructions on the page to generate your
API KeyandCustomer ID. - 
          
⚠️ Important: Safeguard these credentials; they will be required for all API interactions.
- 
              
Never commit your
API KeyandCustomer IDto a public repository. - 
              
Store them in environment variables or a secure secret management service.
 
 - 
              
 
 - 
          
 
Rotate API Key
Rotating your API keys helps maintain security hygiene, ensuring that in case a key is ever compromised, it won’t pose a long-term risk. If you need to rotate your API keys:
- 
      
Return to the API & Integrations Page on the magicplan Cloud.
 - 
      
Follow the prompts to generate a new key.
 - 
      
Update all your systems and integrations with the new key immediately to avoid disruptions.