Generate API token
POST
Generates a new JWT token for API authentication. The generated token has the "api" audience and can be used for gRPC/HTTP API calls.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
Response containing a newly generated API authentication token.
application/json- response
Response containing a newly generated API authentication token.
token*stringA JWT token with "api" audience that can be used to authenticate gRPC/HTTP API requests. This token should be included in the Authorization header for subsequent API calls.
curl -X POST 'http://127.0.0.1:38765/v1/client/tokens/api:generate'Example Response
{
"token": "string"
}Was this page helpful?
