:PROPERTIES: :ID: 7d934841-a145-4833-8389-18ba449a6de7 :END: #+title: Retrieve Tokens for AI Assistant #+Author: Yann Esposito #+Date: [2024-02-09] - tags :: - source :: * TL;DR 1. Call =/iroh/oauth2/custom/tokens= with body =client_id=client-ai-assistant= and the user JWT as bearer token in the Authorization header. 2. From there you could use the access token to call the AI Assistant API. * Working Example