Skip to main content
Version: Latest

Authentication

To use the Massed Compute API, you need to authenticate your requests. We support two methods of authentication:

Bearer Token Authentication

Alternatively, you can use your API key as a bearer token:

Authorization: Bearer <api_key>

Obtaining an API Key

To get an API key:

Contact our support team and request an API key.

Remember to keep your API key secure and never share it publicly. If you believe your key has been compromised, Contact our support team and request a new API key.

Using Your API Key

Include your API key in the header of every request to the Massed Compute API. Here's an example using curl:

curl -H "Authorization: Bearer YOUR_API_KEY" https://api.massedcompute.com

Replace YOUR_API_KEY with your actual API key.

Best Practices

Never hardcode your API key directly into your application code Use environment variables or secure secret management systems to store your API key Rotate your API keys periodically for enhanced security Use different API keys for different environments (development, staging, production)

If you encounter any authentication issues, please contact our support team for assistance.