Skip to main content

Use the API with Bruno

You can import the Bytes Developer API into Bruno from the OpenAPI specification.

What you need

  • A Bytes account
  • A workspace API key
  • Bruno installed locally
  • The Bytes OpenAPI specification file or URL
https://developer.jaww.ws/openapi/bytes-developer-api.openapi.yaml

Import the API

  1. Open Bruno.
  2. Create or open a collection.
  3. Import an OpenAPI specification.
  4. Use the OpenAPI URL above, or download the YAML file from the OpenAPI page and import the file.
  5. Save the imported requests.

Add environment values

Create or update a Bruno environment with:

VariableValue
base_urlhttps://api.jaww.ws/api/v1
bytes_api_keyYour workspace API key

Set authentication

Use bearer token authentication with:

{{bytes_api_key}}

The request should include:

Authorization: Bearer {{bytes_api_key}}

Try a request

Start with:

GET {{base_url}}/tags

Then create a safe test link once authentication is working.

Working with files

Bruno stores collections as files. Be careful not to commit real API keys in environment files.

Add any local secret environment files to your own ignore rules if needed.