Skip to main content

Documentation Index

Fetch the complete documentation index at: https://dev.1st.app/llms.txt

Use this file to discover all available pages before exploring further.

HTTP status: 401

Message

Missing Authorization header. Add Authorization: Bearer 1st_sk_<key_id>.<secret> to your request.

Common cause

The request reached the API without an Authorization header. Typical causes:
  • Forgot to add the header in your HTTP client.
  • The env var holding your key is empty at request time (set in one shell, running in another).
  • A proxy or CDN stripped the header on the way in.

Fix

Add the header:
curl -H "Authorization: Bearer $ST_API_KEY" \
  "https://api.1st.app/v1/sensors"
If you’re using a higher-level client, verify Authorization is set on the final outbound request — log the request headers to confirm.