SUB_.1MESUB_API_KEY=SUB_...
@mesub/node reads that variable by itself:123import { Mesub } from '@mesub/node'; const mesub = new Mesub(); // reads MESUB_API_KEY
@mesub/node mounts on
your server.12curl "https://api.mesub.io/v1/project" \ -H "Authorization: Bearer $MESUB_API_KEY"
200 with the project's id means the key is good:1{ "id": "cmufsl77w001ag2s6pp1ngf9p" }
| Status | Code | Meaning |
| 401 | missing_api_key | No Authorization: Bearer header was sent |
| 401 | invalid_api_key | Not a key Mesub issued, or one rotated since |
401.