Taskade API
TaskadeChangelogDocumentation
  • Introduction
  • 👋Getting Started
    • Personal Tokens
    • OAuth 2.0 Authentication
  • 🤖TaskOS (Coming Soon)
    • Introduction
  • ⚙️API reference
    • Workspaces
      • Get Workspaces
      • Get Projects
      • Get Folders
    • Folders
      • Get Folder Projects
      • Generate Agent in Folder
      • Create Agent in Folder
      • Get Folder Agents
      • Get Folder Medias
      • Get Folder Project Templates
    • Projects
      • Get Project
      • Complete Project
      • Restore Project
      • Copy Project
      • Create Project
      • Create From Template
      • Get Project Members
      • Get Project Fields
      • Get Project Tasks
      • Get Project Block
      • Get Share Link
      • Update Share Link
    • Tasks
      • Create Task
      • Get Task
      • Update Task
      • Move Task
      • Complete Task
      • Uncomplete Task
      • Delete Task
      • Get Task Assignees
      • Update Task Assignees
      • Delete Task Assignees
      • Get Task Date
      • Update Task Date
      • Delete Task Date
      • Get Task Note
      • Update Task Note
      • Delete Task Note
      • Get Task Field
      • Update Task Field
      • Delete Task Field
    • Agents
      • Get Agent
      • Delete Agent
      • Update Agent
      • Get Public Agent
      • Update Public Agent
      • Update Agent Public Access
      • Add Project to Knowledge
      • Add Media to Knowledge
      • Remove Project from Knowledge
      • Remove Media from Knowledge
      • Get Conversations
      • Get Conversation
      • Inbound Webhooks
    • Media
      • Get Media
      • Delete Media
    • Me
      • Get Projects
    • Specifications
  • 🔗Links
    • Taskade
    • Changelog
    • Documentation
    • Community Forum
Powered by GitBook
On this page
  • Overview
  • Endpoint URLs
  • Steps to Set Up and Use OAuth 2.0:
  1. Getting Started

OAuth 2.0 Authentication

PreviousPersonal TokensNextIntroduction

Last updated 1 year ago

Authentication is a crucial aspect of ensuring the security and integrity of your interactions with our API. We provide two distinct methods for authentication: Personal Access Tokens and OAuth 2.0. This guide is designed to assist you in understanding and implementing OAuth 2.0.

Overview

OAuth 2.0 is a widely-recognized protocol for authorization that enables third-party applications to obtain limited access to user accounts on an HTTP service. It's suitable for scenarios where you want to authorize applications to act on behalf of users or when you want more granular access controls.

Endpoint URLs

  • Authorization URL:

  • Access Token URL:

  • Refresh Token URL:

Steps to Set Up and Use OAuth 2.0:

  1. Register Your Application:

    • Navigate to https://taskade.com/settings/password and scroll down to OAuth 2.0 Apps.

    • Provide the necessary details about your application to obtain client credentials (i.e., Client ID and Client Secret).

  2. Implement the OAuth 2.0 Flow:

    • Depending on your application's needs, you might opt for one of the standard OAuth 2.0 flows: Authorization Code, Implicit, Client Credentials, or Resource Owner Password.

    • Redirect users to the provided authorization URL, where they'll grant your application permissions.

  3. Obtain Access Tokens:

    • After receiving an authorization grant from the user, exchange it for an access token by making a request to our token endpoint.

  4. Using the Access Token in API Requests:

    • With the obtained access token, include it in the header of your API requests. Typically, this is done using the Authorization header. For example:

      Authorization: Bearer YOUR_OAUTH2_ACCESS_TOKEN
  5. Token Refresh & Expiry:

    • Access tokens obtained via OAuth 2.0 have a limited lifespan. Depending on our platform's configuration, you might need to periodically refresh these tokens. Ensure you handle token expiry and refresh scenarios in your application.

Note:

It's essential to follow best practices when implementing OAuth 2.0, especially when handling client secrets and redirect URIs, to ensure the security of your application and user data.

👋
https://www.taskade.com/oauth2/authorize
https://www.taskade.com/oauth2/token
https://www.taskade.com/oauth2/token