Create or retrieve an authtoken for uplink connections
POST
/
uplink
/
token
JavaScript
Copy
Ask AI
import Smithery from '@smithery/api';const client = new Smithery({ apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted});const response = await client.uplink.createToken();console.log(response.authtoken);
import Smithery from '@smithery/api';const client = new Smithery({ apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted});const response = await client.uplink.createToken();console.log(response.authtoken);