Skip to Content
IB

Get a token for direct IB API calls

Returns a short-lived JWT (ES256, `aud=ib`) the frontend sends to the IB API (`/srvsz/ib/v1`) directly, without the B2Core proxy. IB verifies it against `/.well-known/jwks.json` and checks that the requested IB user belongs to the client in `sub`. Available only when the tenant has IB enabled with an IB token signing key (`IB_AUTH_KEYS`) and the client has at least one IB user.

POST
/api/v2/my/ib/token

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/my/ib/token"
{  "data": {    "token": "string",    "expiresAt": "2019-08-24T14:15:22Z"  }}