Skip to main content
Codex home page
Search...
βK
API Documentation
GraphQL API Reference
Queries
Tokens
Pairs
Events
Wallets
Authentication
Balances
Community
Networks
Nfts
Webhooks
Mutations
Wallets
Authentication
createApiTokens
deleteApiToken
Balances
Webhooks
Subscriptions
Tokens
Pairs
Events
Launchpads
Balances
Nfts
Types
Object Types
Enums
Input Objects
Unions and Interfaces
Dashboard
Support
Codex home page
Search...
βK
Dashboard
Support
Search...
Navigation
Authentication
createApiTokens
Welcome
GraphQL Reference
Explore
Welcome
GraphQL Reference
Explore
Mutations
Authentication
createApiTokens
Copy page
Create a new set of short-lived api access tokens
Copy page
This endpoint requires a Growth or Enterprise plan.
Learn more
.
β
Returns
ApiToken
[ApiToken!]!
required
Show Properties
id
String!
required
Unique identifier for the token
token
String!
required
JWT to be passed into the Authorization header for API requests
expiresTimeString
String!
required
ISO time string for the expiry of the token
requestLimit
String!
required
Number of root fields this api token is allowed to resolve before itβs rate limited
remaining
String
Approximate number of remaining resolutions before this token is rate limited
β
Arguments
input
CreateApiTokensInput!
required
Show Properties
count
Int
Number of tokens to create, default is 1
requestLimit
String
Number of requests allowed per token, represented as a string, default is 5000
expiresIn
Int
Number of milliseconds until the token expires, defaults to 1 hour (3600000)
Was this page helpful?
Yes
No
Previous
deleteApiToken
Delete a single short-lived api access token by id
Next
βI
On this page
Returns
Arguments