Overview

To integrate Orthogramic with your application, you need an API token to authenticate requests. This guide walks you through generating and managing your API token securely.

API keys (2).png

Generate a New API Token

  1. Click the Add token button.

  2. Select the scope of your token:

    1. Organization: All business architecture data for the organization

    2. Document: Only the selected document

  3. Select the access of your token:

  4. Click Generate token.

Create an API key (3).png

Your new API token will be displayed. Copy and securely store it, as it will only be shown once.

Secure Your API Token

Example environment variable usage:

ORTHOGRAMIC_API_TOKEN=your-secure-token

Using Your API Token

Include the token in the Authorization header of your API requests:

curl -X GET "https://api.orthogramic.com/mindmap/12345" \
     -H "Authorization: Bearer YOUR_API_TOKEN"

Example using JavaScript (fetch API):

fetch("https://api.orthogramic.com/mindmap/12345", {
  method: "GET",
  headers: {
    "Authorization": `Bearer ${process.env.ORTHOGRAMIC_API_TOKEN}`
  }
})
.then(response => response.json())
.then(data => console.log(data));

Managing API Tokens

Need Help?

If you experience issues generating or using your API token, please contact support@orthogramic.com.