This Swagger UI documentation includes all available endpoints, request/response schemas, and allows you to try out API calls directly.
Authentication Methods
The External API supports two authentication methods:
1. API Keys
API keys are the simplest way to authenticate. Generate an API key from your AutoGPT Platform account settings and include it in your requests:
GET /external-api/v1/blocksX-API-Key:your_api_key_here
API keys are ideal for:
Server-to-server integrations
Personal scripts and automation
Backend services
2. OAuth 2.0 (Single Sign-On)
For applications that need to act on behalf of users, use OAuth 2.0. This allows users to authorize your application to access their AutoGPT resources.
OAuth is ideal for:
Third-party applications
"Sign in with AutoGPT" (SSO, Single Sign-On) functionality