To use our API you must first connect and authenticate. Whether you are creating a new account or already have an existing one, you will need to authenticate to get an access token.Documentation Index
Fetch the complete documentation index at: https://docs.plude.io/llms.txt
Use this file to discover all available pages before exploring further.
Strong security
Plude use PKCE (Proof Key for Code Exchange) to secure the authentication process. This is a security feature that prevents compromisation of your credentials.Code challenge flow
The code challenge flow is a two-step process:- You the client creates a
code verifierand a SHA-256code challengeencoded to BASE64. - You initiate the authentication process by including the
code challengeto the connect endpoint. - Once authenticated, you use the
code verifierto retrieve the access token.
Getting an access token
Begin your connection by using the connect endpoint.url parameter provided in the response to open a browser and sign in. Record the sessionId parameter for later use. Provide your credentials to sign in or click to create a new account.
To complete the authentication and authorization, use the sessionId parameter and retrieve your authentication token using session endpoint.
accessToken as a JWT bearer token for subsequent requests.
Refreshing the token
Every token is valid for 1 hour. Use the provided refresh token to retrieve a new authentication token. Refresh tokens are valid for 7 days.accessToken as a JWT bearer token for subsequent requests.
