← API reference
CANONICAL TYPE REFERENCE

CreateAPITokenPayload

Result of creating an API token

The created API token metadata

tokenString

The actual token string (only returned on creation)

Validation errors if operation failed

View exact SDL
"""Result of creating an API token"""
type CreateAPITokenPayload {
  """The created API token metadata"""
  apiToken: APITokenState
  """The actual token string (only returned on creation)"""
  token: String
  """Validation errors if operation failed"""
  errors: [FieldError!]!
}

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