Skip to main content
GET
/
api-key
Test API Key
curl --request GET \
  --url https://api.brew.new/v1/api-key \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "teamName": "Apple"
}

Authorizations

Authorization
string
header
required

Include your Brew API key as a Bearer token in the Authorization header.

Example: Authorization: Bearer bw_api_your_key_here

Response

API key is valid and active

success
boolean
required

Indicates the API key is valid

Example:

true

teamName
string
required

The name of your Brew account

Example:

"Apple"

I