Docs/API Reference/API Authentication

    API Authentication

    Authenticate with the Planino API.

    API Keys

    Generate API keys in Settings > API. Each key has specific permissions.

    bash
    # Include your API key in request headers
    curl -H "Authorization: Bearer YOUR_API_KEY" \
         https://api.planino.studio/v1/projects
    Never expose API keys in client-side code or public repositories.

    OAuth 2.0

    For user-based authentication, use OAuth 2.0:

    javascript
    const authUrl = `https://planino.studio/oauth/authorize?
      client_id=YOUR_CLIENT_ID&
      redirect_uri=YOUR_REDIRECT_URI&
      response_type=code&
      scope=read write`;

    Was this page helpful?