Gridea Docs

Gridea Docs

Open API

Learn how to use Open API to create think card or read links.

Prerequisites

To get the most out of these API, you'll need to:

  • Get your API token. Click the Account → Account, from there you can view your API token.

Warning: API token give part of access to a Gridea account, Anyone with an API token can create think card, read link on that account.

Create Think Card/Note

POST: https://web.gridea.dev/api/v1/note --- Headers: Authorization: Bearer <Token> --- Body: { data: { markdown: "Hello" } }
POST: https://web.gridea.dev/api/v1/read --- Headers: Authorization: Bearer <Token> --- Body: { data: { url: "https://example.com" } }