Skip to main content
POST
/
uplink
/
token
JavaScript
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);
{
  "authtoken": "2abcdefg_1a2b3c4d5e6f7g8h9i0j",
  "domain": "ngrok.smithery.ai"
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Response

Successful response

authtoken
string
required
Example:

"2abcdefg_1a2b3c4d5e6f7g8h9i0j"

domain
string
required
Example:

"ngrok.smithery.ai"