setting params[:token] with Devise

I'm trying to implement Devise but new to it.

When I request .../api/v1/projects.json, I get 'undefined method
admin? for nil:NilClass', which I'm assuming happens because
params[:token] is not being set. See below for code snippets -- does
anyone know how/where to set params[:token] with Devise?

class Api::V1::ProjectsController < Api::V1::BaseController
  def index