Skip to content

Authentication

Tasks require an access token. You can use either:

  • A personal access token — created in the user settings menu
  • A scoped access token — created at the organization, group, or project level

The token is resolved from:

  1. accessToken option passed to createTask()
  2. REQUENCE_ACCESS_TOKEN environment variable
  3. requence.accessToken in package.json
Terminal window
REQUENCE_ACCESS_TOKEN=your-token node index.js