Alloy API
- URL
-
https://sandbox.alloy.co/v1 - Docs
- https://developer.alloy.com/public/reference
Authorization: Basic <credential> In the Alloy dashboard, go to Roles > Settings > API Keys and create a new API key. The docs say your role needs permissions to view API keys and create new API keys. Alloy issues a token and one or more secret values for that key; use them directly for HTTP Basic auth or as the client credentials for OAuth 2.0 client-credentials. See Account-Level API Keys and Authentication Guide.
Authorization: Bearer <credential> First create an Alloy API token and secret from Account-Level API Keys. Then exchange them with the client-credentials flow by POSTing to https://sandbox.alloy.co/v1/oauth/bearer with grant_type=client_credentials and HTTP Basic auth using token:secret. The returned bearer token is valid for one hour and is then sent as Authorization: Bearer <bearer_token>. See Authentication Guide.