---
updatedAt: 2025-06-04T20:05:22.000Z
agentTools:
  projectIndex: https://developers.plugg.to/llms.txt
---

# Authentication API

## Instructions

You can authenticate in two ways Authentication By Password or Authentication by authorization\_code.

The two types of authentication have the same permissions, the only difference being that Authentication By Password will not have an interface in Plugg.to, while Authentication by authorization\_code may have an interface for authorization or user configuration.

> 🚧 We recommend that you have only one type of authentication!

## Rules:

* The returned **access\_token** expires in 1 hour and therefore you must do the API authentication process again.
* The **refresh\_token** can be used to redeem the access\_token, it expires after use.