Making requests to the Codex API
secret
, and short-lived
:
token
result as the apiKey when making further requests to the API, or subscribing with websockets.
token
is a JWT, so you must set the Authorization
header to Bearer <token>
. This is different from how secret keys work.Unauthorized
error like this.