Access Token
Exchange credentials for a JWT access token.
Accepts either:
client_id+secret(classic API token flow)project_key: a Streamkap Project Key credential file (raw JSON or base64-encoded)
For project_key input, the API credentials are extracted from the bundle and used
to issue the JWT. Kafka-only Project Keys (no API credentials) cannot be exchanged
for a JWT.
POST
/auth/access-tokenRequest body
application/jsonclient_idstring | anyShow propertiesHide properties
Any of:
string
stringany
anysecretstring | anyShow propertiesHide properties
Any of:
string
stringany
anyproject_keystring | anyShow propertiesHide properties
Any of:
string
stringany
anyResponses
200
Successful Response
expiresstringrequiredexpiresInintegerrequiredaccessTokenstringrequiredrefreshTokenstringrequired422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject