Rensei docs
API ReferenceWorker Protocol

Refresh expired runtime JWT

Refresh expired runtime JWT - Rensei REST API operation reference.

POST
/api/workers/{id}/refresh-token

Authorization

workerJwt
AuthorizationBearer <token>

Runtime JWT minted by the platform at worker registration. Three-segment dotted string. Claims include {jti, proj, org, sub (=workerId), reg, scope[]}. Use on all post-registration worker endpoints.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/workers/string/refresh-token"
{
  "runtimeToken": "string",
  "expiresAt": "2019-08-24T14:15:22Z"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}