Unscrambled curl
Make authenticated API calls without managing credentials locally
Unscrambled curl
unscrambled curl is a drop-in replacement for curl that automatically
injects your stored credentials based on the request URL. No Bearer tokens, no
API key headers, no .env files.
Basic usage
Unscrambled matches the URL domain to your stored credentials, injects the
appropriate Authorization header, and returns the response. JSON responses are
pretty-printed by default.
HTTP methods
Use -X to specify the HTTP method, just like curl:
Request headers
Add custom headers with -H:
The Authorization header is injected automatically — you don't need to include
it. If you do include one, it takes precedence over the stored credential.
Content-Type: application/json is added automatically when you use -d with
JSON content.
Request body
Use -d for request bodies:
Flags reference
| Flag | Description |
|---|---|
-X METHOD | HTTP method (GET, POST, PUT, DELETE, PATCH) |
-d DATA | Request body (string or @filename) |
-H "Key: Value" | Additional request header |
--verbose | Show request details including injected headers |
--raw | Skip credential injection (behaves like regular curl) |
--service NAME | Explicitly specify which credential to use |
--no-format | Disable JSON pretty-printing |
--output FILE | Write response body to a file |
-i | Include response headers in output |
Credential matching
Unscrambled matches the URL to your stored credentials using the domain:
| URL pattern | Matched service |
|---|---|
api.github.com/* | GitHub |
api.openai.com/* | OpenAI |
api.hubapi.com/* | HubSpot |
api.notion.com/* | Notion |
api.stripe.com/* | Stripe |
api.anthropic.com/* | Anthropic |
api.linear.app/* | Linear |
If a URL doesn't match any known service, use --service to specify:
Verbose mode
Use --verbose to see what Unscrambled is doing:
Credentials are masked in verbose output — only the first and last 4 characters are shown.
Examples
List GitHub repositories
Send a Slack message
Create a HubSpot contact
Chat with OpenAI
Query Stripe payments
Search Notion
Piping and scripting
unscrambled curl works with standard Unix pipes:
Request logging
Every unscrambled curl call is logged (with encrypted request/response data)
for debugging. View your recent requests: