kittycad.api.meta.internal_get_api_token_for_discord_user.asyncio

async kittycad.api.meta.internal_get_api_token_for_discord_user.asyncio(discord_id, *, client)[source][source]

This endpoint allows us to run API calls from our discord bot on behalf of a user. The user must have a discord account linked to their KittyCAD Account via oauth2 for this to work. You must be a KittyCAD employee to use this endpoint.

Return type:

Union[ApiToken, Error, None]