Skip to main content

Getting Your API Token

  1. Log in to the Web App: Visit https://app.poesius.com and sign in
  2. Navigate to API Keys: Go to your account settings or API keys section
  3. Create an API Key:
    • Click “Create API Key”
    • Provide a name (e.g., “automation-key”)
    • Optionally add a description
    • Important: Copy the key immediately - it’s only shown once!

Authentication Methods

The API uses API keys for authentication. API keys are created and managed through the web app at https://app.poesius.com.

API Key Authentication

API keys are the recommended authentication method for all API requests. They provide secure, long-term access without requiring session management.

Using Authentication

REST API Example

MCP Example

MCP uses the same API key authentication:

Creating an API Key via API

If you already have a JWT token (from the web app), you can create an API key programmatically:
Response:
Important: Save the key value immediately - it’s only shown once and cannot be retrieved later!

Authentication Methods

The API supports multiple authentication methods:
This is the recommended method for programmatic access and automation.

2. JWT Bearer Token

JWT tokens are managed by the frontend web application. For programmatic access, use API keys instead.

3. OAuth 2.1 Bearer Token

OAuth authentication requires a visual login flow through the web platform. This is not suitable for headless automation as it requires user interaction with a browser.

Troubleshooting

If you receive an authentication error, verify:
  • Your API key is correct and active
  • The key is included in the request headers as X-API-Key
  • The API key hasn’t been revoked in the web app
API keys don’t expire automatically. You can revoke or create new keys anytime in the web app at https://app.poesius.com.
The API supports API keys, JWT tokens, and OAuth 2.1 tokens. API keys are recommended for automation, while OAuth is suitable for applications that can redirect users to login.