← API reference
CANONICAL TYPE REFERENCE

CreateBotAPITokenInput

Input for creating an API token on behalf of a bot user

ID of the bot user that will own the token

nameString!

User-provided name for the token

Optional expiration date (ISO8601)

View exact SDL
"""Input for creating an API token on behalf of a bot user"""
input CreateBotAPITokenInput {
  """ID of the bot user that will own the token"""
  userId: UserID!
  """User-provided name for the token"""
  name: String!
  """Optional expiration date (ISO8601)"""
  expiresAt: ISO8601
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.