get https://{instance}.response.lithium.com/api/v2/tokens/khorosapi/ownerId/
Return whether a JWT exists for an entity
Details
The first POST call to /tokens/khorosapi/ownerId/ownerId generates a JWT. A second POST request results in a 409 error. Make a GET call to /tokens/khorosaip/ownerId/{ownerId}
to check whether a token for the bot already exists.
Related endpoints
Action | Endpoint |
---|---|
POST | /tokens/khorosapi/ownerId/{ownerId} Generate a JWT token |
PUT | /bots/v3/tokens/appId/{appId} Refresh the JWT used to authenticate calls to the Bot v3 API |
DELETE | /bots/v3/tokens/appId/{appId} Invalidate the JWT used to authenticate calls to the Bot v3 API |