API Keys are sensitive credentials. Store them securely and never expose them in client-side code.
Returns
List of newly created API tokens. See ApiToken.Show View fields (ApiToken, each element)
JWT used in the Authorization: Bearer token header.
Expiration time of the token (ISO 8601 format).
Maximum number of allowed request units before rate limiting applies.
Approximate number of remaining request units.
Arguments
Show CreateApiTokensInput
Number of tokens to create (default: 1).
Maximum request units per token (e.g. “1000”).
Token lifetime in seconds (e.g. 86400 = 24 hours).
Example
mutation CreateApiTokens($input: CreateApiTokensInput) {
createApiTokens(input: $input) {
id
token
expiresTimeString
requestLimit
remaining
}
}
Playground